ignition gazebo with foxy ros2
I am following this tutorial https://docs.ros.org/en/foxy/Tutorials/Simulators/Ignition/Setting-up-a-Robot-Simulation-Ignition.html when i run the following command: ign gazebo -v 4 -r visualize_lidar.sdf
i get the following output:
The 'ign' command provides a command line interface to the ignition tools.
ign
List of available commands:
help: Print this help text. sdf: Utilities for SDF files. topic: Print information about topics. service: Print information about services. log: Record or playback topics. msg: Print information about messages. plugin: Print information about plugins. fuel: Manage simulation resources.
Options:
--force-version
why is this happening? how can i run the example?
i installed gazebo using this tutorial. https://classic.gazebosim.org/tutorials?tut=ros2_installing&cat=connect_ros i am running foxy on ubuntu 20.04 (via VMware on a mac)
Asked by r_gerson on 2022-05-31 11:13:10 UTC
Answers
If you do want to use Ignition Gazebo and not Gazebo 11 I suggest looking at the tutorials for Gazebo Citadel, that's the version that's recommended for ROS2 Foxy. It also includes a link of requirements where it tells you how to install Citadel.
I'm not sure if the tutorial you've linked is up to date. It might very well be. However, the tutorial I linked is from the folks over at Gazebo.
Asked by Joe28965 on 2022-06-01 01:49:12 UTC
Comments
https://classic.gazebosim.org/tutorials?tut=ros2_installing&cat=connect_ros installs "gazebo classic", which can be launched with
gazebo visualize_lidar.sdf
.If you want to use "ignition gazebo" you'll need to follow a different route and install Ignition Gazebo Citadel, see the version matrix & instructions here: https://github.com/gazebosim/ros_gz/tree/foxy
Asked by clyde on 2022-05-31 13:55:03 UTC
that command doesn't seem to work. when i execute that command, i get:
context mismatch in svga_surface_destroy context mismatch in svga_surface_destroy
Asked by r_gerson on 2022-05-31 14:33:09 UTC
also, i never actually downloaded the file visualize_lidar.sdf. does that matter?
Asked by r_gerson on 2022-05-31 14:34:27 UTC
That's a different problem -- I think it has to do with VMWare & Gazebo, and I'm afraid that I can't help there. You might try posting that here: https://answers.gazebosim.org/questions/
Asked by clyde on 2022-05-31 14:36:05 UTC
oh got it, thank you Clyde!
Asked by r_gerson on 2022-05-31 14:39:56 UTC
so, i installed ignition gazeo, and upon running ign gazebo -v 4 -r visualize_lidar.sdf
i get the following output: [Wrn] [ign.cc:86] Fuel world download failed because Fetch failed. Other errors Unable to find or download file
Asked by r_gerson on 2022-05-31 14:50:44 UTC