We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent df01ba0 commit bd2e8f3Copy full SHA for bd2e8f3
1 file changed
src/Dynamixel2Arduino.h
@@ -22,6 +22,8 @@
22
#include "utility/slave.h"
23
#include "actuator.h"
24
25
+// TODO: Match the OP Mode to the actual value
26
+// https://github.com/ROBOTIS-GIT/Dynamixel2Arduino/issues/73
27
enum OperatingMode{
28
OP_POSITION = 0,
29
OP_EXTENDED_POSITION,
@@ -443,6 +445,9 @@ class Dynamixel2Arduino : public DYNAMIXEL::Master
443
445
bool setFeedForwardGain(uint8_t id, uint16_t fisrt_gain, uint16_t second_gain);
444
446
447
uint8_t getHardwareError(uint8_t id);
448
+
449
+ // https://github.com/ROBOTIS-GIT/Dynamixel2Arduino/issues/73
450
+ uint8_t getOperatingMode(uint8_t id);
451
#endif
452
453
private:
0 commit comments