Joint load

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
Andrés Hidalgo
Posts: 14
Joined: Wed Jun 09, 2021 2:52 pm

Joint load

Post by Andrés Hidalgo » Thu Oct 27, 2022 5:55 am

Hello,
How can I access the load of a joint from lua script?

I created a lua joint doing lua_joint = model:find_joint("jointname")
Then I tried to access to the load doing
joint_load = lua_joint:load() but I have the error message "attempt to call a nil value (method 'load')"

I would appreciate any help about it

Best regards

Andres

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

Re: Joint load

Post by Thomas Geijtenbeek » Thu Oct 27, 2022 1:49 pm

It should work -- which version of SCONE are you using?

User avatar
Andrés Hidalgo
Posts: 14
Joined: Wed Jun 09, 2021 2:52 pm

Re: Joint load

Post by Andrés Hidalgo » Fri Oct 28, 2022 1:53 am

The version is 2.0.6.2429

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

Re: Joint load

Post by Thomas Geijtenbeek » Fri Oct 28, 2022 3:08 am

My apologies, this functionality will not be publically available until the upcoming release (2.1.0).

POST REPLY