|
gusimplewhiteboard
|
Basic kinematic motor (i.e. More...
#include <wb_kinematic_motor.h>
Public Member Functions | |
| PROPERTY (int16_t, speed) PROPERTY(int16_t | |
| Speed setting -32767 to 32767 in mm/s. More... | |
| accel | PROPERTY (uint16_t, odo) PROPERTY(bool |
| Odometer used for storing odometry in mm (to ground) More... | |
| accel motorOn | PROPERTY (bool, encoderOn) wb_kinematic_motor() |
| Not all motors have encoders, or encoders can be turned on/off. More... | |
| wb_kinematic_motor (const wb_kinematic_motor &other) | |
| Copy Constructor. More... | |
| wb_kinematic_motor & | operator= (const wb_kinematic_motor &other) |
| Assignment Operator. More... | |
Basic kinematic motor (i.e.
motor to ground) struct
Definition at line 92 of file wb_kinematic_motor.h.
|
inline |
Copy Constructor.
Definition at line 115 of file wb_kinematic_motor.h.
|
inline |
Assignment Operator.
Definition at line 123 of file wb_kinematic_motor.h.
|
inline |
Not all motors have encoders, or encoders can be turned on/off.
Status of the Motor's Encoder (On = True /Off = False (Default)) padding to shut up the compiler on 64 bit systems Default constructor
Definition at line 106 of file wb_kinematic_motor.h.
| wb_kinematic_motor::PROPERTY | ( | int16_t | , |
| speed | |||
| ) |
Speed setting -32767 to 32767 in mm/s.
Acceleration setting -32767 to 32767 in mm/s/s (zero means default acceleration)
| accel wb_kinematic_motor::PROPERTY | ( | uint16_t | , |
| odo | |||
| ) |
Odometer used for storing odometry in mm (to ground)
Not all motors can be turned on/off, but it is possible Status of the Motor (On = True (Default)/Off = False)