1 #ifndef EAGLE_EBOARD_HELPLIB_DYNAMIXELBOARD 2 #define EAGLE_EBOARD_HELPLIB_DYNAMIXELBOARD 49 #if EBOARD_USE_UTILITY > 0x0 83 #if EBOARD_USE_UTILITY > 0x0 84 void DynamixelBoard::changeId(
optVAL_t) {}
85 void DynamixelBoard::changeMotorID(
optVAL_t) {}
86 void DynamixelBoard::ledOn(
optVAL_t) {}
87 void DynamixelBoard::ledOff(
optVAL_t) {}
This is the SoccerBoard ghost struct :D.
This is the AX12Servo ghost struct :D.
void storePosition(int pos, int speed=0x3FF)
This saves the Servo Position.
int actSpe
stores the actual 'would use speed' of the AX12Servo
AX12Servo * connected[EBOARD_SPI_SERVO_MAX]
stores the pointers to the registerd AX12Servo
int storedPos
stores the position the Servo should go to DynamixelBoard::action()
optVAL_t id
stores the id of the AX12Servo obejct
DynamixelBoard(SoccerBoard &)
The constructor.
int storedSpe
stores the Speed of the Servo DynamixelBoard::action()
This is the DynamixelBoard ghost struct :D.
DynamixelBoard * _conBoard
void action(void)
will force every AX12Servo to drive to AX12Servo::storedPos with AX12Servo::storedSpeed ...
AX12Servo(void)
The constructor.
void setPosition(int pos, int speed=0x3FF)
This moves the Servo to the new position.
DynamixelBoard dBoard(board)
the dBoard object