mirror of
https://github.com/MoreTore/openpilot.git
synced 2026-08-03 08:41:47 +08:00
04af978260
* let can packer handle counter
* diff is expected
* update refs
* clean that up
* bump opendbc
* fix sim
old-commit-hash: 0ca62bf7df
8 lines
172 B
Python
8 lines
172 B
Python
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)
|