Skip to content
This repository has been archived by the owner on Jan 15, 2018. It is now read-only.

Physics wheel rotation #43

Open
CarterFendley opened this issue Feb 28, 2017 · 4 comments
Open

Physics wheel rotation #43

CarterFendley opened this issue Feb 28, 2017 · 4 comments

Comments

@CarterFendley
Copy link
Contributor

Currently to get the wheel rotation, we are looking at the nt value /SmartDashboard/drive/rr_module/degrees for each module. This is a poor way of doing it

You can calculate the wheel rotation in physics through the encoder value. This would be better, however because the wheels all have zeros in robot.py which cause the raw value calculated from the encoder to be incorrect. We need some way of getting the zero from each module into physics.

It would be a pain if we had to manually input it each time it changed

@ArchdukeTim
Copy link
Member

Get the zero from networktables?

@CarterFendley
Copy link
Contributor Author

The zero's are currently not being pushed.

If you would like to take this issue I would be happy. The reason I am putting them here is for dustin to know what we are doing. And no-one seems to look a trello.

@ArchdukeTim
Copy link
Member

Yeah for code github issues are nice. I'll take a look

@CarterFendley
Copy link
Contributor Author

Yea tello is nice because they have all the issues from all the repos in one place, but it seems it did not work with the team

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants