#include <angularmotor.h>
Inheritance diagram for AngularMotor2Axis:


Definition at line 126 of file angularmotor.h.
Public Member Functions | |
| AngularMotor2Axis (const OdeHandle &odeHandle, TwoAxisJoint *joint, double power1, double power2) | |
| Constuct a motor attached to a TwoAxisJoint. | |
| virtual | ~AngularMotor2Axis () |
| virtual int | getNumberOfAxes () |
| returns the number of Axis of this Motor | |
| virtual void | set (int axisNumber, double velocity) |
| sets the desired speed of the motor at the given axis. | |
| virtual double | get (int axisNumber) |
| returns the speed (PositionRate) at the given axis, or zero if the axis is out of range | |
| virtual void | setPower (double power) |
| sets the maximal force the motor has | |
Protected Attributes | |
| TwoAxisJoint * | joint |
|
||||||||||||||||||||
|
Constuct a motor attached to a TwoAxisJoint. It will its two axis of course.
Definition at line 126 of file angularmotor.cpp. |
|
|
Definition at line 134 of file angularmotor.h. |
|
|
returns the speed (PositionRate) at the given axis, or zero if the axis is out of range
Implements AngularMotor. Definition at line 162 of file angularmotor.cpp. |
|
|
returns the number of Axis of this Motor
Implements AngularMotor. Definition at line 137 of file angularmotor.h. |
|
||||||||||||
|
sets the desired speed of the motor at the given axis.
Implements AngularMotor. Definition at line 148 of file angularmotor.cpp. |
|
|
sets the maximal force the motor has
Implements AngularMotor. Definition at line 175 of file angularmotor.cpp. |
|
|
Definition at line 152 of file angularmotor.h. |
1.4.5