]> rtime.felk.cvut.cz Git - eurobot/public.git/commitdiff
can_ids: defined IDs for holder and pusher
authorMartin Zidek <zidekm1@gmail.com>
Fri, 27 Mar 2009 17:53:40 +0000 (18:53 +0100)
committerMartin Zidek <zidekm1@gmail.com>
Fri, 27 Mar 2009 17:53:40 +0000 (18:53 +0100)
src/common/can_ids.h

index 49d40cf54b5d4d93b91bf0074dd2fc1ba4085871..4a88b15cbdae9df9e141a7775efc7fa8f0cd74d2 100644 (file)
 #define CAN_LAS_CMD to_per(0x30)       /* BOA->LAS */
 
 // ids of can-peripherials
-#define CAN_SERVO to_per(0x32)          /**< BOA->PER @copydetails set_serva() */
+#define CAN_SERVO to_per(0x32)          /**< BOA->PER @copydetails set_chelas() */
 #define CAN_ADC_1 to_boa(0x33)          /* PER->BOA */
 #define CAN_ADC_2 to_boa(0x34)          /* PER->BOA */
 #define CAN_IR    to_boa(0x35)          /* PER->BOA */
 #define CAN_LED   to_per(0x36)          /* BOA->PER */
 #define CAN_ADC_3 to_boa(0x37)         /* PER->BOA */
 
-#define CAN_DRIVES to_per(0x38)        /* BOA->PER */
+#define CAN_DRIVES to_per(0x38)        /**< BOA->PER @copydetails set_belts()*/
 
 
 #define CAN_PWR to_per(0x40)           /* BOA->PER */
@@ -67,7 +67,9 @@
 #define CAN_ERROR              to_boa(0x48) // carousel error; byte[0]= 1 if couldn't read the position =2 if coudn't move the carousel to the right position
 
 #define CAN_PICKER             to_boa(0x49)    // 1B + 2B servo position, 3B + 4B motor speed, 5B time of run *= 100ms
-#define CAN_LIFT               to_per(0x4A)
+#define CAN_LIFT               to_per(0x4A) /**< BOA->PER @copydetails set_lift()*/
+#define CAN_HOLDER             to_per(0x4B) /**< BOA->PER @copydetails set_holder()*/
+#define CAN_PUSHER             to_per(0x4C) /**< BOA->PER @copydetails set_holder()*/
 // #undef to_boa
 // #undef to_mot
 // #undef to_per