Stg::StgModelPosition Class Reference

#include <stage.hh>

Inherits Stg::StgModel.

List of all members.


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, stg_id_t id, char *typestr)
virtual void Update ()
 ~StgModelPosition ()

Static Public Member Functions

static StgModelCreate (StgWorld *world, StgModel *parent, stg_id_t id, char *typestr)

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

Constructor & Destructor Documentation

StgModelPosition::~StgModelPosition ( void   ) 


Member Function Documentation

static StgModel* Stg::StgModelPosition::Create ( StgWorld world,
StgModel parent,
stg_id_t  id,
char *  typestr 
) [inline, static]

Reimplemented from Stg::StgModel.

References StgModelPosition().

void StgModelPosition::GoTo ( stg_pose_t  pose  ) 

void StgModelPosition::GoTo ( double  x,
double  y,
double  a 
)

Sets the control mode to STG_POSITION_CONTROL_POSITION and sets the goal pose

References Stg::stg_pose_t::a, Stg::STG_POSITION_CONTROL_POSITION, Stg::stg_pose_t::x, Stg::stg_pose_t::y, and Stg::stg_pose_t::z.

Referenced by InterfacePosition::ProcessMessage().

void StgModelPosition::SetOdom ( stg_pose_t  odom  ) 

Set the current pose estimate.

Set the current odometry estimate

References Stg::stg_pose_t::a, est_origin, est_pose, Stg::StgModel::GetGlobalPose(), Stg::stg_pose_t::x, and Stg::stg_pose_t::y.

void StgModelPosition::SetSpeed ( stg_velocity_t  vel  ) 

void StgModelPosition::SetSpeed ( double  x,
double  y,
double  a 
)

Sets the control_mode to STG_POSITION_CONTROL_VELOCITY and sets the goal velocity.

References Stg::stg_pose_t::a, Stg::STG_POSITION_CONTROL_VELOCITY, Stg::stg_pose_t::x, Stg::stg_pose_t::y, and Stg::stg_pose_t::z.

Referenced by InterfacePosition::ProcessMessage().

void StgModelPosition::SetTurnSpeed ( double  a  ) 

void StgModelPosition::SetXSpeed ( double  x  ) 

void StgModelPosition::SetYSpeed ( double  y  ) 

void StgModelPosition::SetZSpeed ( double  z  ) 

void StgModelPosition::Shutdown ( void   )  [virtual]

void StgModelPosition::Startup ( void   )  [virtual]


Member Data Documentation

global origin of the local coordinate system

Referenced by Load(), SetOdom(), and Update().

position estimate in local coordinates

Referenced by Load(), InterfacePosition::Publish(), SetOdom(), and Update().

estimated error in position estimate

Referenced by Load().


The documentation for this class was generated from the following files:

Generated on Thu Jan 7 17:42:17 2010 for Stage by  doxygen 1.5.5