void set_comu_interface
(comu_choice_ecomu_choice
)
Function: Set up the communication interface between the host
computer and the chassis, including serial communication and CAN
communication
Parameter:
comu_choice
:
‘comu_serial’ Use a serial port for communication
‘comu_can’ Use a CAN port for communication
Return value: none
void set_
chassis
_load_
state(int16
t newLoadSet)
Function: set up the parameter of chassis control based on the
different chassis load.
Parameter: newLoadSet:
0: no-load parameter;
1: full load parameter
Return value: none