playerc_position1d_t Struct Reference

Position1d device data. More...

#include <playerc.h>

Collaboration diagram for playerc_position1d_t:

List of all members.


Detailed Description

Position1d device data.

Public Attributes

playerc_device_t info
 Device info; must be at the start of all device structures.
double pose [3]
 Robot geometry in robot cs: pose gives the position1d and orientation, size gives the extent.
double size [2]
double pos
 Odometric pose [m] or [rad].
double vel
 Odometric velocity [m/s] or [rad/s].
int stall
 Stall flag [0, 1].
int status
 Status bitfield of extra data in the following order:

Member Data Documentation

Device info; must be at the start of all device structures.

Odometric pose [m] or [rad].

Robot geometry in robot cs: pose gives the position1d and orientation, size gives the extent.

These values are filled in by playerc_position1d_get_geom().

Stall flag [0, 1].

Status bitfield of extra data in the following order:

  • status (unsigned byte)
    • bit 0: limit min
    • bit 1: limit center
    • bit 2: limit max
    • bit 3: over current
    • bit 4: trajectory complete
    • bit 5: is enabled
    • bit 6:
    • bit 7:

Odometric velocity [m/s] or [rad/s].


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