Search found 58 matches

by Ana de Sousa
Wed Jul 21, 2021 4:31 pm
Forum: Control strategies for functional electrical stimulation (FES) cycling
Topic: Control strategies for functional electrical stimulation (FES) cycling Public Forum
Replies: 16
Views: 1495

Re: Control strategies for functional electrical stimulation (FES) cycling Public Forum

No worries! Glad to help. "Does it mean that I can change the value of "gear_load" in the actuator field to control the resistance of the pedal?" Yes and no. Yes, you can control the resistance of cycling (or cycling pedal, I don't know if that is what you mean). No, it is not on the pedals, but on ...
by Ana de Sousa
Thu Jul 15, 2021 6:36 pm
Forum: Control strategies for functional electrical stimulation (FES) cycling
Topic: Control strategies for functional electrical stimulation (FES) cycling Public Forum
Replies: 16
Views: 1495

Re: Control strategies for functional electrical stimulation (FES) cycling Public Forum

Hi, Yuya Miyazaki! I'm glad you are using the model. Your question: "How do you control the load on the pedals?" 1. In CyclingLibrary/cycling_control_v2.m , I first calculate the load in line 150: [thisLoad] = gear_load_v2(thisVel,flagLoad,flagMotor,thisTime); 2. I update a vector with this new calc...
by Ana de Sousa
Sun May 09, 2021 11:21 pm
Forum: OpenSim
Topic: Could not find a configuration file for package OpenSim that is compatible with requested version (64bit)
Replies: 1
Views: 244

Could not find a configuration file for package OpenSim that is compatible with requested version (64bit)

Hi guys, I am having some trouble finding the OpenSim library when compiling in windows. It looks for the OpenSimConfig.cmake in the correct folder, but it complains about the software version. Everything was installed in 64 bit, so I don't quite understand what is happening. Setup Windows 10 Home O...
by Ana de Sousa
Thu Apr 01, 2021 5:31 am
Forum: OpenSim
Topic: OpenSim 4.1 - Install - Ubuntu 20.04
Replies: 4
Views: 795

Re: OpenSim 4.1 - Install - Ubuntu 20.04

Hi @trung phan,

I am not sure, but the first thing I would try is to find the setup.py in your opensim/install libraries.
by Ana de Sousa
Mon Dec 07, 2020 12:19 pm
Forum: OpenSim
Topic: OpenSim 4.1 - Install - Ubuntu 20.04
Replies: 4
Views: 795

Re: OpenSim 4.1 - Install - Ubuntu 20.04

Excellent, thanks, Dimitar.

My final intention was to install opensim in a docker environment for then use Travis to build and test the code beforehand. I wanted to create a clean script like yours, but I got stuck in some steps. And didn't have time to go further on that yet.
by Ana de Sousa
Mon Dec 07, 2020 12:14 pm
Forum: OpenSim
Topic: Forward dynamics in C++ and OpenSim 4.1
Replies: 2
Views: 621

Re: Forward dynamics in C++ and OpenSim 4.1

Hi Dimitar! Thanks a lot for your response. Yeah, that seems to be the reason that I couldn't make it work on the other way. So I overwrote that computeControls functions with my controllers like in https://github.com/mitkof6/upat_eye_model/tree/6243e631dffd50dfa4451616e36a38159aa3b02b/source_code_o...
by Ana de Sousa
Thu Dec 03, 2020 6:46 am
Forum: OpenSim
Topic: Forward dynamics in C++ and OpenSim 4.1
Replies: 2
Views: 621

Forward dynamics in C++ and OpenSim 4.1

Hi guys, I am trying to build an API, so I can control muscle excitation (forward dynamics). A few years ago, I successfully used these scripts API (for OpenSim 3.3 and Matlab ): https://github.com/anacsousa1/opensim-fes-cycling-control/tree/master/OpensimLibrary I just call for addInControls with t...
by Ana de Sousa
Thu Dec 03, 2020 6:16 am
Forum: OpenSim
Topic: OpenSim 4.1 - Install - Ubuntu 20.04
Replies: 4
Views: 795

OpenSim 4.1 - Install - Ubuntu 20.04

Hi everyone, I've had to install OpenSim in Ubuntu 20.04 a few times in the last couple of months, and I had a bit of a hard time installing it. This post is just a resume of the procedure with all steps (basically command lines, I am not using the CMake GUI). I hope these notes help others! 1. Go t...
by Ana de Sousa
Mon Nov 16, 2020 2:16 pm
Forum: OpenSim
Topic: Import OpenSim in Linux
Replies: 3
Views: 390

Re: Import OpenSim in Linux

[FIXED]

I added the path to OpenSimConfig.cmake at the beginning:

Code: Select all

set(OpenSim_DIR "/home/ana/opensim/install/lib/cmake/OpenSim")
Thank you for the help indicating the latest file!