-
Notifications
You must be signed in to change notification settings - Fork 13.7k
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
gazebo exited with undefined symbol error: _ZN8mav_msgs4msgs10MotorSpeedC1Ev #12810
Comments
Are you sure this happens after a clean build? Can you copy and paste the commands that you use to build? |
Here are the commands I used to build
|
Here are the launch files that I used:
single_vehicle_spawn.launch:
|
How do you use that launch file? And do you also rebuild everything in the catkin workspace? |
I use rosmon to launch the files like
I didn't rebuild everything in the catkin workspace. Do I need to rebuild everything? |
@lguanrui you are not sourcing the config file for the Gazebo plugins and models: https://github.com/PX4/Firmware/blob/master/Tools/setup_gazebo.bash |
@TSC21 I did this before the launching. Sorry I didn't mention it. |
Do you have Gazebo installed from both OSRF sources and ROS? It may result in some issues. Otherwise, I would say you have conflictson the |
I just double checked. the project itself has install gazebo from OSRF sources and I installed gazebo from ROS too. However, I was able to run the |
So does |
I just rerun it. The gazebo didn't start but the px4 daemon is running. Here are the messages: How should I solve this problem? |
I would uninistall and reinstall Gazebo just to be sure. I am not sure what's causing that error at this stage. Try to alo unsource the ROS path from |
Hi all! After removing the OSRF sources, the simulator works! Thanks for helping! Closing this issue. |
Hi @lguanrui can you tell how did you remove OSRF sources? I'm getting a similar error. |
Please don't necro bump. And the tinyxml2 linking issue should be resolved if you do |
Problem
When I tried to launch the posix_sitl.launch, the gazebo exited with the error message shown below.
Screenshot of the error message
I'm wondering if it is a gazebo version issue.
System Information
Ubuntu: 18.04
ROS: Melodic
Gazebo: 9.10.0
PX4: 1.9.2
Fresh Install: Yes.
The text was updated successfully, but these errors were encountered: