forked from snktshrma/ardupilot_ros
-
Notifications
You must be signed in to change notification settings - Fork 10
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
8b382c0
commit af2053e
Showing
1 changed file
with
28 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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, | ||
] | ||
) |