rotors_simulator icon indicating copy to clipboard operation
rotors_simulator copied to clipboard

rotors_gazebo_plugins fails to build

Open HusseinHazem opened this issue 6 years ago • 15 comments

screenshot from 2018-04-05 20 12 59

HusseinHazem avatar Apr 05 '18 18:04 HusseinHazem

Did you follow these instructions (point number 3)? It looks like you didn't install Rotors dependencies (i.e. glog_catkin).

marco-tranzatto avatar Apr 06 '18 06:04 marco-tranzatto

Yes i installed all the packages required from the mpc library which are the same as the one you mentioned

HusseinHazem avatar Apr 06 '18 10:04 HusseinHazem

Not sure if it the same problem but we recently have problem with the ability to find gtest on new install. It was related to "recent" change on catkin. You could try to apply this commit: https://github.com/ros/catkin/pull/927/files on /opt/ros/kinetic/share/catkin/cmake/test/gtest.cmake

aeudes avatar Apr 06 '18 13:04 aeudes

i am not sure what you are saying tbh aeudes, and i installed the package glog_catkin in the src and even more packages won't build and it itself failed to build

HusseinHazem avatar Apr 07 '18 21:04 HusseinHazem

So you did catkin build glog_catkin and that succeded or not? If you did only after installing other packages you probably want to clean your workspace and try re-building everything.

catkin clean
catkin build

ffurrer avatar Apr 09 '18 09:04 ffurrer

I did exactly that

HusseinHazem avatar Apr 09 '18 11:04 HusseinHazem

Which gazebo version do you use? As much as I know the package is not compatible with gazebo 9 and 8. I had the same error with version 9, but not quite sure with gazebo8. You may wanna use gazebo7.

m-erdem avatar Apr 25 '18 08:04 m-erdem

gazebo 7

HusseinHazem avatar Apr 27 '18 12:04 HusseinHazem

screenshot from 2018-04-27 14 01 24

HusseinHazem avatar Apr 27 '18 12:04 HusseinHazem

Make sure you have mavros in your workspace: https://github.com/ethz-asl/mavros And that it's built. If you still get this error, do catkin clean --all and rebuild your entire workspace.

helenol avatar Jun 05 '18 15:06 helenol

Hello! I am getting exactly the same error. Somebody solved?

CarSanoja avatar Aug 26 '18 15:08 CarSanoja

Hello, I have a similar issue. I have done all possible steps, but I can not manage to build rotors_gazebo_plugins package. I have ubuntu 16.04, gazebo7. At the end I can launch an example like mav.launch, but then there is no ROS messages that the mav provides, i can see only messages of gazebo.

Anybody could give a hint what could be the issue?

Thanks in advance.

anushmanukyan avatar Nov 15 '18 10:11 anushmanukyan

i got the same error

wuyuzaizai avatar Dec 06 '18 05:12 wuyuzaizai

@anushmanukyan Does the simulation run and did you have any compilation issues, if not, it's probably better to open a new issue. @wuyuzaizai which error?

ffurrer avatar Dec 06 '18 08:12 ffurrer

I used docker, and all worked perfectly.

anushmanukyan avatar Dec 06 '18 10:12 anushmanukyan