Skip to content

Commit

Permalink
launch: fix localization source name
Browse files Browse the repository at this point in the history
  • Loading branch information
jlblancoc committed Feb 20, 2025
1 parent c793d06 commit 8787171
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions ros2-launchs/ros2-lidar-odometry.launch.py
Original file line number Diff line number Diff line change
Expand Up @@ -116,14 +116,14 @@ def generate_launch_description():
name='MOLA_LOCALIZATION_PUBLISH_TF_SOURCE',
value=PythonExpression([
"'state_estimator' if ", LaunchConfiguration(
'use_state_estimator'), " else 'lidar_odom'"
'use_state_estimator'), " else 'lidar_odometry'"
])
)
localization_publish_odom_source_env_var = SetEnvironmentVariable(
name='MOLA_LOCALIZATION_PUBLISH_ODOM_MSGS_SOURCE',
value=PythonExpression([
"'state_estimator' if ", LaunchConfiguration(
'use_state_estimator'), " else 'lidar_odom'"
'use_state_estimator'), " else 'lidar_odometry'"
])
)
state_estimator_config_yaml_arg = DeclareLaunchArgument(
Expand Down

0 comments on commit 8787171

Please sign in to comment.