Skip to content

Commit 07b25de

Browse files
committed
Fix small bug
1 parent 362493e commit 07b25de

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

examples/simulate_pneumatic_planar_pcs.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -204,11 +204,11 @@ def simulate_robot():
204204
plt.figure()
205205
for segment_idx in range(num_segments):
206206
plt.plot(
207-
ts, q_ts[:, 3 * segment_idx + 0],
207+
ts, q_ts[:, 2 * segment_idx + 0],
208208
label=r"$\kappa_\mathrm{be," + str(segment_idx + 1) + "}$ [rad/m]"
209209
)
210210
plt.plot(
211-
ts, q_ts[:, 3 * segment_idx + 1],
211+
ts, q_ts[:, 2 * segment_idx + 1],
212212
label=r"$\sigma_\mathrm{ax," + str(segment_idx + 1) + "}$ [-]"
213213
)
214214
plt.xlabel("Time [s]")

0 commit comments

Comments
 (0)