You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
9 lines
192 B
9 lines
192 B
3 years ago
|
def create_control(packer, torque_l, torque_r):
|
||
|
can_bus = 0
|
||
|
|
||
|
values = {
|
||
|
"TORQUE_L": torque_l,
|
||
|
"TORQUE_R": torque_r,
|
||
|
}
|
||
|
return packer.make_can_msg("TORQUE_CMD", can_bus, values)
|