tweak Minitaur/RobotSimulator, fix target value from int to double
This commit is contained in:
@@ -6,6 +6,7 @@
|
||||
class MinitaurSetup
|
||||
{
|
||||
struct MinitaurSetupInternalData* m_data;
|
||||
void resetPose(class b3RobotSimulatorClientAPI* sim);
|
||||
|
||||
public:
|
||||
MinitaurSetup();
|
||||
@@ -13,7 +14,7 @@ public:
|
||||
|
||||
int setupMinitaur(class b3RobotSimulatorClientAPI* sim, const class b3Vector3& startPos=b3MakeVector3(0,0,0), const class b3Quaternion& startOrn = b3Quaternion(0,0,0,1));
|
||||
|
||||
void resetPose();
|
||||
void setDesiredMotorAngle(class b3RobotSimulatorClientAPI* sim, const char* motorName, double desiredAngle, double maxTorque=3,double kp=0.1, double kd=0.9);
|
||||
|
||||
};
|
||||
#endif //MINITAUR_SIMULATION_SETUP_H
|
||||
|
||||
Reference in New Issue
Block a user