Skip to content
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

Instructions for running the simulations on binary installation of robotology-superbuild on Windows #29

Open
divyashah opened this issue Mar 11, 2022 · 4 comments
Assignees
Labels
documentation Improvements or additions to documentation

Comments

@divyashah
Copy link
Member

Since, I don't have much software background, I installed robotology-superbuild from binaries as instructed in conda-forge-based-robotology-superbuild-installation on my Windows laptop.

I would like to try and run these ergocub-gazebo simulation experiments on this system. But I think the installation instructions in the README.md do not work with such binary installation.

Could you please help me with the same??

Thanks!

@GrmanRodriguez @AlexAntn @Nicogene
cc @traversaro

@traversaro
Copy link
Member

As I suspected, it is indeed quite easy to run at least basic simulations with gazebo-yarp-plugins installed via binaries, see:
stickbot_windows

Some fixes may be necessary (see #30) but I can modify the README to clarify how to install it in the case of robotology packages installed via binaries.

@Nicogene
Copy link
Member

@traversaro added some nice info in #31, @divyashah it is what you needed?
There is a specific experiment you want to try in your setup?

@Nicogene Nicogene added the documentation Improvements or additions to documentation label Mar 14, 2022
@divyashah
Copy link
Member Author

@traversaro added some nice info in #31, @divyashah it is what you needed?

Thanks! @traversaro, @Nicogene
Yes, I was now able to follow these instructions in installation using dependencies compiled from binary and install the repo.

I can add the stickbot now in gazebo:
image

There is a specific experiment you want to try in your setup?

I would like to replicate the experiments that you'll have already added in the repo like the hold_box or gym_session and maybe modify the stickbot dimensions.

However, I am still not able to run these experiments as per the instructions currently in the README. For example, for the ./hold_box.sh I get the following error:
image

@traversaro
Copy link
Member

I would like to replicate the experiments that you'll have already added in the repo like the hold_box or gym_session and maybe modify the stickbot dimensions.

However, I am still not able to run these experiments as per the instructions currently in the README. For example, for the ./hold_box.sh I get the following error: image

First of all, I noticed that we were lacking a dependency in the docs, this is fixed by: #32 . In your case, it should be sufficient to just run mamba install -c conda-forge -c robotology whole-body-estimators after enabling your environment.

Unfortunatly, bash files are extremely Unix-specific, so to run them on Windows you need to run them as following:

cd C:\Users\dshah\icub_tech_repos\ergocub-gazebo-simulations\experiments\hold_box
"C:\Program Files\Git\git-bash.exe" ./hold_box.sh

Furthermore, the bash script itself will require some fixes to run on Windows, provided in: #33 .

In theory you could just open a Git Bash terminal and call mamba activate ergocubsim as you do with Command Prompt, but this is not working due to: robotology/robotology-superbuild#1061 .

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
documentation Improvements or additions to documentation
Projects
None yet
Development

No branches or pull requests

3 participants