Search found 101 matches

by Samane Amini
Wed Sep 11, 2024 4:05 am
Forum: OpenSim
Topic: Adding torque in Static Optmization
Replies: 0
Views: 209

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: 444

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: 444

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: 654

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: 6
Views: 3089

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: 6
Views: 3089

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: 6
Views: 3089

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: 309

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 ...
by Samane Amini
Tue Jun 18, 2024 12:55 am
Forum: OpenSim
Topic: Opensim with Python on Linux
Replies: 4
Views: 1561

Re: Opensim with Python on Linux

Hi Mohammadreza Thanks so much for your useful commends. Actually, I installed Linux 64 bit on Raspberry pi 4 (model B), then I want to install anaconda on it. Since the architecture of my Raspberry is AArch64,I use this installation file: Anaconda3-2023.09-0-Linux-aarch64.sh but I received the 'ill...
by Samane Amini
Wed Jun 12, 2024 12:18 am
Forum: OpenSim
Topic: Opensim with Python on Linux
Replies: 4
Views: 1561

Re: Opensim with Python on Linux

Thanks Mohammadreza Actually, since I want to install openism on Linux x86, there is no anaconda packages for this version of Linux. So do you know how to install opensim with python on linux without anaconda? Could you tell me by what installation file of opensim (containing python) I can do it? Best