Skip to content

Commit

Permalink
nav2: Add twist_stamper launch file
Browse files Browse the repository at this point in the history
  • Loading branch information
srmainwaring committed Jul 22, 2024
1 parent 7659fef commit 1fb59d0
Showing 1 changed file with 28 additions and 0 deletions.
28 changes: 28 additions & 0 deletions launch/twist_stamper.launch.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,28 @@
import os

from launch import LaunchDescription
from launch_ros.actions import Node
from pathlib import Path

"""Generate a launch description for the twist_stamper node."""


def generate_launch_description():
# Twist stamper.
twist_stamper = Node(
package="twist_stamper",
executable="twist_stamper",
parameters=[
{"frame_id": "base_link"},
],
remappings=[
("cmd_vel_in", "cmd_vel"),
("cmd_vel_out", "ap/cmd_vel"),
],
)

return LaunchDescription(
[
twist_stamper,
]
)

0 comments on commit 1fb59d0

Please sign in to comment.