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

Running the ROS_quadrotor_simulator on ROS melodic and Gazebo9 #46

Open
mSimon12 opened this issue Aug 20, 2020 · 7 comments
Open

Running the ROS_quadrotor_simulator on ROS melodic and Gazebo9 #46

mSimon12 opened this issue Aug 20, 2020 · 7 comments

Comments

@mSimon12
Copy link

Did anyone was capable of running ROS_quadrotor_simulator on ROS melodic and Gazebo9?

I have been trying it for days but as I solve a problem another shows up. I have the desire to execute a system compoused of a drone capable of mapping an external environment, so I need a 3d mapping and collision avoidance system. This package looks to be the most appropriate for my desire but I am a litlle stucked. Does anyone have an idea how to make it run or a tip about another packages that could be applied for my system?

Thanks guys!

@Makekihe
Copy link

@mSimon12
Any update on this?

@mSimon12
Copy link
Author

Hi @Makekihe,

Yes, I finally have been capable of controlling the quadrotor. For that I applied the content of the following repository https://github.com/tahsinkose/hector-moveit/tree/melodic-devel/src.

But at the moment I have made already a lot of changes on my code in a way that I can define a position for the quadrotor and I have made it possible to control more then one drone at a time. I am just making some updates and I hope to upload my solution on my repo on the next days.

@mSimon12
Copy link
Author

Hi again @Makekihe,

I have uploaded my solution on https://github.com/mSimon12/multiple_quadrotors. There is still some things that I intend to improve, but for now it might help you.

@Makekihe
Copy link

Hi @mSimon12
Thank you very much for your reply. I'm kinda stuck in making this work, so I need some assistance.
Then trying to "catkin build" the repository which you're referring to (Tahsinkose's) then I receive Protobuff errors. Did you experience the same issue, and if so, how did you overcome it?

@mSimon12
Copy link
Author

Hi @Makekihe,

To build it I use the catkin_make command. But as there is a lot of packages that it depends on, I suggest the first you go into the src folder and run rosdep install --from-paths src --ignore-src -r -y. It will install all the dependencies of my system.

Hopefully it will work. If not, it will probably be due to python dependencies and for that I will have to know exactly wich error occurs.

I hope it can help u ;)

@Makekihe
Copy link

Hi @mSimon12,

I see that despite trying both Tahsinkose's and your repository, then I receive the same type of error, so I assume that something is wrong with my system. I've used the rosdep install --from-paths src --ignore-src -r -y prior to the catkin_make command. The error is somehow connected to gazebo9 and some protobuf version which is not correct. The error is the following:

/usr/include/gazebo-9/gazebo/msgs/log_playback_control.pb.h:19:2: error: This file was generated by an older version of protoc which is incompatible with your Protocol Buffer headers. Please regenerate this file with a newer version of protoc.

In file included from /usr/include/gazebo-9/gazebo/msgs/MessageTypes.hh:61:0, from /usr/include/gazebo-9/gazebo/msgs/msgs.hh:35, from /usr/include/gazebo-9/gazebo/gazebo_core.hh:20, from /usr/include/gazebo-9/gazebo/gazebo.hh:20, from /home/ros/tahsinkose_ws/src/hector-moveit/src/hector_moveit_gazebo_plugins/src/fruit_generator.cc:1:

This error then persists for multiple msgs within the /usr/include/gazebo-9/gazebo/msgs/ folder, eventually leading to a failed build. Do you know how to resolve this problem?

@mSimon12
Copy link
Author

Hi @Makekihe,

I have never faced this error. Unfortunately I don't know how to help you with that.

I will search for a solution and if I found something I will inform you.

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

2 participants