Home
FAQ
Player
Stage
Gazebo
Contrib
Documentation
Publications
Contributors
Users

Project
Download
Bugs/Feedback
Mailing lists

Radish

Old news
Old stuff

truth
[Proxies]


Detailed Description

The truth proxy can be used to get and set the pose of objects in a simulator.


Classes

struct  playerc_truth_t
 Truth proxy data. More...


Functions

playerc_truth_tplayerc_truth_create (playerc_client_t *client, int index)
 Create a truth proxy.

void playerc_truth_destroy (playerc_truth_t *device)
 Destroy a truth proxy.

int playerc_truth_subscribe (playerc_truth_t *device, int access)
 Subscribe to the truth device.

int playerc_truth_unsubscribe (playerc_truth_t *device)
 Un-subscribe from the truth device.

int playerc_truth_get_pose (playerc_truth_t *device, double *px, double *py, double *pz, double *rx, double *ry, double *rz)
 Get the object pose.

int playerc_truth_set_pose (playerc_truth_t *device, double px, double py, double pz, double rx, double ry, double rz)
 Set the object pose.


Function Documentation

playerc_truth_t* playerc_truth_create playerc_client_t client,
int  index
 

Create a truth proxy.

void playerc_truth_destroy playerc_truth_t device  ) 
 

Destroy a truth proxy.

int playerc_truth_subscribe playerc_truth_t device,
int  access
 

Subscribe to the truth device.

int playerc_truth_unsubscribe playerc_truth_t device  ) 
 

Un-subscribe from the truth device.

int playerc_truth_get_pose playerc_truth_t device,
double *  px,
double *  py,
double *  pz,
double *  rx,
double *  ry,
double *  rz
 

Get the object pose.

Parameters:
device Pointer to proxy object.
px,py,pz Object position in world cs.
rx,ry,rz Object orientation in world cs (roll, pitch, yaw).

int playerc_truth_set_pose playerc_truth_t device,
double  px,
double  py,
double  pz,
double  rx,
double  ry,
double  rz
 

Set the object pose.

Parameters:
device Pointer to proxy object.
px,py,pz Object position in world cs.
rx,ry,rz Object orientation in world cs (roll, pitch, yaw).


Generated on Tue May 3 14:16:14 2005 for Player by doxygen 1.3.6