Skip to content

Commit

Permalink
Update src/jsrm/systems/pneumatic_planar_pcs.py
Browse files Browse the repository at this point in the history
Co-authored-by: Copilot <[email protected]>
  • Loading branch information
mstoelzle and Copilot authored Nov 22, 2024
1 parent 07b25de commit 2f9edbc
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/jsrm/systems/pneumatic_planar_pcs.py
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,7 @@ def actuation_mapping_fn(
n_act is the number of actuators
"""
# all segment bases and tips
sms = jnp.concat([jnp.zeros((1,)), jnp.cumsum(params["l"])], axis=0)
sms = jnp.concatenate([jnp.zeros((1,)), jnp.cumsum(params["l"])], axis=0)

# compute the poses of all segment tips
chi_sms = vmap(forward_kinematics_fn, in_axes=(None, None, 0))(params, q, sms)
Expand Down

0 comments on commit 2f9edbc

Please sign in to comment.