Search found 437 matches

by Thomas Geijtenbeek
Mon Sep 30, 2024 5:32 am
Forum: SCONE
Topic: Sconpy apply external force
Replies: 3
Views: 228

Re: Sconpy apply external force

This has been fixed for a while, but unfortunately the fix is not yet included in an official release.

If you contact me via email, I can send you a link to a preview release that includes the fix.
by Thomas Geijtenbeek
Wed Sep 25, 2024 12:23 am
Forum: SCONE
Topic: Inquiry About SconePy for Exoskeleton Assistance Simulation and Controller Implementation
Replies: 1
Views: 51

Re: Inquiry About SconePy for Exoskeleton Assistance Simulation and Controller Implementation

With regards to controllers: yes, it is possible to implement .scone controllers directly using sconepy. It is also possible to use .scone controllers in combination with sconepy. The advantage of the latter approach is that .scone controllers have higher performance than Python alternatives. You ca...
by Thomas Geijtenbeek
Wed Sep 25, 2024 12:09 am
Forum: SCONE
Topic: Fiber Length of 0 Errors in Jumping Simulations
Replies: 1
Views: 35

Re: Fiber Length of 0 Errors in Jumping Simulations

If the error occurs only rarely, you can adjust the max_errors setting the CmaOptimizer: https://scone.software/doku.php?id=ref:cma_optimizer This will allow the optimization to continue in the case of errors. Use negative numbers if you want to specify the minimum number of successful evaluations (...
by Thomas Geijtenbeek
Wed Sep 18, 2024 2:24 am
Forum: SCONE
Topic: Joint Acceleration
Replies: 4
Views: 238

Re: Joint Acceleration

Great! While this approach can be useful depending on your purpose, please keep the following in mind: The result from this measure is always positive, i.e. you will get the absolute value of the acceleration; The "symmetric = 1" computes the acceleration for left and right sides. If you want only o...
by Thomas Geijtenbeek
Tue Sep 17, 2024 1:32 am
Forum: SCONE
Topic: Joint Acceleration
Replies: 4
Views: 238

Re: Joint Acceleration

Unfortunately, you cannot directly access the Dof accelerations in SconePy at this time. You can however quite easily compute the accelerations by taking the dof velocities, subtracting the dof velocities of the previous frame, and dividing by the frame time, e.g.: current_dofs = model.dof_velocity_...
by Thomas Geijtenbeek
Mon Jul 22, 2024 8:20 am
Forum: SCONE
Topic: Control Models for Gait3D
Replies: 1
Views: 3426

Re: Control Models for Gait3D

All the examples you mention use the same reflex-based control strategy, which consists of a combination of force, length and velocity reflexes, with a constant excitation. The difference between the examples is that the control parameters are optimized for different objectives, hence the difference...
by Thomas Geijtenbeek
Thu Jul 18, 2024 1:20 am
Forum: SCONE
Topic: Converting Scaled RajagopalLaiUhlrich2023 and Improved RRA Output Models to Hyfydy Format
Replies: 7
Views: 23400

Re: Converting Scaled RajagopalLaiUhlrich2023 and Improved RRA Output Models to Hyfydy Format

Yes, this is possible: open a .scone scenario that uses an OpenSim4 model, and go to Tools -> Convert to Hyfydy... This will work only for supported elements, so you might need to manually adjust the .hfd model afterwards. For example, cylindrical wrapping surfaces are not supported in Hyfydy. It sh...
by Thomas Geijtenbeek
Wed Jul 17, 2024 8:17 am
Forum: SCONE
Topic: Controlling the position of a body
Replies: 5
Views: 7932

Re: Controlling the position of a body

In that case, you can use the same approach as in the backpack example. You would need to apply an external force instead of a moment in your script, based on how far the backpack is from the target position and how fast it is moving. Alternatively, if you're using Hyfydy, you can set the position o...
by Thomas Geijtenbeek
Wed Jul 17, 2024 1:34 am
Forum: SCONE
Topic: Controlling the position of a body
Replies: 5
Views: 7932

Re: Controlling the position of a body

I see, but what should be causing the backpack to move up and down? Is there a motor in the backpack, or is it due to the motion of the torso?
by Thomas Geijtenbeek
Sun Jul 14, 2024 1:50 am
Forum: SCONE
Topic: Controlling the position of a body
Replies: 5
Views: 7932

Re: Controlling the position of a body

Can you explain a bit which movement your backpack should perform? There are various ways to control the position, both directly and indirectly, but it depends on your use case which is best. For example, there already is a tutorial on how to maintain balance by controlling a backpack with gyroscope...