A lot of change
Dependents: MX106-finaltest dynamixel Arm_dynamixel_can Arm_dynamixel_can_procedurale
Diff: MX106.h
- Revision:
- 2:6722a00e6184
- Parent:
- 1:555b9b4a1ecd
- Child:
- 3:adeaefc32a41
diff -r 555b9b4a1ecd -r 6722a00e6184 MX106.h --- a/MX106.h Sun Jun 26 20:46:08 2016 +0000 +++ b/MX106.h Sun Jun 26 21:46:29 2016 +0000 @@ -19,16 +19,20 @@ public: - MX106(int ID, communication_1 _line, float gear_train); + MX106(int ID, communication_1& _line, float gear_train); int SetMode(int mode); int SetCWLimit(float degrees); int SetCCWLimit(float degrees); + + int SetCRSpeed(float speed); + int GoalPosition(float degrees); - + + float GetTemp(void); int SetSpeed(float goal_speed); float GetTemperature(void); @@ -36,7 +40,7 @@ private: float _gear_train; - communication_1 _line; + communication_1& _line; int _ID; int _mode; };