You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Expected behaviour
When launching the gazebo.launch.py file from the husky_gazebo package using ros2 launch husky_gazebo gazebo.launch.py with no flags, the Husky spawns as expected without any onboard instrumentation. Adding flags the ros2 launch command (e.g. ros2 launch husky_gazebo gazebo.launch.py laser_enabled:=true or ros2 launch husky_gazebo gazebo.launch.py realsense_enabled:=true, the robot should also launch with the instrumentation, since we are overriding the default argument by passing the argument ABC_enabled:=true in our launch command, where ABC is realsense or laser.
Actual behaviour
When launching the gazebo.launch.py from husky_gazebo package with the instrumentation enable flags, the robot spawns with default parameters, regardless of if the flags are being passed in the launch file.
To Reproduce
Provide the steps to reproduce:
Launch gazebo.launch.py file from the husky_gazebo package using ros2 launch husky_gazebo gazebo.launch.py ABC_enabled:=true, where ABC is either laser or realsense.
Other notes
I've troubleshooted by:
Overriding the conditional statement to have default be true instead of false within husky_macro.urdf.xacro (the parameter for ABC_enabled, where ABC is realsense or laser, was changed from 0 to 1).
Reverting changes from Point 1, override the conditional statement to be true instead of false within spawn_husky.launch within husky_gazebo/launch/.
Reverting changes from Point 1 and 2, removing the conditional statement entirely and forcing the spawn within husky_macro.urdf.xacro.
The text was updated successfully, but these errors were encountered:
Please provide the following information:
Expected behaviour
When launching the
gazebo.launch.py
file from thehusky_gazebo
package usingros2 launch husky_gazebo gazebo.launch.py
with no flags, the Husky spawns as expected without any onboard instrumentation. Adding flags the ros2 launch command (e.g.ros2 launch husky_gazebo gazebo.launch.py laser_enabled:=true
orros2 launch husky_gazebo gazebo.launch.py realsense_enabled:=true
, the robot should also launch with the instrumentation, since we are overriding the default argument by passing the argumentABC_enabled:=true
in our launch command, where ABC isrealsense
orlaser
.Actual behaviour
When launching the
gazebo.launch.py
fromhusky_gazebo
package with the instrumentation enable flags, the robot spawns with default parameters, regardless of if the flags are being passed in the launch file.To Reproduce
Provide the steps to reproduce:
Launch gazebo.launch.py file from the husky_gazebo package using
ros2 launch husky_gazebo gazebo.launch.py ABC_enabled:=true
, where ABC is either laser or realsense.Other notes
I've troubleshooted by:
husky_macro.urdf.xacro
(the parameter for ABC_enabled, where ABC is realsense or laser, was changed from 0 to 1).spawn_husky.launch
withinhusky_gazebo/launch/
.husky_macro.urdf.xacro
.The text was updated successfully, but these errors were encountered: