1 #ifndef ROBOT_STANCE_CSPACE_H 2 #define ROBOT_STANCE_CSPACE_H 4 #include "ContactCSpace.h" 5 #include <Klampt/Contact/Stance.h> 6 #include <KrisLibrary/robotics/Stability.h> 7 #include <KrisLibrary/robotics/TorqueSolver.h> 62 ContactFormation formation;
63 TorqueSolver torqueSolver;
bool CheckRBStability(const Config &x)
void SetHold(const Hold &h)
Adds the given hold to the space's stance.
A cspace consisting of a single robot configuration in a WorldModel. Feasibility constraints are join...
Definition: RobotCSpace.h:103
A structure containing settings that should be used for collision detection, contact solving...
Definition: PlannerSettings.h:43
A collection of holds.
Definition: Stance.h:20
void CalculateSP()
Calculates the support polygon for faster equilibrium testing.
bool CheckTorqueStability(const Config &x)
void SetStance(const Stance &s)
Sets the current stance for this space.
void SetSPMargin(Real margin)
Enables robust equilbrium solving by shrinking the margin.
A single contact between the robot and the environment.
Definition: Hold.h:28
Definition: ContactDistance.h:6
A configuration space that constrains a robot to the IK constraints in a stance, and checks for stabi...
Definition: StanceCSpace.h:27
The main world class containing multiple robots, objects, and static geometries (terrains). Lights and other viewport information may also be stored here.
Definition: World.h:24