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