Search found 103 matches

by Samane Amini
Thu Apr 24, 2025 2:29 am
Forum: OpenSim
Topic: installing in Ubuntu
Replies: 2
Views: 246

Re: installing in Ubuntu

Hi Nicholas I have also same error to build Opensim from source. You replied me before to change the opensim-core script by adding the following text into the line 199: -DOPENSIM_WITH_CASADI=$MOCO -DOPENSIM_WITH_TROPTER=$MOCO I guess it was debugged in the updated version. and do not need to change ...
by Samane Amini
Sun Mar 02, 2025 3:06 am
Forum: OpenSim
Topic: real-time optimization
Replies: 0
Views: 677

real-time optimization

Hi guys I am trying to implement optimization process on a robot to get feedback from osim model .In my algorithm, the input of the osim model is the trajectory including angle, speed and acceleration that I get from the robot. Since the algrithm works in real-time, the acceleration is so nosiy. Tha...
by Samane Amini
Wed Sep 11, 2024 4:05 am
Forum: OpenSim
Topic: Adding torque in Static Optmization
Replies: 0
Views: 328

Adding torque in Static Optmization

Hi guys I want to add a torque to a joint actuator meanwhile static optimization is done. To do this, I have used this code in the optimization loop: H_controller = osim.PrescribedController() actuatorSet = model.getActuators() H_controller.addActuator(actuatorSet.get('hip_motor_r')) T_hipr = osim.C...
by Samane Amini
Sun Jul 07, 2024 4:35 am
Forum: OpenSim
Topic: Python Error
Replies: 1
Views: 586

Re: Python Error

It was solved. I got it from herer:

https://github.com/opensim-org/opensim- ... r/Geometry
by Samane Amini
Sun Jul 07, 2024 2:26 am
Forum: OpenSim
Topic: Python Error
Replies: 1
Views: 586

Python Error

Dear all I want to script python that linked with opensim. I imported opensim into python and then inputed a osim model. But I got this error: >>> import opensim >>> subjectModel = opensim.Model('gait10dof18musc_subject01.osim') [info] Updating Model file from 30000 to latest format... [info] Loaded...
by Samane Amini
Thu Jul 04, 2024 10:05 am
Forum: OpenSim
Topic: Building Opensim from source
Replies: 1
Views: 932

Building Opensim from source

Hi guys I have problem to build opensim from build. According to build script, I've used this code: ./opensim-core-Linux-build-script.sh -s -j4 Since I don't want to build Moco, I use -s flag. But I got this error after installing all dependencies: CMake Error at CMakeLists.txt:802 (find_package): B...
by Samane Amini
Tue Jul 02, 2024 1:24 am
Forum: OpenSim
Topic: Opensim Installation on Ubuntu(Debian)
Replies: 7
Views: 4728

Re: Opensim Installation on Ubuntu(Debian)

Dear Nicholas

Thanks for your help.

Do you know which version of Python works for opensim 4.1? And how about other opensim 4.3, 4.4 and 4.5?

Thanks
by Samane Amini
Sun Jun 30, 2024 12:58 am
Forum: OpenSim
Topic: Opensim Installation on Ubuntu(Debian)
Replies: 7
Views: 4728

Re: Opensim Installation on Ubuntu(Debian)

Dear Nicholas Actually, I have installed opensim4.1 on debain, but I have problem to configure opensim with python and I received this error when using 'import opensim': ImportError: cannot import name '_simbody' from partially initialized module 'opensim' in terms of opensim installation by anacond...
by Samane Amini
Sat Jun 29, 2024 3:30 am
Forum: OpenSim
Topic: Opensim Installation on Ubuntu(Debian)
Replies: 7
Views: 4728

Opensim Installation on Ubuntu(Debian)

Hi guys I have installed Opensim4.1 on Ubuntu. Now I want to configue opensim with Python according to the instruction: https://opensimconfluence.atlassian.net/wiki/spaces/OpenSim/pages/53085346/Scripting+in+Python bu my main problem is that i don't have any python3.x folder in my opensim installati...
by Samane Amini
Thu Jun 27, 2024 1:17 am
Forum: OpenSim
Topic: Opensim Installation on Ubuntu(Debian)
Replies: 0
Views: 393

Opensim Installation on Ubuntu(Debian)

Hi guys I want to install opensim3.3 (with simbody 3.5.3) on ubuntu(Debian). according to (https://opensimconfluence.atlassian.net/wiki/spaces/OpenSim/pages/53089260/Building+OpenSim+from+Source), first I have installed simbody successfully. Then I have created files using CMake GUI, and then 'make ...