Search found 434 matches

by Thomas Geijtenbeek
Wed Sep 18, 2024 2:24 am
Forum: SCONE
Topic: Joint Acceleration
Replies: 4
Views: 148

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: 148

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: 3401

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: 23360

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: 7902

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: 7902

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: 7902

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...
by Thomas Geijtenbeek
Fri Jul 05, 2024 12:32 am
Forum: SCONE
Topic: Converting Scaled RajagopalLaiUhlrich2023 and Improved RRA Output Models to Hyfydy Format
Replies: 7
Views: 23360

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

The question is what you want to do with your model. If your intention is to use a reflex-based gait controller, then using the H1922 model is the right way to go, since there already is a functioning reflex controller for that model. The easiest way to create an OpenSim version is probably to take ...
by Thomas Geijtenbeek
Fri Jul 05, 2024 12:27 am
Forum: SCONE
Topic: Running model
Replies: 1
Views: 2579

Re: Running model

The research for that controller is submitted for publication, but still under review. It should be made available anytime soon!
by Thomas Geijtenbeek
Sat Jun 29, 2024 10:11 am
Forum: SCONE
Topic: Asymmetrical Reflex Control
Replies: 1
Views: 2633

Re: Asymmetrical Reflex Control

You can create a single-sided ReflexController by adding a dual_sided = 0 statement, and then specifying the side in the reflex

Code: Select all

ReflexController {
	dual_sided = 0
	Reflex {
		target = gastroc_r
		...
	}
	...
}