|
player_truth_pose Struct Reference
[truth]
#include <player.h>
List of all members.
Detailed Description
Configuration request: Get/set pose.
To get the pose of an object, use the following request, filling in only the subtype with PLAYER_TRUTH_GET_POSE (this functionality is subsumed by the data packet and should probably be removed). The server will respond with the other fields filled in. To set the pose, set the subtype to PLAYER_TRUTH_SET_POS and fill in the rest of the fields with the new pose.
|
Public Attributes |
uint8_t | subtype |
int32_t | pos [3] |
int32_t | rot [3] |
Member Data Documentation
|
Packet subtype. Must be either PLAYER_TRUTH_GET_POSE or PLAYER_TRUTH_SET_POSE or PLAYER_TRUTH_SET_POSE_ON_ROOT. The last option places the object on the background and sets its pose. Great for repositioning pucks that have been picked up. |
|
Object position (x, y, z) in mm. |
|
Object orientation (r, p, y) in millirad. |
The documentation for this struct was generated from the following file:
Generated on Tue May 3 14:16:02 2005 for Player by 1.3.6
|