PlayerCc::SimulationProxy Class Reference
The SimulationProxy proxy provides access to a simulation device.
More...
#include <playerc++.h>
Inheritance diagram for PlayerCc::SimulationProxy:
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_t * | mDevice |
Detailed Description
The SimulationProxy proxy provides access to a simulation device.
Member Function Documentation
| void PlayerCc::SimulationProxy::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 PlayerCc::SimulationProxy::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 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:
