1 #ifndef CONSTRAINT_CHECKER_H 2 #define CONSTRAINT_CHECKER_H 4 #include <Klampt/Modeling/Robot.h> 5 #include <Klampt/Modeling/Terrain.h> 6 #include <Klampt/Contact/Stance.h> 16 static bool HasContact(
const RobotModel& robot,
const Stance& stance,Real maxDist);
17 static bool HasContactVelocity(
const RobotModel& robot,
const Stance& stance,Real maxErr);
18 static bool HasJointLimits(
const RobotModel& robot);
19 static bool HasVelocityLimits(
const RobotModel& robot);
20 static bool HasSupportPolygon(
const RobotModel& robot,
const Stance& stance,
const Vector3& gravity,
int numFCEdges=4);
21 static bool HasSupportPolygon_Robust(
const RobotModel& robot,
const Stance& stance,
const Vector3& gravity,Real robustnessFactor,
int numFCEdges=4);
25 static bool HasEnvCollision(
RobotModel& robot,
TerrainModel& env,
const vector<IKGoal>& fixedLinks,
const vector<int>& ignoreList);
27 static bool HasSelfCollision(
RobotModel& robot);
28 static bool HasTorqueLimits(
RobotModel& robot,
const Stance& stance,
const Vector3& gravity,
int numFCEdges=4);
A collection of holds.
Definition: Stance.h:20
A model of a static terrain with known friction.
Definition: Terrain.h:15
The main robot type used in RobotSim.
Definition: Robot.h:83
Checks for static constraints for a robot at a given stance.
Definition: ConstraintChecker.h:13
Definition: ContactDistance.h:6