We (with @SamHybz) need to set symbolic parameters in the biorbd_model but we failed to do it. here is a minimal example. It works for segment with DOF but not if there is no DOF.
import biorbd_casadi as biorbd
from biorbd_casadi import RotoTrans
# Fail Process finished with exit code 139 (interrupted by signal 11:SIGSEGV)
sym_rototranslation_matrix = RotoTrans(1, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1)
biorbd_model.segment(1).setLocalJCS(biorbd_model, sym_rototranslation_matrix)
# Ideally but fails too
z_rotation_angle = MX.sym("z_rot", 1, 1)
sym_rototranslation_matrix = RotoTrans.fromEulerAngles(rot=angles, trans=MX.zeros(3, 1), seq="xyz")
biorbd_model.segment(1).setLocalJCS(biorbd_model, sym_rototranslation_matrix)
We (with @SamHybz) need to set symbolic parameters in the biorbd_model but we failed to do it. here is a minimal example. It works for segment with DOF but not if there is no DOF.
With the pendulum