Classes | Functions | Variables
serial_interface.h File Reference
#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"
Include dependency graph for serial_interface.h:
This graph shows which files directly or indirectly include this file:

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

Function Documentation

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.


Variable Documentation

Definition at line 10 of file can_interface.cpp.



quad_can_driver
Author(s): Henrique
autogenerated on Mon Jan 6 2014 11:48:02