#include <ros/ros.h>
#include <std_msgs/String.h>
#include <std_msgs/Float64.h>
#include <edrone_client/edrone_services.h>
#include <geometry_msgs/PoseArray.h>
#include <sys/time.h>
#include <boost/thread.hpp>
#include <boost/chrono.hpp>
#include <pthread.h>
#include <unistd.h>
#include <eyantra_drone/Common.h>
#include <eyantra_drone/Protocol.h>
#include <edrone_client/edrone_msgs.h>
Go to the source code of this file.
Macros | |
#define | PORT 23 |
Functions | |
void | Callback (const edrone_client::edrone_msgs::ConstPtr &msg) |
void * | createSocket (void *threadid) |
int | main (int argc, char **argv) |
void * | readFunction (void *threadid) |
void * | serviceFunction (void *threadid) |
void * | writeFunction (void *threadid) |
Variables | |
Communication | com |
bool | isSocketCreate =false |
Protocol | pro |
edrone_client::edrone_services | service |
ros::ServiceClient | serviceClient |
int | userRC [8] ={1500,1500,1500,1500,1000,1000,1000,1000} |
#define PORT 23 |
Definition at line 43 of file DroneNode.cpp.
void Callback | ( | const edrone_client::edrone_msgs::ConstPtr & | msg | ) |
Definition at line 116 of file DroneNode.cpp.
void* createSocket | ( | void * | threadid | ) |
Definition at line 57 of file DroneNode.cpp.
int main | ( | int | argc, |
char ** | argv | ||
) |
Definition at line 128 of file DroneNode.cpp.
void* readFunction | ( | void * | threadid | ) |
Definition at line 80 of file DroneNode.cpp.
void* serviceFunction | ( | void * | threadid | ) |
Definition at line 90 of file DroneNode.cpp.
void* writeFunction | ( | void * | threadid | ) |
Definition at line 62 of file DroneNode.cpp.
Communication com |
Definition at line 49 of file DroneNode.cpp.
bool isSocketCreate =false |
Definition at line 47 of file DroneNode.cpp.
Protocol pro |
Definition at line 50 of file DroneNode.cpp.
edrone_client::edrone_services service |
Definition at line 53 of file DroneNode.cpp.
ros::ServiceClient serviceClient |
Definition at line 52 of file DroneNode.cpp.
int userRC[8] ={1500,1500,1500,1500,1000,1000,1000,1000} |
Definition at line 55 of file DroneNode.cpp.