33 #include <Rcs_typedef.h> 34 #include <Rcs_macros.h> 46 RcsShape* plateShape = NULL;
47 RCSBODY_TRAVERSE_SHAPES(
getTask()->getRefBody()) {
48 if (SHAPE->type == RCSSHAPE_BOX) {
54 RCHECK_MSG(plateShape,
"Plate body must have a box shape.");
55 double plateWidth = plateShape->extents[0];
56 double plateHeight = plateShape->extents[1];
81 RCSBODY_TRAVERSE_SHAPES(
getTask()->getEffector()) {
82 if (SHAPE->type == RCSSHAPE_SPHERE) {
virtual void computeObservation(double *state, double *velocity, const MatNd *currentAction, double dt) const
virtual void computeObservation(double *state, double *velocity, const MatNd *currentAction, double dt) const
OMTask * setMinState(double minState)
OMBallPos(RcsGraph *graph)
OMTask * setMaxState(double maxState)
OMTask * setMaxVelocity(double maxVelocity)