38 #define serialPort "/dev/ttyUSB0" 40 #define serialPort "/dev/ttyS0" int close_communication_robot(void)
Ferme la communication avec le robot.
Various constants used in destjil project.
int open_communication_robot(const char *path=serialPort)
Ouvre la communication avec le robot.
int send_command_to_robot(char cmd, const char *arg=NULL)
Envoi une commande au robot et attends sa réponse.