A test for vescs

Revision:
2:12431dd6475f
diff -r 9ecda2b969c2 -r 12431dd6475f canid.hpp
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/canid.hpp	Sat Jun 15 09:31:22 2019 +0000
@@ -0,0 +1,37 @@
+#ifndef __CANID__
+#define __CANID__
+
+enum can_commands {
+        /* VESCs */
+        BLDC_SET_DUTY = 0,            // Set the duty cycle of the motor
+        BLDC_SET_CURRENT,             // Set the motor current
+        BLDC_SET_CURRENT_BRAKE,       // Set the braking current
+        BLDC_SET_RPM,                 // Set the motor ERPM
+        BLDC_SET_POS,                 // Set the motor position
+        BLDC_FILL_RX_BUFFER,          // Copy data to the VESC recieve buffer
+        BLDC_FILL_RX_BUFFER_LONG,     // Copy data to the VESC recieve buffer
+        BLDC_PROCESS_RX_BUFFER,       // Process a command with data from the recieve buffer
+        BLDC_PROCESS_SHORT_BUFFER,    // Process a command with data from the recieve buffer
+        BLDC_STATUS,                  // The motor status (1 of 3)
+        BLDC_STATUS2,                 // The motor status (2 of 3)
+        BLDC_STATUS3,                 // The motor status (3 of 3)
+
+        /* Mobility Controller */
+        MOBILITY_GO = 15,                // Set the motor speed
+
+        /* BMS - Battery Management System */
+
+        /* Arm Controller */
+
+        /* Arm Joint Controllers */
+
+        /* Scientific Module */
+        SCIENTIFIC_BOX_COMMANDS = 201,
+        SCIENTIFIC_BOX_DATA,
+        SCIENTIFIC_ENVIRONMENT_DATA
+
+        /* Turret Pan-Tilt Controller */
+
+    };
+
+#endif // __CANID__