Represents Robotino's odoemtry module.
More...
#include <Pose.h>
|
| Pose (const ComId &id) |
|
void | setComId (const ComId &id) |
|
void | readings (double *x, double *y, double *phi, double *errx=0, double *erry=0, double *errphi=0, unsigned int *sequence=0) const |
|
virtual void | readingsEvent (double x, double y, double phi, double errx, double erry, double errphi, unsigned int sequence) |
|
| ComObject () |
|
virtual | ~ComObject () |
|
ComId | comId () const |
|
Represents Robotino's odoemtry module.
void rec::robotino::api2::Pose::readings |
( |
double * |
x, |
|
|
double * |
y, |
|
|
double * |
phi, |
|
|
double * |
errx = 0 , |
|
|
double * |
erry = 0 , |
|
|
double * |
errphi = 0 , |
|
|
unsigned int * |
sequence = 0 |
|
) |
| const |
- Parameters
-
x | Global corrected x position of Robotino in m. |
y | Global corrected y position of Robotino in m. |
phi | Global corrected orientation of Robotino in rad. |
errx | Error in x direction. |
erry | Error in y direction. |
errphi | Error of orientation. |
sequence | The sequence number of the current readings. When starting your application the sequence number is 0. The sequence number is increased 1 each time the Pose is updated. |
- Exceptions
-
virtual void rec::robotino::api2::Pose::readingsEvent |
( |
double |
x, |
|
|
double |
y, |
|
|
double |
phi, |
|
|
double |
errx, |
|
|
double |
erry, |
|
|
double |
errphi, |
|
|
unsigned int |
sequence |
|
) |
| |
|
virtual |
Called when new Pose data is available.
- Parameters
-
x | Global x position of Robotino in m. |
y | Global y position of Robotino in m. |
phi | Global orientation of Robotino in rad. |
vx | x velocity of Robotino. |
vy | y velocity of Robotino. |
omega | Angular velocity of Robotino. |
sequence | The sequence number of the current readings. When starting your application the sequence number is 0. The sequence number is increased 1 each time the Pose is updated. |
- See also
- Com::processEvents
void rec::robotino::api2::Pose::setComId |
( |
const ComId & |
id | ) |
|
Sets the associated communication object.
- Parameters
-
id | The id of the associated communication object. |
- Exceptions
-
The documentation for this class was generated from the following file:
- C:/srcs/git/openrobotino/api2/lib/rec/robotino/api2/Pose.h