clearpilot: initial commit of full source
This commit is contained in:
7
selfdrive/car/body/bodycan.py
Executable file
7
selfdrive/car/body/bodycan.py
Executable file
@@ -0,0 +1,7 @@
|
||||
def create_control(packer, torque_l, torque_r):
|
||||
values = {
|
||||
"TORQUE_L": torque_l,
|
||||
"TORQUE_R": torque_r,
|
||||
}
|
||||
|
||||
return packer.make_can_msg("TORQUE_CMD", 0, values)
|
||||
Reference in New Issue
Block a user