Stg::StgModelPosition Class Reference
#include <stage.hh>
Inherits Stg::StgModel.
Detailed Description
StgModelPosition class
Public Member Functions | |
void | GoTo (stg_pose_t pose) |
void | GoTo (double x, double y, double a) |
virtual void | Load () |
void | SetOdom (stg_pose_t odom) |
void | SetSpeed (stg_velocity_t vel) |
void | SetSpeed (double x, double y, double a) |
void | SetTurnSpeed (double a) |
void | SetXSpeed (double x) |
void | SetYSpeed (double y) |
void | SetZSpeed (double z) |
virtual void | Shutdown () |
virtual void | Startup () |
StgModelPosition (StgWorld *world, StgModel *parent) | |
virtual void | Update () |
Public Attributes | |
stg_pose_t | est_origin |
global origin of the local coordinate system | |
stg_pose_t | est_pose |
position estimate in local coordinates | |
stg_pose_t | est_pose_error |
estimated error in position estimate | |
Static Public Attributes | |
static const char * | typestr |
Member Function Documentation
void StgModelPosition::GoTo | ( | double | x, | |
double | y, | |||
double | a | |||
) |
Sets the control mode to STG_POSITION_CONTROL_POSITION and sets the goal pose
void StgModelPosition::Load | ( | ) | [virtual] |
configure a model by reading from the current world file
Reimplemented from Stg::StgModel.
void StgModelPosition::SetOdom | ( | stg_pose_t | odom | ) |
Set the current pose estimate.
void StgModelPosition::SetSpeed | ( | double | x, | |
double | y, | |||
double | a | |||
) |
Sets the control_mode to STG_POSITION_CONTROL_VELOCITY and sets the goal velocity.
The documentation for this class was generated from the following files:
- stage.hh
- model_position.cc
Generated on Wed Jul 30 11:36:06 2008 for Stage by 1.4.7