before test

Dependencies:   Communication_Robot

Fork of BEAR_Protocol_Edited by phirawat rattanachote

Revision:
16:168de1acec53
Parent:
14:24d951efed53
Child:
19:0f7ebbda19a4
--- a/Command.h	Tue May 24 10:24:53 2016 +0000
+++ b/Command.h	Sun Jun 05 09:43:27 2016 +0000
@@ -16,7 +16,14 @@
 #define SET_KP_RIGHT           0x08
 #define SET_KI_RIGHT           0x09
 #define SET_KD_RIGHT           0x0A
-#define GET_LIDAR              0x0B
+#define SET_ANGLE_MAX          0x17
+#define SET_ANGLE_MIN          0x18
+#define GET_LIDAR              0x1B
+#define GET_LIDAR2             0x2B
+#define GET_LIDAR3             0x3B
+#define GET_LIDAR4             0x4B
+#define GET_LIDAR5             0x5B
+#define GET_LIDAR6             0x6B
 #define GET_BATTERY            0x0C
 #define GET_VELOCITY_LEFT      0x0D
 #define GET_VELOCITY_RIGHT     0x0E
@@ -28,5 +35,6 @@
 #define GET_KD_RIGHT           0x14
 
 
+
 #define RS485_DELAY 90
 #define RS485_DIRC PA_14
\ No newline at end of file