SJSURoboticsTeam / urc-teleoperation-2024

Primary user interface for 2024 URC Mars Rover
MIT License
2 stars 1 forks source link

CAN message translation module #25

Open ninaw04 opened 2 months ago

ninaw04 commented 2 months ago

Take json (or whatever format we grab from frontend) and turn into ready made CAN frames ASCII format defined here https://www.canusb.com/files/canusb_manual.pdf

tiiildd...\r

[explanation] t = standard can message command iii = hexadecimal message id l = length of the message (can be 0 to 8) dd... = 2 chars for each hex value in the message payload