Hi SCONE users,
I'm wondering if we can use contact force as reflex in muscles. If it is doable, can you help me how to do that?
Best
Add contact force as reflex
- Thomas Geijtenbeek
- Posts: 457
- Joined: Wed Mar 12, 2014 8:08 am
Re: Add contact force as reflex
This is definitely possible, but a new reflex type would have to be implemented in SCONE.
At this moment, contact force is only available for state transition in the GaitStateController.
At this moment, contact force is only available for state transition in the GaitStateController.
Re: Add contact force as reflex
Hi Thomas,
Thank you for your response,
Is it possible to implement it using script controller? Do you have any comment regarding the implementation?
Best
Thank you for your response,
Is it possible to implement it using script controller? Do you have any comment regarding the implementation?
Best
- Thomas Geijtenbeek
- Posts: 457
- Joined: Wed Mar 12, 2014 8:08 am
Re: Add contact force as reflex
It is definitely possible to do this via a ScriptController, the most difficult part is simulating the neural delay. Without neural delay, it is rather straightforward to do, using LuaBody:contact_force() and LuaMuscle:add_input().
The script tutorials should contain enough information to get you started (along with the reference manual):
https://scone.software/doku.php?id=tutorials:script
The script tutorials should contain enough information to get you started (along with the reference manual):
https://scone.software/doku.php?id=tutorials:script