-
Notifications
You must be signed in to change notification settings - Fork 2
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Need help to understand "Using the Toolbox" #112
Comments
Don't worry: in yarp-wholebodyinterface the default value for the
Just to clarify: |
Ok thanks, but I have still a lot of problem, I think I miss a tutorial about this toolbox because I don't understand how it works. For example:
But then an error appears;
|
It is also perfectly possible that the documentation is not appropriately describing some aspects of the software. : ) Regarding the errors:
You mean a simulation in Gazebo or in Simulink using the WBI-Toolbox?
What you mean by link?
I think it may be easier for you to understand the concepts used in the WBI-Toolbox if you a concrete goal (for example a simple controller) to implement. If you already have something similar, if you want we can discuss |
Yes I know that, but I'm really lost so I think I have missed something. I just finished to install all stuffs (codyco-superbuild/iCub-main/yarp/WBI_toolbox) and now I'm lost. I read some YARP and launched some tests using yarpmanager but now, I don't know what are next steps to understand all about iCub softwares. My goal is to be able to launch a controller like "torqueBalancing".
I don't think there is collapsing but there is an error "ApplyWrench pluging: link neamed iCub::root_link not found" when I put the robot in gazebo.
In fact, I don't know what is Simulink and how it is used, but I suppose it is not important for me.
If I understand correctly, modules are Matlab files that have to be linked to the simulator to control it. Then, how to use these Matlab files?
My first step is only to run the "torqueBalancing" controller. In regards to Skype, it would be a pleasure, there is my skype name : misaki.soma (I have a meeting right now but after I can) |
Hi!
It didn't find the “.ini”, so I had to modify it with:
Since, in the tutorial, we only have to do “ --from nameFile.ini”, I suppose I have a problem with path definition? Now, when I click on the "home all" button it is working, so I tried to go ahead. I launched Matlab and ran the "initTorqueBalancing.m". Then, the following warning occurred (and I don't understand this path management):
Ignoring this warning, I launched "torqueBalancing.mdl", but then Matlab crashed after many warnings. I write here, only the firsts of them:
Did the first warning explain that I haven't the great Simulink Version? I don't get it because it is installed with codyco-superbuild isn't it? (And I do the "pull" and the "make" even today). |
Sorry, today was a rather busy day. : )
Are you sure that the
No, this is normal.. it means that the superbuild did not find the project in the computer and will download and build it itself. It definitely needs to be explained in the README because you are not the first user to be confused by this.
To launch the simulink controller, please follow the steps listed here: https://github.com/robotology-playground/WBI-Toolbox-controllers/tree/master/controllers/torqueBalancing#launch-procedure . |
@misaki43 sorry I have accidentally deleted you comment... : ( anyway my reply was saved. |
@misaki43 comment restored : ) |
Yes, that was the problem: because of a previous problem, I have commented the line "export YARP_DATA_DIRS=$YARP_DATA_DIRS:$CODYCO_SUPERBUILD_ROOT/build/install/share/codyco" and forgot to uncomment it after.
You are right, I'm going to do Simulink's tutorials, but in the same time I want to resolve all problems to directly move on after. |
My problem is maybe linked to robotology-legacy/WBI-Toolbox-controllers#13 because before warnings I can read
|
Ok, then we will wait on @DanielePucci feedback. |
Exported to MATLAB201b. The tests I performed were ok. Let us know. |
Hi ! So now, it is working ! I have read some Simulink tutorial (even though I am still a beginner) and I have read the "simulink code". Thanks to them, I approximately understand how the controller works (even though functions like "controller FCN" are still too hard for me to understand). I just have a few final questions:
|
Hi,
I don't understand what you explain in this part, can you help me?
I don't really understand: Need I to install "yarpWholeBodyInterface" or did you just inform us that we need to change de flag IF we need to install it? (In doubt, I installed it).
I don't really understand this part too, but I tried to follow these instructions. The problem is I don't find this "Simulation" tab. I think I don't follow all steps correctly, could you tell me where I am wrong?
a. I added export YARP_ROBOT_NAME="icubGazeboSim" in bashrc
b. I launched yarpserver, then gazebo. I did: insert>Icub.
Then, i don't find where I can create a model (where is simulation )?
To be honest I even don't know what it is but I thought I will see it directly by test.
Thanks!
The text was updated successfully, but these errors were encountered: