#include <ros/ros.h>
#include <stdio.h>
#include <sys/socket.h>
#include <stdlib.h>
#include <netinet/in.h>
#include <string.h>
#include <arpa/inet.h>
#include <fcntl.h>
#include <sys/ioctl.h>
#include <unistd.h>
#include <errno.h>
#include <eyantra_drone/Communication.h>
#include <eyantra_drone/Protocol.h>
Go to the source code of this file.
Variables | |
uint8_t | c |
int | c_state = IDLE |
uint8_t | checksum =0 |
int | checksumIndex =0 |
uint8_t | cmd |
uint8_t | command =0 |
int | dataSize = 0 |
bool | err_rcvd = false |
int | i = 0 |
int | indx =0 |
unsigned int | len = 0 |
int | offset = 0 |
socklen_t | optlen = sizeof(optval) |
int | optval |
uint8_t | payload_size =0 |
Protocol | pro |
uint8_t | recbuf [1024] |
int | socketOpStarted =0 |
int | socketSyckLock =0 |
uint8_t c |
Definition at line 61 of file Communication.cpp.
int c_state = IDLE |
Definition at line 60 of file Communication.cpp.
uint8_t checksum =0 |
Definition at line 48 of file Communication.cpp.
int checksumIndex =0 |
Definition at line 57 of file Communication.cpp.
uint8_t cmd |
Definition at line 65 of file Communication.cpp.
uint8_t command =0 |
Definition at line 49 of file Communication.cpp.
int dataSize = 0 |
Definition at line 63 of file Communication.cpp.
bool err_rcvd = false |
Definition at line 62 of file Communication.cpp.
int i = 0 |
Definition at line 67 of file Communication.cpp.
int indx =0 |
Definition at line 46 of file Communication.cpp.
unsigned int len = 0 |
Definition at line 47 of file Communication.cpp.
int offset = 0 |
Definition at line 63 of file Communication.cpp.
socklen_t optlen = sizeof(optval) |
Definition at line 53 of file Communication.cpp.
int optval |
Definition at line 52 of file Communication.cpp.
uint8_t payload_size =0 |
Definition at line 50 of file Communication.cpp.
Protocol pro |
Definition at line 45 of file Communication.cpp.
uint8_t recbuf[1024] |
Definition at line 58 of file Communication.cpp.
int socketOpStarted =0 |
Definition at line 56 of file Communication.cpp.
int socketSyckLock =0 |
Definition at line 55 of file Communication.cpp.