eBoard ①⑧⑨
Written for SIA 2017/2018
DynamixelBoard Struct Reference

This is the DynamixelBoard ghost struct :D. More...

#include <eagle_DynamixelBoard.h>

+ Collaboration diagram for DynamixelBoard:

Public Member Functions

 DynamixelBoard (SoccerBoard &)
 The constructor. More...
 
void action (void)
 will force every AX12Servo to drive to AX12Servo::storedPos with AX12Servo::storedSpeed More...
 

Protected Attributes

AX12Servoconnected [EBOARD_SPI_SERVO_MAX]
 stores the pointers to the registerd AX12Servo More...
 

Detailed Description

This is the DynamixelBoard ghost struct :D.

Author
EagleoutIce

You can use this class like this:

#include <eBoard.h>
//manual: '#include "/path/to/eBoard.h"'
DynamixelBoard servoBoard(board);
AX12Servo Links(servoBoard,1);
AX12Servo Rechts(servoBoard,2);
int main() {
Links.setPosition(500);
Rechts.setPosition(200);
for(;;) {}
}

Definition at line 43 of file eagle_DynamixelBoard.h.

Constructor & Destructor Documentation

◆ DynamixelBoard()

DynamixelBoard::DynamixelBoard ( SoccerBoard )
inline

The constructor.

Member Function Documentation

◆ action()

void DynamixelBoard::action ( void  )
inline

will force every AX12Servo to drive to AX12Servo::storedPos with AX12Servo::storedSpeed

Referenced by main().

+ Here is the caller graph for this function:

Member Data Documentation

◆ connected

AX12Servo* DynamixelBoard::connected[EBOARD_SPI_SERVO_MAX]
protected

stores the pointers to the registerd AX12Servo

Note
in the docs, the Number will appear as 2, but it's the value of EBOARD_SPI_SERVO_MAX

Definition at line 70 of file eagle_DynamixelBoard.h.


The documentation for this struct was generated from the following file: