Dynamixel servo controller. This program consists of 2 parts: "dynamixel_servo_controller.cpp/.h" and "main.cpp"( demo program ).

Dependencies:   mbed

Fork of dynamixel_servo_controller by Yusuke Okino

Revision:
4:ce4fef97e7e5
Parent:
3:51f72ee2d5c2
Child:
5:4474c07c6274
diff -r 51f72ee2d5c2 -r ce4fef97e7e5 dynamixel_servo_controller.cpp
--- a/dynamixel_servo_controller.cpp	Wed Jun 13 14:20:24 2018 +0000
+++ b/dynamixel_servo_controller.cpp	Wed Jun 13 14:26:28 2018 +0000
@@ -218,33 +218,6 @@
 }
 
 /**
- * @brief シリアルバルク受信
- * 
- * @param buf 受信バッファ
- * @param buf_length バッファ長
- * @param timeout 通信途絶を判断するまでの時間
- * @return true 正常に受信
- * @return false 受信失敗
- */
-bool XM430::Read_Bulk_Char(uint8_t *buf, const uint32_t buf_length, const uint32_t timeout)
-{
-    #ifdef MBED_ENVIRONMENT
-    uint32_t count = 0;
-
-    count = 0;
-    while(0 == uart.readable())
-    {
-        if(count > timeout)
-        {
-            return false;
-        }
-    }
-    #endif
-
-    return false;
-}
-
-/**
  * @brief サーボのトルクをONにする
  * 
  * @param id サーボID