Search found 6 matches
- Wed Jul 28, 2021 5:40 am
- Forum: OpenSim
- Topic: Destructor issues when programatically adding ControlSetController
- Replies: 2
- Views: 233
Re: Destructor issues when programatically adding ControlSetController
Thank you very much, Thomas Uchida. Works like a charm!
- Wed Jul 28, 2021 3:50 am
- Forum: OpenSim
- Topic: Destructor issues when programatically adding ControlSetController
- Replies: 2
- Views: 233
Destructor issues when programatically adding ControlSetController
Hi all, I'm currently adding a ControlSetController to an existing model (loaded from an .osim file) and forward simulating. The simulation (with the controller) runs fine but issues arise when exciting the program and the destructor is called. The addition of the controller is performed by; // Add ...
- Tue Jun 22, 2021 7:30 am
- Forum: OpenSim
- Topic: NaN state values from state .sto file
- Replies: 1
- Views: 254
Re: NaN state values from state .sto file
Fixed! Apparently the GUI load motion method and the C++ method are not totally equal (at least in the way I did them). I've added; OpenSim::Storage storage(statesPath); OpenSim::StatesTrajectory stateTrajectory = OpenSim::StatesTrajectory::createFromStatesStorage(model,storage,false,false,true); Th...
- Wed Jun 16, 2021 12:25 pm
- Forum: OpenSim
- Topic: NaN state values from state .sto file
- Replies: 1
- Views: 254
NaN state values from state .sto file
Hello everyone, I'm working on a problem that requires me to set the state of a model for every row in a .sto state file. To that end I'm creating a StateTrajectory() object and then realizeAccelerations of the model; OpenSim::Model model(modelPath); model.initSystem(); // load in state data and cre...
- Tue Sep 15, 2020 7:31 am
- Forum: OpenSim
- Topic: Vastus shoots through wrapping object in Hopper Example
- Replies: 3
- Views: 340
Re: Vastus shoots through wrapping object in Hopper Example
Hi Thomas, Thank you for your quick response. Just to be sure, I've applied all possible quadrants but no luck. I'm quite confident in the "+x" quadrant being chosen. I think however that the problem is different and that I perhaps can better show it with some images; Picture 1: This is before and d...
- Tue Sep 15, 2020 2:15 am
- Forum: OpenSim
- Topic: Vastus shoots through wrapping object in Hopper Example
- Replies: 3
- Views: 340
Vastus shoots through wrapping object in Hopper Example
Dear all, I am trying to change the wrapping surface of the hopper example to an ellipsoid and sphere. This would mean that, especially on the sphere, the vastus is 'balancing' on the patella. However, for an ellipsoid of significant width (read ridiculously large) this should not be a problem. For ...