Skip to content

Commit cdacf92

Browse files
Remove all commented code
Signed-off-by: Luca Della Vedova <[email protected]>
1 parent a5cc19a commit cdacf92

File tree

1 file changed

+0
-8
lines changed

1 file changed

+0
-8
lines changed

nav2_minimal_tb4_sim/launch/spawn_tb4.launch.py

Lines changed: 0 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,6 @@
2727

2828
def generate_launch_description():
2929
sim_dir = get_package_share_directory('nav2_minimal_tb4_sim')
30-
# desc_dir = get_package_share_directory('nav2_minimal_tb4_description')
3130

3231
use_sim_time = LaunchConfiguration('use_sim_time')
3332
namespace = LaunchConfiguration('namespace')
@@ -63,11 +62,6 @@ def generate_launch_description():
6362
default_value='turtlebot4',
6463
description='name of the robot')
6564

66-
# declare_robot_sdf_cmd = DeclareLaunchArgument(
67-
# 'robot_sdf',
68-
# default_value=os.path.join(desc_dir, 'urdf', 'standard', 'turtlebot4.urdf.xacro'),
69-
# description='Full path to robot sdf file to spawn the robot in gazebo')
70-
7165
bridge = Node(
7266
package='ros_gz_bridge',
7367
executable='parameter_bridge',
@@ -115,7 +109,6 @@ def generate_launch_description():
115109
arguments=[
116110
'-name', robot_name,
117111
'-topic', 'robot_description',
118-
# '-file', Command(['xacro', ' ', robot_sdf]), # TODO SDF file is unhappy, not sure why
119112
'-x', pose['x'], '-y', pose['y'], '-z', pose['z'],
120113
'-R', pose['R'], '-P', pose['P'], '-Y', pose['Y']],
121114
parameters=[{'use_sim_time': use_sim_time}]
@@ -125,7 +118,6 @@ def generate_launch_description():
125118
ld = LaunchDescription()
126119
ld.add_action(declare_namespace_cmd)
127120
ld.add_action(declare_robot_name_cmd)
128-
# ld.add_action(declare_robot_sdf_cmd)
129121
ld.add_action(declare_use_simulator_cmd)
130122
ld.add_action(declare_use_sim_time_cmd)
131123

0 commit comments

Comments
 (0)