opensim-org / opensim-core

SimTK OpenSim C++ libraries and command-line applications, and Java/Python wrapping.
https://opensim.stanford.edu
Apache License 2.0
758 stars 307 forks source link

Allow extra columns for Controls file #3784

Open mrrezaie opened 1 month ago

mrrezaie commented 1 month ago

Hi, if the Controls file in Analyze tool has extra columns, a pop-up error appears:

Control with name 'pelvis_tilt_actuator' provided in the ControlSet 'Control Set', but no matching Actuator was found in the model. In Object 'controlsetcontroller' of type ControlSetController. Thrown at ControlSetController.cpp:309 in extendConnectToModel().

Would it be possible to make it more flexible? For example, just print a warning that the actuator doesn't exist, so the controller ignored.

Thank you in advance.