Thank you very much! That made it all clear.
Regards,
Kevin
Search found 36 matches
- Mon Oct 19, 2015 1:45 pm
- Forum: Simbody: SimTK multibody dynamics API
- Topic: find method in source code
- Replies: 6
- Views: 278
- Mon Oct 19, 2015 11:56 am
- Forum: Simbody: SimTK multibody dynamics API
- Topic: find method in source code
- Replies: 6
- Views: 278
Re: find method in source code
Thanks Sherm. calcBodyAccelerationFromUDot() indeed seems the solution to my problem. Just to be sure: are all calculated accelerations expressed in the ground frame or in the body frame?
Could you explain why q_dot != u?
Kind regards,
Kevin
Could you explain why q_dot != u?
Kind regards,
Kevin
- Mon Oct 19, 2015 2:54 am
- Forum: Simbody: SimTK multibody dynamics API
- Topic: find method in source code
- Replies: 6
- Views: 278
Re: find method in source code
Hi Michael. I am using Visual Studio, but a right click didn't give me the code that you posted. This was probably because I just opened the MobilizedBody.cpp file, instead of the .sln file of the Simbody build. I am indeed interested to find out how the angular velocities are computed. Here's why: ...
- Fri Oct 16, 2015 6:55 am
- Forum: Simbody: SimTK multibody dynamics API
- Topic: find method in source code
- Replies: 6
- Views: 278
find method in source code
Hi, I would like to know how the method getBodyAngularVelocity of the class MobilizedBody is implemented. In the source code I found the following: const Vec3& getBodyAngularVelocity(const State& state) const { // w_GB return getBodyVelocity(state)[0]; } Then I found : const SpatialVec& MobilizedBod...
- Thu Sep 24, 2015 8:23 am
- Forum: OpenSim
- Topic: CustomJoint definition with Matlab
- Replies: 7
- Views: 1172
Re: CustomJoint definition with Matlab
myModel = Model('c:/.../gait2354.osim') shoulderJoint = CustomJoint.safeDownCast( myModel.getJoints().get('rightShoulder') ); transformShoulder = shoulderJoint.getSpatialTransform() How can I do the same thing directly in C++ instead of in Matlab? I found a solution to this problem: OpenSim::JointS...
- Tue Sep 22, 2015 7:10 am
- Forum: OpenSim
- Topic: CustomJoint definition with Matlab
- Replies: 7
- Views: 1172
Re: CustomJoint definition with Matlab
How can I do the same thing directly in C++ instead of in Matlab?jimmy wrote: myModel = Model('c:/.../gait2354.osim')
shoulderJoint = CustomJoint.safeDownCast( myModel.getJoints().get('rightShoulder') );
transformShoulder = shoulderJoint.getSpatialTransform()
- Wed Jan 07, 2015 6:04 am
- Forum: OpenSim
- Topic: matlab-opensim interface linux
- Replies: 1
- Views: 767
matlab-opensim interface linux
Hi, Is it possible to use a combination of Matlab and OpenSim in Linux? I would like to do this because I also need a third program for which I only have a Linux license. I installed OpenSim in Linux by building it from source. Then I set up Matlab following the instructions of http://simtk-confluen...
- Mon Jan 05, 2015 2:32 am
- Forum: Matlab-Opensim Interfaces
- Topic: matlab-opensim interface linux
- Replies: 0
- Views: 408
matlab-opensim interface linux
Hi, I want to use the Matlab-OpenSim interface in Linux, but I always get an error (screenshot in attachment). I folowed these instructions: http://simtk-confluence.stanford.edu:8080/display/OpenSim/Scripting+with+Matlab . However they are written for Windows. In Linux, I cannot locate the org-opens...
- Wed Dec 24, 2014 8:43 am
- Forum: OpenSim
- Topic: problem building OpenSim from source
- Replies: 25
- Views: 6517
Re: problem building OpenSim from source
Ok, I have rebuild everything as you suggested. Now, building the RUN_TESTS project is way better. In debug mode, most of the tests pass. Only 1 failed, and 3 had a timeout (the VS output can be found in the attachment). The error screens that I had before don't show up anymore. In RelWithDebInfo mo...
- Tue Dec 23, 2014 1:58 am
- Forum: OpenSim
- Topic: problem building OpenSim from source
- Replies: 25
- Views: 6517
Re: problem building OpenSim from source
Ok, now I can run the example. Suddenly a screen pops up that tells me: testSerialization.exe has triggered a breakpoint . The break seems to appear at line 574. So far, the cmd screen has printed 5 lines: 'hell' 'there' '1.234e5' '-infinity' (hell,there,1.234e5,-infinity) The output of Visual studi...