-
Notifications
You must be signed in to change notification settings - Fork 13.6k
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
unused args [respawn_gazebo] for include of [/opt/ros/indigo/share/gazebo_ros/launch/empty_world.launch] #9153
Comments
First, the dev guide states ROS Kinetic is the supported version, along with Ubuntu 16.04. Second, the gazebo argument exists here: So, either you have version issues, or you modified the You'd have to post your complete version of the launch file for me to see this. I suggest restoring the launch file provided by PX4 to it's unmodified state and use the recommended versions. I'm closing this, as there is no bug, but fell free to post back if you still have issues after following the suggested actions. |
I compared your launch file with the launch file in my gazebo_ros directory, and mine doesn't have respawn_gazebo argument.
As for the launch file, here it is, as is
I haven't done any modifications to this file. So this must likely be a version issue? |
Yup, there's your problem... The argument was added to the gazebo_ros package with Kinetic back in 2015. I guess it didn't make it into Indigo. The commit is here: ros-simulation/gazebo_ros_pkgs@71dcc77#diff-a1a63a469cbe17191421efbe801f4491 So, either pull it out of the launch, like you did, or upgrade. EDIT: You could also try to make a PR to their repo (I'm not sure if packages are still updated for Indigo) and change it in the gazebo_ros launch file (so you have the feature the arg adds). |
I am getting this error "unused args [interactive] for include of [/home/shriram/catkin_ws/src/Firmware/launch/posix_sitl.launch]
|
@shriram75 Your issue is unrelated to this thread. Please open a new issue |
Bug Report
When I run the following commands, as on the website https://dev.px4.io/en/simulation/ros_interface.html,
I get this error when executing the last line
This is what is there in the log file
In the posix_sitl.launch file, I found the unused argument
<arg name="respawn_gazebo" value="$(arg respawn_gazebo)"/>
When I removed this line and run the simulation, it worked as expected. I want to know if this is a bug, or I'm missing something.
I'm running ROS Indigo on Ubuntu 14.04, using Gazebo 7.
The text was updated successfully, but these errors were encountered: