Search found 16 matches

by Adam Yoder
Thu Apr 13, 2023 8:46 pm
Forum: OpenSim
Topic: How to use TimeSeriesTableQuaternion.appendRow in python?
Replies: 7
Views: 1272

Re: How to use TimeSeriesTableQuaternion.appendRow in python?

Not convenient, but updElt() method of RowVectorQuaternion works, rather than set() or qRowVec[#] = q Was useful to verify functionality of setRotationReference() in MocoOrientationTrackingGoal , which accepts tables of Quaternion or Rotation (after a fix in v4.4. GitHub Issue ) % MATLAB q = Quatern...
by Adam Yoder
Tue Oct 11, 2022 2:11 pm
Forum: OpenSim
Topic: Explorer very slow
Replies: 5
Views: 1404

Re: Explorer very slow

Were either of you able to resolve this issue. Experiencing the same with OpenSim v4.4 GUI (and 4.3). Notably I did not have the lag for the first several weeks of use, started without any apparent cause To be clear, it is the Explorer dialog popup for file navigation, and moving between folders, wh...
by Adam Yoder
Fri Oct 29, 2021 10:26 am
Forum: OpenSim
Topic: Static Optimization in Matlab
Replies: 3
Views: 1036

Re: Static Optimization in Matlab

The setForceSetFiles() method doesnt actually appear to be working in MATALB API 4.3

More detail and a scripting work-around to append needed actuators here:
viewtopicPhpbb.php?f=91&t=11013&p=40469&start=0&view=
by Adam Yoder
Thu Oct 28, 2021 3:10 pm
Forum: OpenSim
Topic: Running Static Optimization in Matlab
Replies: 6
Views: 1669

Re: Running Static Optimization in Matlab

I had the same issue, and the above *zip example also fails to converge for static opt if run in MATLAB API 4.3, due to missing appended actuators (I assume it may work in v3, but I didnt try) Anyways if you paste this code snippet into run_analyzetool.m of the above zip, static opt will converge su...
by Adam Yoder
Thu Oct 28, 2021 3:01 pm
Forum: OpenSim
Topic: Problem in appending actuators with Matlab
Replies: 1
Views: 749

Re: Problem in appending actuators with Matlab

I've got a solution I hit the same bug when executing static optimization via the Analyze tool in the MATLAB API v4.3, i.e. actuators not being appended Specifically, if I printed the setup XML from MATLAB right before executing AnalyzeTool.run() , it would run and solve just fine in the GUI, with t...
by Adam Yoder
Sun Mar 08, 2020 12:40 pm
Forum: OpenSim
Topic: IAA and RollingOnSurfaceConstraint in 4.0
Replies: 2
Views: 694

Re: IAA and RollingOnSurfaceConstraint in 4.0

attached are the setup and grf.xml external loads files, which specifices the point load on calcn_r in ground gait2392 model seems odd that when you load the setup in the GUI, and drill down to the IAA settings, Property Editor, the socket_rolling_body and socket_surface_body fields are blank, even ...
by Adam Yoder
Sat Mar 07, 2020 3:01 pm
Forum: OpenSim
Topic: IAA and RollingOnSurfaceConstraint in 4.0
Replies: 2
Views: 694

IAA and RollingOnSurfaceConstraint in 4.0

I'm trying to replicate an IAA analysis in v4.1, which works in v3.3 with same models/data/setups etc Error executing Analyze in 4.1: Old version storage/motion file encountered Storage: read data file =motion_grf.mot (nr=561 nc=19) .. assuming rotations in Degrees. ExternalForce::ExternalForce_1 Da...
by Adam Yoder
Thu Jan 30, 2020 10:16 am
Forum: OpenSim
Topic: Set value of AbstractProperty
Replies: 3
Views: 549

Re: Set value of AbstractProperty

awesome that works (using osim3.3)

for those wondering PropertyHelper was deprecated in osim3.1 but doc can be found here:
https://simtk.org/api_docs/opensim/api_ ... elper.html
by Adam Yoder
Tue Jan 28, 2020 9:49 pm
Forum: OpenSim
Topic: Set value of AbstractProperty
Replies: 3
Views: 549

Set value of AbstractProperty

I need to change the value of an object's property programmatically using MATLAB API The object is a custom controller defined in a plugin dll, so I can't use safeDownCast to use concrete methods, as explained here: https://simtk.org/plugins/phpBB/viewtopicPhpbb.php?f=91&t=7281&p=19121&start=0&view=...
by Adam Yoder
Mon Dec 30, 2019 11:50 am
Forum: OpenSim
Topic: Plugin build error - DeMers Reflex Controller [SOLVED]
Replies: 1
Views: 336

Re: Plugin build error - DeMers Reflex Controller

I think i fixed it! It was a Visual Studio versioning error Per the wiki I was aware it's crucial to use the exact same Visual Studio version for plugin build as was used to build the target OpenSim distribution i.e. because the needed Controller() definition to be extended is actually contained in ...