-
Notifications
You must be signed in to change notification settings - Fork 28
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Confirm aruco visualizer node tracks marker on robot as it moves
- Loading branch information
TheNoobInventor
committed
May 4, 2024
1 parent
36e84a0
commit cf2ae36
Showing
5 changed files
with
59 additions
and
27 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
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,34 @@ | ||
# Launch file to start the webcam usb driver and aruco trajectory visualizer node | ||
# to track the robot as it moves | ||
|
||
import os | ||
from ament_index_python.packages import get_package_share_directory | ||
|
||
from launch import LaunchDescription | ||
from launch_ros.actions import Node | ||
|
||
|
||
def generate_launch_description(): | ||
|
||
usb_cam_params = os.path.join( | ||
get_package_share_directory("lidarbot_aruco"), "config", "params_1.yaml" | ||
) | ||
|
||
usb_cam_node = Node( | ||
package="usb_cam", | ||
executable="usb_cam_node_exe", | ||
parameters=[usb_cam_params], | ||
) | ||
|
||
aruco_visualizer_node = Node( | ||
package="lidarbot_aruco", | ||
executable="aruco_trajectory_visualizer_node", | ||
output="screen", | ||
) | ||
|
||
return LaunchDescription( | ||
[ | ||
usb_cam_node, | ||
aruco_visualizer_node, | ||
] | ||
) |
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
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
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