Skip to content

Commit

Permalink
Remapping topics (it still doesn't work...)
Browse files Browse the repository at this point in the history
  • Loading branch information
shayaf84 committed Nov 3, 2024
1 parent cff1957 commit 9776885
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 5 deletions.
2 changes: 1 addition & 1 deletion urc_localization/config/ekf.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ ekf_filter_node_odom:
base_link_frame: base_link
world_frame: odom

imu0: imu/data
imu0: /imu/data
imu0_config: [false, false, false,
true, true, true,
false, false, false,
Expand Down
14 changes: 10 additions & 4 deletions urc_localization/launch/ekf.launch.py
Original file line number Diff line number Diff line change
Expand Up @@ -23,16 +23,16 @@ def generate_launch_description():
)
],
remappings=[
("gps/fix", "/gps/data"),
("/gps/data", "/odometry/gps"),
("/imu", "/imu/data"),
("/odometry/filtered","/odometry/filtered/map")
#("/odometry/filtered","/odometry/filtered_map")
],
)

ekf_odom = launch_ros.actions.Node(
package="robot_localization",
executable="ekf_node",
name="ekf_filter_node_odoom",
name="ekf_filter_node_odom",
output="screen",
parameters=[
os.path.join(
Expand All @@ -44,7 +44,7 @@ def generate_launch_description():
remappings=[
("gps/fix", "/gps/data"),
("/imu", "/imu/data"),
("/odometry/filtered","odometry/filtered/twist")
#("/odometry/filtered","odometry/filtered_twist")
],
)

Expand All @@ -60,6 +60,12 @@ def generate_launch_description():
"ekf.yaml",
)
],
remappings=[
#("/odometry/filtered","/odometry/filtered_twist"),
#("/odometry/filtered","/odometry/filtered_map"),
#("/imu","/imu/data"),
("/gps/fix","/gps/data")
]
)

return LaunchDescription(
Expand Down

0 comments on commit 9776885

Please sign in to comment.