#include <socketBody.h>
Public Member Functions | |
| SocketBody (RobotActorBase *robot, float x, float y, float z, float heading, float pitch, float roll) | |
| virtual | ~SocketBody () |
The SocketBody is derived from Cuboid. Easiest and might eventually use the collision box of a cube. It represents a power socket / outlet in the Delta3D simulator environment. An explicit Delta3D class for the socketBody will make it possible to create sockets at certain places in the scenario by for example externally issued TCP/IP commands.
Definition at line 19 of file socketBody.h.
| srAlmende::SocketBody::SocketBody | ( | RobotActorBase * | robot, | |
| float | x, | |||
| float | y, | |||
| float | z, | |||
| float | heading, | |||
| float | pitch, | |||
| float | roll | |||
| ) |
A SocketBody is attached to a RobotActorBase as explained elsewhere. It makes it easier to add additional functionality.
| robot | robot identifier | |
| x,y,z | world coordinate position of the socket | |
| heading,pitch,roll | world coordinate orientation of the socket |
Definition at line 43 of file socketBody.cpp.
| srAlmende::SocketBody::~SocketBody | ( | ) | [virtual] |
Nothing to deallocate... Yet...
Definition at line 79 of file socketBody.cpp.
1.6.1