simulation

The simulation proxy is used to interact with objects in a simulation. More...


Detailed Description

The simulation proxy is used to interact with objects in a simulation.

Todo:
write playerc_proxy_simulation description

Classes

struct  playerc_simulation_t
 Simulation device proxy. More...

Functions

PLAYERC_EXPORT
playerc_simulation_t
playerc_simulation_create (playerc_client_t *client, int index)
 Create a new simulation proxy.
PLAYERC_EXPORT void playerc_simulation_destroy (playerc_simulation_t *device)
 Destroy a simulation proxy.
PLAYERC_EXPORT int playerc_simulation_subscribe (playerc_simulation_t *device, int access)
 Subscribe to the simulation device.
PLAYERC_EXPORT int playerc_simulation_unsubscribe (playerc_simulation_t *device)
 Un-subscribe from the simulation device.
PLAYERC_EXPORT int playerc_simulation_set_pose2d (playerc_simulation_t *device, char *name, double gx, double gy, double ga)
 Set the 2D pose of a named simulation object.
PLAYERC_EXPORT int playerc_simulation_get_pose2d (playerc_simulation_t *device, char *identifier, double *x, double *y, double *a)
 Get the 2D pose of a named simulation object.
PLAYERC_EXPORT int playerc_simulation_set_pose3d (playerc_simulation_t *device, char *name, double gx, double gy, double gz, double groll, double gpitch, double gyaw)
 Set the 3D pose of a named simulation object.
PLAYERC_EXPORT int playerc_simulation_get_pose3d (playerc_simulation_t *device, char *identifier, double *x, double *y, double *z, double *roll, double *pitch, double *yaw, double *time)
 Get the 3D pose of a named simulation object.
PLAYERC_EXPORT int playerc_simulation_set_property (playerc_simulation_t *device, char *name, char *property, void *value, size_t value_len)
 Set a property value.
PLAYERC_EXPORT int playerc_simulation_get_property (playerc_simulation_t *device, char *name, char *property, void *value, size_t value_len)
 Get a property value.
PLAYERC_EXPORT int playerc_simulation_pause (playerc_simulation_t *device)
 pause / unpause the simulation
PLAYERC_EXPORT int playerc_simulation_reset (playerc_simulation_t *device)
 reset the simulation state
PLAYERC_EXPORT int playerc_simulation_save (playerc_simulation_t *device)
 make the simulation save the status/world