Parameter: angularmaxz: the max angular velocity command value,
unit rad/s, range 0-3
Return value: none
void set_
enable
_ctrl(uint16
t enable
flag)
Function: set up to enable the chassis to control the vehicle.
Parameter: enable_flag:
1 enable the vehicle control;
0 exit the vehicle control
Return value: none
void set_
smart
_car_
serial(const char * serial
no)
Function: set up the terminal name of serial port of host computer,
e.g. ttyUSB0.
Parameter: serial_no: terminal name of serial port, under the path
/dev/ by default, e.g. “ttyUSB0”
Return value: none