Latest sensor schematic
Estop interrupt working
Added code to read andsave the state of the keyswitch input
Mostly working. Some hardware issues with the reverse switch are causing issues though.
Added extra checks for the reverse gear and also made it the last one checked to give park a chance to activate. However, should probably replace the actual switch to really fix the issue
Added code to get the gas and brake pedal state
Added normalization of brake and gas
Bare minimum test code for encoder is working. Ticks fire appropriately
Encoder tick counting is working
Added a hand calculated value for rads per ticks. Now displaying wheel position in terms of that
Flipped sign of encoder ticks. Also now printing the value of the wheel position in terms of revolutions
Updated the estop pin after neal changed it
Receiving the setpoints is working, however, if estopped then the sketch gets into a bad state
Sending and receiving to the two software interface python scripts work
Added some debug print statements.
Vibration motor control is working
basic position control is working
Changes to gear shift numbers to fix compatibility issues with John's code
Merge remote-tracking branch 'upstream/master'