Skip to content

Commit

Permalink
Reads better like this
Browse files Browse the repository at this point in the history
  • Loading branch information
nachovizzo committed Feb 29, 2024
1 parent 09874c6 commit 13413b7
Showing 1 changed file with 4 additions and 5 deletions.
9 changes: 4 additions & 5 deletions ros/launch/odometry.launch.py
Original file line number Diff line number Diff line change
Expand Up @@ -34,6 +34,7 @@

def generate_launch_description():
current_pkg = FindPackageShare("kiss_icp")
kiss_icp_yaml = PathJoinSubstitution([current_pkg, "config", "kiss_icp.yaml"])
topic_arg = DeclareLaunchArgument(
"topic", description="sensor_msg/PointCloud2 topic to process"
)
Expand All @@ -48,11 +49,9 @@ def generate_launch_description():
output="screen",
remappings=[("pointcloud_topic", LaunchConfiguration("topic"))],
parameters=[
{
"use_sim_time": LaunchConfiguration("use_sim_time"),
"publish_debug_clouds": LaunchConfiguration("visualize"),
},
PathJoinSubstitution([current_pkg, "config", "kiss_icp.yaml"]),
{"use_sim_time": LaunchConfiguration("use_sim_time")},
{"publish_debug_clouds": LaunchConfiguration("visualize")},
kiss_icp_yaml,
],
)
rviz_node = Node(
Expand Down

0 comments on commit 13413b7

Please sign in to comment.