PlayerCc::SimulationProxy Class Reference
[Proxies]

#include <playerc++.h>

Inheritance diagram for PlayerCc::SimulationProxy:

Inheritance graph
[legend]
Collaboration diagram for PlayerCc::SimulationProxy:

Collaboration graph
[legend]
List of all members.

Detailed Description

The SimulationProxy proxy provides access to a simulation device.

Definition at line 2260 of file playerc++.h.


Public Member Functions

 SimulationProxy (PlayerClient *aPc, uint32_t aIndex=0)
 constructor
 ~SimulationProxy ()
 destructor
void SetPose2d (char *identifier, double x, double y, double a)
 set the 2D pose of an object in the simulator, identified by the std::string.
void GetPose2d (char *identifier, double &x, double &y, double &a)
 get the pose of an object in the simulator, identified by the std::string Returns 0 on success, else a non-zero error code.
void SetPose3d (char *identifier, double x, double y, double z, double roll, double pitch, double yaw)
 set the 3D pose of an object in the simulator, identified by the std::string.
void GetPose3d (char *identifier, double &x, double &y, double &z, double &roll, double &pitch, double &yaw, double &time)
 get the 3D pose of an object in the simulator, identified by the std::string Returns 0 on success, else a non-zero error code.
void GetProperty (char *identifier, char *name, void *value, size_t value_len)
 Get a simulation property.
void SetProperty (char *identifier, char *name, void *value, size_t value_len)
 Set a simulation property.

Private Member Functions

void Subscribe (uint32_t aIndex)
void Unsubscribe ()

Private Attributes

playerc_simulation_tmDevice

Member Function Documentation

void PlayerCc::SimulationProxy::SetPose2d ( char *  identifier,
double  x,
double  y,
double  a 
)

set the 2D pose of an object in the simulator, identified by the std::string.

Returns 0 on success, else a non-zero error code.

void PlayerCc::SimulationProxy::SetPose3d ( char *  identifier,
double  x,
double  y,
double  z,
double  roll,
double  pitch,
double  yaw 
)

set the 3D pose of an object in the simulator, identified by the std::string.

Returns 0 on success, else a non-zero error code.


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

Last updated 12 September 2005 21:38:45