Skip to content

Commit 993922e

Browse files
committed
Adjusted joint limits in simulation to facilitate getting back up when Wolfgang lies on his back. Additionally he doesn't fall over at the start of the simulation
1 parent 93f937a commit 993922e

File tree

1 file changed

+7
-3
lines changed
  • bitbots_simulation/bitbots_webots_sim/protos/robots/Wolfgang

1 file changed

+7
-3
lines changed

bitbots_simulation/bitbots_webots_sim/protos/robots/Wolfgang/Wolfgang.proto

Lines changed: 7 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -483,6 +483,7 @@ PROTO Wolfgang [
483483
RotationalMotor {
484484
name "RShoulderRoll"
485485
maxVelocity IS MX64-vel
486+
minPosition -0.4
486487
maxPosition 3.14159
487488
maxTorque IS MX64-torque
488489
controlPID IS pid
@@ -1041,6 +1042,7 @@ PROTO Wolfgang [
10411042
name "LShoulderRoll"
10421043
maxVelocity IS MX64-vel
10431044
minPosition -3.14159
1045+
maxPosition 0.4
10441046
maxTorque IS MX64-torque
10451047
controlPID IS pid
10461048
}
@@ -1135,7 +1137,7 @@ PROTO Wolfgang [
11351137
RotationalMotor {
11361138
name "LElbow"
11371139
maxVelocity IS MX64-vel
1138-
minPosition -1.5708
1140+
minPosition -1.7
11391141
maxPosition 1.0472
11401142
maxTorque IS MX64-torque
11411143
controlPID IS pid
@@ -1735,6 +1737,7 @@ PROTO Wolfgang [
17351737
name "RKnee"
17361738
maxVelocity IS XH540W270-vel
17371739
minPosition -2.96706
1740+
maxPosition 0.2
17381741
maxTorque IS XH540W270-torque
17391742
controlPID IS pid
17401743
}
@@ -1826,7 +1829,7 @@ PROTO Wolfgang [
18261829
name "RAnklePitch"
18271830
maxVelocity IS MX106-vel
18281831
minPosition -1.74533
1829-
maxPosition 1.22173
1832+
maxPosition 1.45
18301833
maxTorque IS MX106-torque
18311834
controlPID IS pid
18321835
}
@@ -3154,6 +3157,7 @@ PROTO Wolfgang [
31543157
RotationalMotor {
31553158
name "LKnee"
31563159
maxVelocity IS XH540W270-vel
3160+
minPosition -0.2
31573161
maxPosition 2.96706
31583162
maxTorque IS XH540W270-torque
31593163
controlPID IS pid
@@ -3245,7 +3249,7 @@ PROTO Wolfgang [
32453249
RotationalMotor {
32463250
name "LAnklePitch"
32473251
maxVelocity IS MX106-vel
3248-
minPosition -1.22173
3252+
minPosition -1.45
32493253
maxPosition 1.74533
32503254
maxTorque IS MX106-torque
32513255
controlPID IS pid

0 commit comments

Comments
 (0)