diff options
Diffstat (limited to 'serial/serial.h')
-rw-r--r-- | serial/serial.h | 6 |
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)) |
23 | typedef unsigned char byte; | 23 | typedef unsigned char byte; |
24 | 24 | ||
25 | int identify_device(const char *port); | 25 | int identify_device(const char *port); |
@@ -34,6 +34,6 @@ void parsePath(const lcm_recv_buf_t *rbuf, const char *channel, | |||
34 | void setCurPose(const lcm_recv_buf_t *rbuf, const char *channel, | 34 | void setCurPose(const lcm_recv_buf_t *rbuf, const char *channel, |
35 | const pose_t *msg, void *userdata); | 35 | const pose_t *msg, void *userdata); |
36 | void renewCurPose(); | 36 | void renewCurPose(); |
37 | void sendCurPose(); | 37 | void *sendCurPose(void *args); |
38 | 38 | ||
39 | #endif \ No newline at end of file | 39 | #endif |