ReactionForceMeasure range issue

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
Kostas Risvas
Posts: 10
Joined: Thu Oct 03, 2019 10:24 pm

ReactionForceMeasure range issue

Post by Kostas Risvas » Sat May 30, 2020 3:53 pm

Greetings,

When applying the ReactionForceMeasure and trying to define the valid force range, SCONE comes up with an "Invalid scenario settings" message. This happens only if i add the range parameter, e.g.

Code: Select all

			ReactionForceMeasure {
				range = {min = 1000 max = 2000}
				start_time = 0.2				
				minimize = true
			}
In the Messages window the following message is displayed:
Warning, unused properties:
CmaOptimizer
SimulationObjective
CompositeMeasure
ReactionForceMeasure
range
min = 1000 *
max = 2000 *

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

Re: ReactionForceMeasure range issue

Post by Thomas Geijtenbeek » Mon Jun 01, 2020 11:44 pm

I realize this isn't clear from the documentation, but you should set min, max and penalty directly:

Code: Select all

ReactionForceMeasure {
	min = 1000
	max = 2000
	start_time = 0.2
	minimize = true
	absolute_penalty = 1
}
I will fix the documentation for the next release!

POST REPLY