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

How to get Fetch and Gazebo9 installed and tested? #77

Closed
ajaytanwani opened this issue Apr 12, 2019 · 6 comments
Closed

How to get Fetch and Gazebo9 installed and tested? #77

ajaytanwani opened this issue Apr 12, 2019 · 6 comments

Comments

@ajaytanwani
Copy link

Hi Fetch Support,

We have an Ubuntu 18.04 machine with Ros Melodic and Gazebo9 installed:

adiganapathi@hermes1-ubuntu18:~/catkin_ws$ gazebo --version
Gazebo multi-robot simulator, version 9.0.0
Copyright (C) 2012 Open Source Robotics Foundation.
Released under the Apache 2 License.
http://gazebosim.org


Gazebo multi-robot simulator, version 9.0.0
Copyright (C) 2012 Open Source Robotics Foundation.
Released under the Apache 2 License.
http://gazebosim.org


adiganapathi@hermes1-ubuntu18:~/catkin_ws$ 

We are trying to get the Fetch robot started in the Gazebo simulator. We have read the other issues here and are aware that there are several problems with the simulator, but we would like to even get the simulator started so that we can observe these problems. The question is, how to install?

In our Ubuntu 14.04 machines with Fetch installed, running the Fetch on the Gazebo is easy because it just involves installing a package as shown in your README.

However, such a package does not appear to be available for Ubuntu 18.04, as suggested by this question on Ros Answers. That question was answered on October 2018, so perhaps there has been an update since then? But we cannot do a sudo apt-get installed. This is what we see after doing a sudo apt-get update beforehand:

$ sudo apt-get install ros-melodic-fetch-gazebo-demo
Reading package lists... Done
Building dependency tree       
Reading state information... Done
E: Unable to locate package ros-melodic-fetch-gazebo-demo

Next, we figured we would try a "manual" installation. To our knowledge, this is done by cloning this repository into catkin_ws/src and then doing catkin_make to build. Here is our output:

adiganapathi@hermes1-ubuntu18:~$ mkdir -p ~/catkin_ws/src
adiganapathi@hermes1-ubuntu18:~$ cd catkin_ws/src/
adiganapathi@hermes1-ubuntu18:~/catkin_ws/src$ git clone https://github.com/fetchrobotics/fetch_gazebo.git
Cloning into 'fetch_gazebo'...
remote: Enumerating objects: 34, done.
remote: Counting objects: 100% (34/34), done.
remote: Compressing objects: 100% (19/19), done.
remote: Total 1167 (delta 14), reused 33 (delta 14), pack-reused 1133
Receiving objects: 100% (1167/1167), 16.86 MiB | 31.00 MiB/s, done.
Resolving deltas: 100% (606/606), done.
adiganapathi@hermes1-ubuntu18:~/catkin_ws/src$ cd ..

And then running catkin_make results in the following output in the following pastebin.

It suggests to install some "robot_controllers" package, but we are not sure what that refers to, or if installing this is on the right track towards getting the Fetch displayed in the Gazebo.

Hopefully this issue shows what we are trying to do --- just getting the Fetch displayed in our Gazebo. Are these the right steps to follow? If not, where may we find the steps?

We're happy to provide any more information about our setup if necessary.

Thanks for your time!

@moriarty
Copy link
Contributor

Hi,

I’ll need to check if it’s available in the standard ROS repos yet or if it’s only in shadow-fixed...

ros/rosdistro#20745 Was merged 13 days ago, and if there hasn’t been a “Melodic sync” ( a process manually triggered by someone at Open Robotics / OSRF ) then it will only be in the shadow-fixed repository

@moriarty
Copy link
Contributor

But, when you’ve installed from source, you’ll need to run a rosdep command to install the dependencies you need.

You can see an example in this dockerfile I shared:

#75

@ajaytanwani
Copy link
Author

rosdep install fixed it.

@moriarty
Copy link
Contributor

I also responded to @DanielTakeshi in ros/rosdistro#20745

@DanielTakeshi
Copy link

Thanks for the clarifications @moriarty . It's really nice that you are responsive.

@RDaneelOlivav
Copy link
Contributor

@ajaytanwani You can also use the ROSject with the simulation prepared there: ROSJECT.Fetchit-Challenge
You can pull the gits to get the latest changes.

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

No branches or pull requests

4 participants