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

Crash with gazebo9 #32

Open
galdalali opened this issue Jan 5, 2021 · 1 comment
Open

Crash with gazebo9 #32

galdalali opened this issue Jan 5, 2021 · 1 comment

Comments

@galdalali
Copy link

Hey there,

I'm having trouble running ardupilot_gazebo (master branch) with gazebo 9.
gazebo standalone works fine but when running with "gazebo --verbose iris_ardupilot.world" I don't get any errors but the gazebo wont start.

What could be the issue?

Thanks, Gal.

ubuntu@ubuntu-VirtualBox:~/sim/ardupilot_gazebo/build$ gazebo --verbose iris_ardupilot.world
Gazebo multi-robot simulator, version 9.16.0
Copyright (C) 2012 Open Source Robotics Foundation.
Released under the Apache 2 License.
http://gazebosim.org

[Msg] Waiting for master.
Gazebo multi-robot simulator, version 9.16.0
Copyright (C) 2012 Open Source Robotics Foundation.
Released under the Apache 2 License.
http://gazebosim.org

[Msg] Waiting for master.
[Msg] Connected to gazebo master @ http://127.0.0.1:11345
[Msg] Publicized address: 10.0.2.15
Warning [parser.cc:759] XML Attribute[xmlns:xacro] in element[sdf] not defined in SDF, ignoring.
[Msg] Loading world file [/home/ubuntu/sim/ardupilot_gazebo/worlds/iris_ardupilot.world]
[Wrn] [Event.cc:61] Warning: Deleting a connection right after creation. Make sure to save the ConnectionPtr from a Connect call
[Msg] [ArduPilotPlugin] Model :iris
[Msg] [ArduPilotPlugin] Model :  iris_demo::iris::base_link
[Msg] [ArduPilotPlugin] Model :    base_link_collision
[Msg] [ArduPilotPlugin] Model :      
[Msg] [ArduPilotPlugin] Model :  iris_demo::iris::iris/ground_truth/odometry_sensorgt_link
[Msg] [ArduPilotPlugin] Model :  iris_demo::iris::iris/imu_link
[Msg] [ArduPilotPlugin] Model :  iris_demo::iris::rotor_0
[Msg] [ArduPilotPlugin] Model :    rotor_0_collision
[Msg] [ArduPilotPlugin] Model :      
[Msg] [ArduPilotPlugin] Model :  iris_demo::iris::rotor_1
[Msg] [ArduPilotPlugin] Model :    rotor_1_collision
[Msg] [ArduPilotPlugin] Model :      
[Msg] [ArduPilotPlugin] Model :  iris_demo::iris::rotor_2
[Msg] [ArduPilotPlugin] Model :    rotor_2_collision
[Msg] [ArduPilotPlugin] Model :      
[Msg] [ArduPilotPlugin] Model :  iris_demo::iris::rotor_3
[Msg] [ArduPilotPlugin] Model :    rotor_3_collision
[Msg] [ArduPilotPlugin] Model :      
[Msg] [ArduPilotPlugin] Model :  iris_demo::cam_link
[Msg] [ArduPilotPlugin] Model :  iris_demo::iris::iris/ground_truth/odometry_sensorgt_joint
[Msg] [ArduPilotPlugin] Model :  iris_demo::iris::iris/imu_joint
[Msg] [ArduPilotPlugin] Model :  iris_demo::iris::rotor_0_joint
[Msg] [ArduPilotPlugin] Model :  iris_demo::iris::rotor_1_joint
[Msg] [ArduPilotPlugin] Model :  iris_demo::iris::rotor_2_joint
[Msg] [ArduPilotPlugin] Model :  iris_demo::iris::rotor_3_joint
ubuntu@ubuntu-VirtualBox:~/sim/ardupilot_gazebo/build$
@SwiftGust
Copy link
Owner

Hi, sorry for late reply.
Are you running gazebo in the virtual machine?
As I described under requirement section, Gazebo requires full 3D graphics & display which is limited under virtual environment.
If just gazebo works in your VM then does insert any models or iris_demo model works in empty world?

Start gazebo and insert models
$ gazebo --verbose

image

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