Search found 132 matches
- Tue Aug 18, 2015 11:27 pm
- Forum: OpenSim
- Topic: InducedAccelerationsSolver question
- Replies: 0
- Views: 80
InducedAccelerationsSolver question
hi all, I have a model including two objects(A and B), and the relation between them and the ground is as follows: Object A <-free joint-> ground Object B <-free joint-> ground Object A <-free joint-> Object B I want to use InducedAccelerationsSolver to analyze ONLY object A. Current InducedAccelera...
- Thu Aug 13, 2015 11:49 am
- Forum: OpenSim
- Topic: I don't see anything in the viewer window!
- Replies: 5
- Views: 488
Re: I don't see anything in the viewer window!
Hi Ayman! Thank you for your post. I did try the add view option, but there is no change and the screen still appears as shown in the screenshot. This is my first time installing the program, and it has yet to display any visual output. I am running a 64 bit version of Windows 10 as a virtual machi...
- Thu Aug 13, 2015 11:41 am
- Forum: OpenSim
- Topic: about LogManager
- Replies: 3
- Views: 890
Re: about LogManager
Hi Jiang, The names of files for out.log, err.log are hard coded in the constructor of LogManager and they're not exposed, neither is the directory that contains the files (which is the current working directory by default). It would be good to have a feature request/thread to discuss what function...
- Thu Aug 13, 2015 11:30 am
- Forum: OpenSim
- Topic: Optimizer error message
- Replies: 12
- Views: 974
Re: Optimizer error message
setMaxIterations() is just to set one of the stop conditions of your optimization. It will not help your application avoid crashing if memory leak exists. what you should do is to run it in linux and use some tool like virgin to check where memory leak occurs. Is it possible to pass parameters that ...
- Wed Aug 12, 2015 6:04 am
- Forum: Simbody: SimTK multibody dynamics API
- Topic: Is CMAES optimizer working well?
- Replies: 12
- Views: 1044
Re: Is CMAES optimizer working well?
hi, Thank you very much for your information. Your memory leak fix for Coordinate.cpp also worked well for me. I spent one week on locating where the code was hanging during the integration, but unfortunately failed to find it. Finally, I created a win32 console application for my objective function...
- Sat Aug 08, 2015 12:04 am
- Forum: Simbody: SimTK multibody dynamics API
- Topic: Is CMAES optimizer working well?
- Replies: 12
- Views: 1044
Re: Is CMAES optimizer working well?
Memory leak in Coordinate::_lockFunction (a ModifiableConstant)
https://github.com/opensim-org/opensim-core/issues/127
Fixed it!
Check if _lockFunction is empty before allocating the memory.
Attachment is the code.
https://github.com/opensim-org/opensim-core/issues/127
Fixed it!
Check if _lockFunction is empty before allocating the memory.
Attachment is the code.
- Fri Aug 07, 2015 11:40 pm
- Forum: Simbody: SimTK multibody dynamics API
- Topic: Is CMAES optimizer working well?
- Replies: 12
- Views: 1044
Re: Is CMAES optimizer working well?
Memory leak in Coordinate::_lockFunction (a ModifiableConstant) https://github.com/opensim-org/opensim-core/issues/127 This leak does not result from the _lockFunction. it occurs because you called Model::setup() twice. The first time was called by Model(string filename), the second time was called ...
- Fri Aug 07, 2015 9:01 pm
- Forum: OpenSim
- Topic: Optimizer error message
- Replies: 12
- Views: 974
Re: Optimizer error message
I have the similar problem before.
delete reporter when you dont need it.
OpenSim will not delete it for us. (Tested in OpenSim3.2)
delete reporter when you dont need it.
OpenSim will not delete it for us. (Tested in OpenSim3.2)
- Thu Aug 06, 2015 12:07 am
- Forum: Simbody: SimTK multibody dynamics API
- Topic: Is CMAES optimizer working well?
- Replies: 12
- Views: 1044
Re: Is CMAES optimizer working well?
Update the progress. I deleted Object::registerType( Delp1990Muscle_Deprecated() );.
Now only 5 memory leak remains.
best regards,
jiang
Now only 5 memory leak remains.
best regards,
jiang
- Wed Aug 05, 2015 10:51 pm
- Forum: Simbody: SimTK multibody dynamics API
- Topic: Is CMAES optimizer working well?
- Replies: 12
- Views: 1044
Re: Is CMAES optimizer working well?
hi, The state is not shared by threads. I created state object in the objective function. I used valgrind to check memory leak. Attachment is the log. I found there will be a little memory leak after calling setProporties() of a model component, and after creating a new thread by parallel executor. ...