frc1418 / 2017-robot

:robot: Team 1418's FRC robot code for the 2017 season
MIT License
6 stars 4 forks source link

Physics wheel rotation #43

Open CarterFendley opened 7 years ago

CarterFendley commented 7 years ago

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 commented 7 years ago

Get the zero from networktables?

CarterFendley commented 7 years ago

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 commented 7 years ago

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

CarterFendley commented 7 years ago

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