aboutsummaryrefslogtreecommitdiffstats
path: root/serial/serial.h
diff options
context:
space:
mode:
Diffstat (limited to 'serial/serial.h')
-rw-r--r--serial/serial.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/serial/serial.h b/serial/serial.h
index 3563557..2fbf870 100644
--- a/serial/serial.h
+++ b/serial/serial.h
@@ -19,7 +19,7 @@
19// TODO: 两个待测数据 19// TODO: 两个待测数据
20#define RADIUS 0.13 // 两轮之间的距离的一半,米 20#define RADIUS 0.13 // 两轮之间的距离的一半,米
21#define FULLSPEED 0.60 // 轮子全速,m/s 21#define FULLSPEED 0.60 // 轮子全速,m/s
22#define fabs(x) ((x) > 0 ? (x) : -(x)) 22// #define fabs(x) ((x) > 0 ? (x) : -(x))
23typedef unsigned char byte; 23typedef unsigned char byte;
24 24
25int identify_device(const char *port); 25int identify_device(const char *port);
@@ -34,6 +34,6 @@ void parsePath(const lcm_recv_buf_t *rbuf, const char *channel,
34void setCurPose(const lcm_recv_buf_t *rbuf, const char *channel, 34void setCurPose(const lcm_recv_buf_t *rbuf, const char *channel,
35 const pose_t *msg, void *userdata); 35 const pose_t *msg, void *userdata);
36void renewCurPose(); 36void renewCurPose();
37void sendCurPose(); 37void *sendCurPose(void *args);
38 38
39#endif \ No newline at end of file 39#endif