Klamp't  0.9.0
Settings.h
1 #ifndef KLAMPT_SIMULATION_SETTINGS_H
2 #define KLAMPT_SIMULATION_SETTINGS_H
3 
4 namespace Klampt {
5 
6 //Set these values to 0 to get all warnings
7 const static double gTorqueLimitWarningThreshold = Inf;
8 const static double gJointLimitWarningThreshold = Inf;
9 //const static double gTorqueLimitWarningThreshold = 0;
10 //const static double gJointLimitWarningThreshold = 0;
11 
12 //turn this to 0 to allow joints to go through their stops
13 #define USE_JOINT_STOPS 1
14 
15 //Change the default padding settings.
16 //More settings can be found in the ODESimulatorSettings constructor in
17 //ODESimulator.cpp
18 const static double gDefaultRobotPadding = 0.0025;
19 const static double gDefaultRigidObjectPadding = 0.0025;
20 const static double gDefaultEnvPadding = 0.0;
21 
22 //Change the default collision testing settings.
23 const static bool gBoundaryLayerCollisionsEnabled = true;
24 const static bool gRigidObjectCollisionsEnabled = true;
25 const static bool gRobotSelfCollisionsEnabled = false;
26 const static bool gRobotRobotCollisionsEnabled = true;
27 const static bool gAdaptiveTimeStepping = true;
28 
29 } //namespace Klampt
30 
31 #endif
Definition: ContactDistance.h:6