Skip to content

Commit bd2e8f3

Browse files
committed
update todo #73
1 parent df01ba0 commit bd2e8f3

1 file changed

Lines changed: 5 additions & 0 deletions

File tree

src/Dynamixel2Arduino.h

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -22,6 +22,8 @@
2222
#include "utility/slave.h"
2323
#include "actuator.h"
2424

25+
// TODO: Match the OP Mode to the actual value
26+
// https://github.com/ROBOTIS-GIT/Dynamixel2Arduino/issues/73
2527
enum OperatingMode{
2628
OP_POSITION = 0,
2729
OP_EXTENDED_POSITION,
@@ -443,6 +445,9 @@ class Dynamixel2Arduino : public DYNAMIXEL::Master
443445
bool setFeedForwardGain(uint8_t id, uint16_t fisrt_gain, uint16_t second_gain);
444446

445447
uint8_t getHardwareError(uint8_t id);
448+
449+
// https://github.com/ROBOTIS-GIT/Dynamixel2Arduino/issues/73
450+
uint8_t getOperatingMode(uint8_t id);
446451
#endif
447452

448453
private:

0 commit comments

Comments
 (0)