#include <RobixInterface.h>
Inheritance diagram for OSCAR::RobixInterface:

Public Methods | |
| RobixInterface (const unsigned int dof, const int Lpt=1, const int _Irq=7, const String &EiName="defaultEI", const String &RobotName="defaultRobot", OSCARError &err=DUMMY_ERROR(noError)) | |
| virtual | ~RobixInterface () |
| virtual bool | Initialize () |
| virtual bool | Close () |
| virtual bool | SetHomePos (ArrayI &homePos) |
Public Attributes | |
| LimitStatusArray | LimitStatus |
Protected Methods | |
| virtual bool | set0Pos (ArrayI &zeroPos) |
| virtual bool | getPosition (VectorF &jointValues) |
| virtual bool | setPosition (const VectorF &jointValues) |
| void | clicksToRad (int clicks[], VectorF &radians, const unsigned int size) |
| void | radToClicks (const float *radians, int clicks[], const unsigned int size) |
Protected Attributes | |
| double | clickPerDeg |
| int | ErrorVal |
| int | RobotHandle |
| int | EiHandle |
| String | EiName |
| String | RobotName |
| int | Lpt |
| int | Irq |
| ArrayI | default0Pos |
| ArrayI | defaultHomePos |
| Matrix | defaultPosLimits |
Static Protected Attributes | |
| int | numRobots |
|
||||||||||||||||||||||||||||
|
|
|
|
|
|
||||||||||||||||
|
|
|
|
Generic close device function, could be overriden and implemented according to specific application in derivative class. This function provides a method to close a device after finishing use it. "isClosed" is false if this function is not executed.
Reimplemented from OSCAR::Device. |
|
|
Reimplemented from OSCAR::RobotServoInterface. |
|
|
Generic initialize function, could be overriden and implemented according to specific application in derivative class This function must be called every time after an object is created, otherwise an error will happen which indicates not initialized. In derived classes, check must be done to see if data member"isInitialized" is true in member functions in order to judge whether initialize has been executed.
Reimplemented from OSCAR::Device. |
|
||||||||||||||||
|
|
|
|
|
|
|
|
|
|
Reimplemented from OSCAR::RobotServoInterface. |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| RRG Homepage | OSCAR Overview | OSCAR Tutorials | Simulations |