Provides an interface to an AX-12A servo. Requires the Dynamixel bus protocol library/
Fork of AX-12A by
Diff: AX12.h
- Revision:
- 7:155ecc801119
- Parent:
- 6:a702043b1420
- Child:
- 8:b6979be5a0a7
--- a/AX12.h Tue Dec 29 23:31:19 2015 +0000 +++ b/AX12.h Thu Dec 31 17:47:43 2015 +0000 @@ -104,6 +104,9 @@ // gets the servo power supply voltage float GetSupplyVoltage(void); + // gets the servo load + float GetLoad(void); + // enables/disables holding torque StatusCode TorqueEnable( bool ); @@ -141,6 +144,9 @@ // last read voltage float _LastVoltage; + // last read load + float _LastLoad; + unsigned char _LastError; };