attempt to a nil value

SCONE is a software tool for predictive simulations of biomechanical movement. It uses OpenSim for modeling and simulation, and performs optimization using various control strategies, including feed-forward control, proprioceptic feedback control, and bal
POST REPLY
User avatar
Samane Amini
Posts: 101
Joined: Sun Jan 12, 2020 3:48 am

attempt to a nil value

Post by Samane Amini » Sun Aug 07, 2022 6:49 am

I would like to get some info from muscle:
active_fiber_force()
active_force_length_multiplier()
passive_fiber_force()
...

Scripting the following code shows this error "attempt to a nil value ":

F = model:find_muscle("rect_fem_r"):active_fiber_force()

Would you pls guide me on how to get it?

Kind regards

User avatar
Thomas Geijtenbeek
Posts: 450
Joined: Wed Mar 12, 2014 8:08 am

Re: attempt to a nil value

Post by Thomas Geijtenbeek » Mon Aug 08, 2022 3:03 am

Are you using the latest version of SCONE (2.0.6)?

POST REPLY