libmove3d
3.13.0
|
#include <ManipulationUtils.hpp>
Static Public Member Functions | |
static void | undefinedRobotMessage () |
static void | undefinedObjectMessage () |
static void | undefinedSupportMessage () |
static void | undefinedCameraMessage () |
static void | printManipulationMessage (MANIPULATION_TASK_MESSAGE message) |
static int | printConstraintInfo (p3d_rob *robot) |
Prints some info about a robot's contraints. | |
static int | forbidWindowEvents () |
static int | allowWindowEvents () |
static int | copyConfigToFORM (p3d_rob *robot, configPt q) |
static bool | isValidVector (std::vector< double > ObjectPos) |
static void | fixAllHands (p3d_rob *robot, configPt q, bool rest) |
static void | unFixAllHands (p3d_rob *robot) |
static void | fixManipulationJoints (p3d_rob *robot, int armId, configPt q, p3d_rob *object) |
static void | unfixManipulationJoints (p3d_rob *robot, int armId) |
Different general utils for manipulation
int ManipulationUtils::allowWindowEvents | ( | ) | [static] |
Allows the interaction (keyboard and mouse) with the current window.
int ManipulationUtils::copyConfigToFORM | ( | p3d_rob * | robot, |
configPt | q | ||
) | [static] |
Copy the given configuration to the robot XForm window
void ManipulationUtils::fixAllHands | ( | p3d_rob * | robot, |
configPt | q, | ||
bool | rest | ||
) | [static] |
Fix the sampling of all the robots hands, desactivate hands self collisions and set the to rest configuration
void ManipulationUtils::fixManipulationJoints | ( | p3d_rob * | robot, |
int | armId, | ||
configPt | q, | ||
p3d_rob * | object | ||
) | [static] |
Fix the free flyer on the object pos. TODO: This function have to be changed to deal with cartesian mode (fix on the arm not on the object)
int ManipulationUtils::forbidWindowEvents | ( | ) | [static] |
Forbids all the interaction (keyboard and mouse) with the current window.
bool ManipulationUtils::isValidVector | ( | std::vector< double > | ObjectPos | ) | [static] |
Check if the given vector is valid or not
void ManipulationUtils::unFixAllHands | ( | p3d_rob * | robot | ) | [static] |
UnFix the sampling of all the robots hands, activate hands self collision
void ManipulationUtils::unfixManipulationJoints | ( | p3d_rob * | robot, |
int | armId | ||
) | [static] |
UnFix the free flyers