aboutsummaryrefslogtreecommitdiffstats
path: root/udp2lcm/udp2lcm.h
diff options
context:
space:
mode:
Diffstat (limited to 'udp2lcm/udp2lcm.h')
-rw-r--r--udp2lcm/udp2lcm.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/udp2lcm/udp2lcm.h b/udp2lcm/udp2lcm.h
index 3bab6ac..1ab7cf3 100644
--- a/udp2lcm/udp2lcm.h
+++ b/udp2lcm/udp2lcm.h
@@ -2,11 +2,12 @@
2#define UDP2LCM_H 2#define UDP2LCM_H
3 3
4#include "path_ctrl_t.h" 4#include "path_ctrl_t.h"
5#include "robot_control_t.h"
6#include "pose_t.h" 5#include "pose_t.h"
6#include "robot_control_t.h"
7#include <arpa/inet.h> 7#include <arpa/inet.h>
8#include <errno.h> 8#include <errno.h>
9#include <fcntl.h> 9#include <fcntl.h>
10#include <math.h>
10#include <netinet/in.h> 11#include <netinet/in.h>
11#include <poll.h> 12#include <poll.h>
12#include <pthread.h> 13#include <pthread.h>
@@ -41,5 +42,6 @@ void robotCtrlInit(robot_control_t *robotCtrlData, int64_t utime,
41void freeRobotCtrl(robot_control_t *robotCtrlData); 42void freeRobotCtrl(robot_control_t *robotCtrlData);
42void poseHandler(const lcm_recv_buf_t *rbuf, const char *channel, 43void poseHandler(const lcm_recv_buf_t *rbuf, const char *channel,
43 const pose_t *msg, void *userdata); 44 const pose_t *msg, void *userdata);
45int16_t swapEndian(int16_t val);
44 46
45#endif \ No newline at end of file 47#endif \ No newline at end of file