update CAN test

This commit is contained in:
Samuel Sadok
2021-09-03 16:35:21 +02:00
parent 68e5f1531c
commit bd80d18254
2 changed files with 2 additions and 2 deletions
+1 -1
View File
@@ -14,7 +14,7 @@ from test_runner import *
# Each argument is described as tuple (name, format, scale).
# Struct format codes: https://docs.python.org/2/library/struct.html
command_set = {
'heartbeat': (0x001, [('error', 'I', 1), ('current_state', 'I', 1)]), # tested
'heartbeat': (0x001, [('error', 'I', 1), ('current_state', 'B', 1), ('reserved', 'H', 1), ('controller_state', 'B', 1)]), # tested
'estop': (0x002, []), # tested
'get_motor_error': (0x003, [('motor_error', 'I', 1)]), # untested
'get_encoder_error': (0x004, [('encoder_error', 'I', 1)]), # untested
+1 -1
View File
@@ -26,7 +26,7 @@ components:
- type: odrive
name: odrive
board-version: v3.6-56V
serial-number: "20703595524B"
serial-number: "206839975453"
brake-resistance: 2.0
usb: auto
can: main_canbus