body: add crc and counter (#24120)
	
		
	
				
					
				
			* add crc and counter for body * add msg * move counter * whitespace * .. * bump opendbc * update_refspull/214/head
							parent
							
								
									468f0efbef
								
							
						
					
					
						commit
						7df1c025ae
					
				
				 5 changed files with 13 additions and 7 deletions
			
			
		| @ -1 +1 @@ | ||||
| Subproject commit 08b1564ba9dac2d9748ab8610f90cf98cb581baa | ||||
| Subproject commit cc45cc1bc045a98d12ffdfd9923b23ead9638b87 | ||||
| @ -1,8 +1,9 @@ | ||||
| def create_control(packer, torque_l, torque_r): | ||||
| def create_control(packer, torque_l, torque_r, idx): | ||||
|   can_bus = 0 | ||||
| 
 | ||||
|   values = { | ||||
|     "TORQUE_L": torque_l, | ||||
|     "TORQUE_R": torque_r, | ||||
|   } | ||||
|   return packer.make_can_msg("TORQUE_CMD", can_bus, values) | ||||
| 
 | ||||
|   return packer.make_can_msg("TORQUE_CMD", can_bus, values, idx) | ||||
|  | ||||
| @ -1 +1 @@ | ||||
| f6c93d48d14fa7be45961f7325a7957f53126671 | ||||
| 594f0e291d2a9720c854f6d0f074b7734ed3c741 | ||||
					Loading…
					
					
				
		Reference in new issue