Hello all,
Thanks for the replies! Would it be possible to add contact geometries purely for recording the 'would be' forces, without actually adding said contact forces to the system?
Regards,
Lars Boers
Search found 14 matches
- Mon Sep 09, 2019 1:28 am
- Forum: OpenSim
- Topic: Relationship contact geometry and computeStateVariableDerivatives
- Replies: 4
- Views: 336
- Thu Sep 05, 2019 2:31 am
- Forum: OpenSim
- Topic: Relationship contact geometry and computeStateVariableDerivatives
- Replies: 4
- Views: 336
Relationship contact geometry and computeStateVariableDerivatives
Hi Guys,
Would adding contact geometry such as HuntCrossley Spheres influence the resulting computations of the computeStateVariableDerivatives function? Would think it does because it is invoked from realizeAcceleration() right?
Regards,
Lars
Would adding contact geometry such as HuntCrossley Spheres influence the resulting computations of the computeStateVariableDerivatives function? Would think it does because it is invoked from realizeAcceleration() right?
Regards,
Lars
- Tue Jul 30, 2019 7:15 am
- Forum: OpenSim
- Topic: Possible issue with computeStateVariableDerivatives()
- Replies: 1
- Views: 199
Possible issue with computeStateVariableDerivatives()
Hi Guys, I have an issue with the computeStateVariableDerivatives command. Both in C++ and Matlab, and only for certain states, the handle returns NaNs or -1.#IND. It will return these values for ALL acceleration values within the resulting state derivatives variable. Therefore I am wondering when t...
- Tue Jul 30, 2019 7:08 am
- Forum: OpenSim
- Topic: Casting controllersets in Matlab
- Replies: 2
- Views: 192
Re: Casting controllersets in Matlab
Hi Thomas,
Thanks for the reply, works perfectly!
Regards,
Lars
Thanks for the reply, works perfectly!
Regards,
Lars
- Fri Jul 26, 2019 2:56 am
- Forum: OpenSim
- Topic: Casting controllersets in Matlab
- Replies: 2
- Views: 192
Casting controllersets in Matlab
Hi Guys, I created a MEX wrapper that uses C++ to cast a PrescribedController from a controllerSet using dynamic_cast: PrescribedController* controller = dynamic_cast<PrescribedController*>( &controllerSet.get(0) ); I was wondering if it is also possible to access the controllerSet's PrescribedContr...
- Thu Jul 18, 2019 12:31 pm
- Forum: OpenSim
- Topic: Transform location wrt bodyframe to location wrt ground
- Replies: 1
- Views: 509
Transform location wrt bodyframe to location wrt ground
Hi guys, I was looking in the API references and I was wondering, is there a function that transforms a location (coordinates/ offsets of for example contact spheres/ markers) wrt a (parent) frame to a location wrt the ground (reference) frame? I want to iteratively calculate positions of objects in...
- Tue Feb 26, 2019 1:55 pm
- Forum: OpenSim
- Topic: Access EOM/ ODE to perform FWD outside Opensim
- Replies: 12
- Views: 644
Re: Access EOM/ ODE to perform FWD outside Opensim
Hi Dimitar, thanks for all the help so far, I checked out the repo you sent me, however my OpenSim CMakeList was already the same as this code so I left it as is. As of right now, mexplus.h isn't recognized (fatal error C1083: Cannot open include file: 'mexplus.h': No such file or directory), and my...
- Sun Feb 24, 2019 11:45 am
- Forum: OpenSim
- Topic: Access EOM/ ODE to perform FWD outside Opensim
- Replies: 12
- Views: 644
Re: Access EOM/ ODE to perform FWD outside Opensim
Hi Dimitar,
Another question (since I am a C++ rookie), where do I place the object registration code for the CoordinateActuator? In the .h/.cpp file or in the CMake file?
Regards,
Lars Boers
Another question (since I am a C++ rookie), where do I place the object registration code for the CoordinateActuator? In the .h/.cpp file or in the CMake file?
Regards,
Lars Boers
- Sun Feb 24, 2019 11:29 am
- Forum: OpenSim
- Topic: Access EOM/ ODE to perform FWD outside Opensim
- Replies: 12
- Views: 644
Re: Access EOM/ ODE to perform FWD outside Opensim
Hi Dimitar, Thanks for the tips, I will try this out! What exactly do you mean with: This version will probably not work with v4.0. Try modifying your CMake according to the sample provided by the developers: Do I modify the OpenSim CMake file or do I modify the CMake file that I am using for the ME...
- Sat Feb 23, 2019 8:14 pm
- Forum: OpenSim
- Topic: Access EOM/ ODE to perform FWD outside Opensim
- Replies: 12
- Views: 644
Re: Access EOM/ ODE to perform FWD outside Opensim
One last question,
How do I add the OpenSIm Include directory to the CmakeList. I tried using the link_direcotry/Include_directory command but this doesnt work
Thanks!
How do I add the OpenSIm Include directory to the CmakeList. I tried using the link_direcotry/Include_directory command but this doesnt work
Thanks!