#include "std_msgs/String.h"
#include "odometry_serialcom/odometry_serialcom.h"
#include <tf/transform_broadcaster.h>
#include <iostream>
#include <fstream>
Go to the source code of this file.
Classes | |
class | SerialCom |
Defines | |
#define | CRC16_GEN_POL 0xa001 |
#define | DEFAULT_BAUDRATE 9600 |
#define | DEFAULT_PORT 1 |
#define | MAX_BUF 1024 |
#define | MKSHORT(a, b) ((unsigned short) (a) | ((unsigned short)(b) << 8)) |
Typedefs | |
typedef unsigned char | BYTE |
typedef unsigned short int | WORD |
Functions | |
int | main (int argc, char **argv) |
Variables | |
unsigned char | _read0 [10] |
unsigned char | _read1 [10] |
bool | b_is_received_params = false |
bool | b_reset_odom = false |
double | d_frequency |
double | d_height |
double | d_wheel_diameter |
double | d_wheel_separation |
int | fd_ |
int | i_cpr |
int | i_gear_ratio |
#define CRC16_GEN_POL 0xa001 |
Definition at line 41 of file odometry_serialcom.cpp.
#define DEFAULT_BAUDRATE 9600 |
Definition at line 36 of file odometry_serialcom.cpp.
#define DEFAULT_PORT 1 |
Definition at line 35 of file odometry_serialcom.cpp.
#define MAX_BUF 1024 |
Definition at line 37 of file odometry_serialcom.cpp.
#define MKSHORT | ( | a, | |
b | |||
) | ((unsigned short) (a) | ((unsigned short)(b) << 8)) |
Definition at line 42 of file odometry_serialcom.cpp.
typedef unsigned char BYTE |
Definition at line 38 of file odometry_serialcom.cpp.
typedef unsigned short int WORD |
Definition at line 39 of file odometry_serialcom.cpp.
int main | ( | int | argc, |
char ** | argv | ||
) |
Definition at line 434 of file odometry_serialcom.cpp.
unsigned char _read0[10] |
Definition at line 47 of file odometry_serialcom.cpp.
unsigned char _read1[10] |
Definition at line 47 of file odometry_serialcom.cpp.
bool b_is_received_params = false |
Definition at line 48 of file odometry_serialcom.cpp.
bool b_reset_odom = false |
Definition at line 49 of file odometry_serialcom.cpp.
double d_frequency |
Definition at line 50 of file odometry_serialcom.cpp.
double d_height |
Definition at line 52 of file odometry_serialcom.cpp.
double d_wheel_diameter |
Definition at line 55 of file odometry_serialcom.cpp.
double d_wheel_separation |
Definition at line 51 of file odometry_serialcom.cpp.
int fd_ |
Definition at line 56 of file odometry_serialcom.cpp.
int i_cpr |
Definition at line 54 of file odometry_serialcom.cpp.
int i_gear_ratio |
Definition at line 53 of file odometry_serialcom.cpp.