Add contol node for the LEDs

This commit is contained in:
2026-05-01 11:09:39 +00:00
parent 261e18af83
commit a1f91e834b
7 changed files with 263 additions and 4 deletions
+11 -4
View File
@@ -30,10 +30,10 @@ def generate_launch_description():
description='Ultrasonic sensor publish rate (Hz)'),
# ── Camera orientation arguments ──────────────────────────────────
DeclareLaunchArgument('pan_center_deg', default_value='90.0',
description='Pan angle at startup and shutdown (degrees)'),
DeclareLaunchArgument('tilt_center_deg', default_value='60.0',
description='Tilt angle at startup and shutdown (degrees)'),
DeclareLaunchArgument('pan_center_deg', default_value='0.0',
description='Pan angle at startup and shutdown (degrees, ROS convention)'),
DeclareLaunchArgument('tilt_center_deg', default_value='-15.0',
description='Tilt angle at startup and shutdown (degrees, ROS convention)'),
# ── TF / robot description ────────────────────────────────────────
Node(
@@ -95,4 +95,11 @@ def generate_launch_description():
output='screen',
),
Node(
package='raspbot_v2',
executable='led_controller',
name='led_controller',
output='screen',
),
])