BinghamtonRover / Arm-Firmware

Arduino IDE sketches to run on a Teensy MCU and control the rover arm and gripper
https://binghamtonrover.github.io/arm-firmware/
2 stars 0 forks source link

8 add can #17

Closed sbrokal1 closed 1 year ago

sbrokal1 commented 2 years ago

Enable both sending and receiving of CAN messages from the Arm an Gripper.

Note that the technique for sending angles is as follows: x := original angle in radians, as a float

y = (uint16_t)( $\dfrac{x}{2\pi}*100000$ ) Then y is sent over can as 2 bytes (msb and lsb).