Team612 / 612-2017

Chantilly Robotics Team 612 robot code repository for 2017 game FIRST Steamworks
GNU General Public License v3.0
4 stars 4 forks source link

Make playback consistent at different battery voltages #89

Open WardBenjamin opened 7 years ago

WardBenjamin commented 7 years ago

Using the Talon SRX api, we can ensure that the SRXs act the same during playback at different battery voltages by limiting their output to 12v (during both recording and playback), and by using Voltage Compensation mode instead of Throttle mode. See page 64 of the SRX documentation for more information.

http://www.ctr-electronics.com/downloads/pdf/Talon%20SRX%20Software%20Reference%20Manual.pdf

Ahmad-Bamba commented 7 years ago

Oh nice, this is legit a great find!

Ahmad-Bamba commented 7 years ago

Shaun has recording and playback code ready to test, I have it implemented in master but unpushed

Alexbay218 commented 7 years ago

Close to being done Master is just bad right now (waiting on #105 and #103 ) Also, 60 file closing and opening operations per second is totally not going to break stuff (dev-reverse_playback)