#include <stdio.h>#include <sys/termios.h>#include <sys/ioctl.h>#include <cstring>#include <unistd.h>#include <cstdlib>#include <time.h>#include <errno.h>#include <bitset>#include <math.h>#include <sys/types.h>#include <fcntl.h>#include "ros/ros.h"

Go to the source code of this file.
Classes | |
| struct | str_ExternControl |
Functions | |
| void | AddCRC_CAN (unsigned int frame_length) |
| speed_t | bitrate (int Bitrate) |
| void | CloseSerialInterface (void) |
| void | InitSerialInterface (std::string serialport_name_, uint32_t serialport_speed_) |
| void | SendOutData (unsigned char ID, struct str_ExternControl cmd, unsigned char N) |
| int | sendStringToCom (unsigned char *output, int len) |
Variables | |
| struct str_ExternControl | ExternControl |
| void AddCRC_CAN | ( | unsigned int | frame_length | ) |
Definition at line 70 of file serial_interface.cpp.
| speed_t bitrate | ( | int | Bitrate | ) |
Definition at line 7 of file serial_interface.cpp.
| void CloseSerialInterface | ( | void | ) |
Definition at line 65 of file serial_interface.cpp.
| void InitSerialInterface | ( | std::string | serialport_name_, |
| uint32_t | serialport_speed_ | ||
| ) |
Definition at line 27 of file serial_interface.cpp.
| void SendOutData | ( | unsigned char | ID, |
| struct str_ExternControl | cmd, | ||
| unsigned char | N | ||
| ) |
Definition at line 91 of file serial_interface.cpp.
| int sendStringToCom | ( | unsigned char * | output, |
| int | len | ||
| ) |
Definition at line 84 of file serial_interface.cpp.
| struct str_ExternControl ExternControl |
Definition at line 10 of file can_interface.cpp.