add pybullet.unsupportedChangeScaling feature for some small experiments, this is not general and has many limitations that are not likely are going to be resolved,

so unless it does what you want, ignore this api, it is unsupported!
This commit is contained in:
Erwin Coumans
2020-05-17 13:46:11 -07:00
parent 004dcc3404
commit 754dbd5fda
14 changed files with 172 additions and 0 deletions

View File

@@ -215,6 +215,7 @@ enum EnumInitPoseFlags
INIT_POSE_HAS_BASE_LINEAR_VELOCITY = 8,
INIT_POSE_HAS_BASE_ANGULAR_VELOCITY = 16,
INIT_POSE_HAS_JOINT_VELOCITY = 32,
INIT_POSE_HAS_SCALING=64,
};
///InitPoseArgs is mainly to initialize (teleport) the robot in a particular position
@@ -228,6 +229,7 @@ struct InitPoseArgs
double m_initialStateQ[MAX_DEGREE_OF_FREEDOM];
int m_hasInitialStateQdot[MAX_DEGREE_OF_FREEDOM];
double m_initialStateQdot[MAX_DEGREE_OF_FREEDOM];
double m_scaling[3];
};
struct RequestDebugLinesArgs