NeoPixel status indicators with animated patterns: - Breathing blue (idle state) - Green pulse (follow mode) - Red flash (error state) - Rainbow animation (celebrate) - Amber pulse (low battery <20%) - White chase (search mode) Features: - Smooth transitions between states - Configurable LED count (default 30) and GPIO pin (default GPIO18) - Auto-dim brightness control - Subscribes to battery, balance, social, emotion, health topics - Publishes LED state JSON to /saltybot/led_state - 30Hz update frequency with multiple animation patterns Configuration: - YAML-based hardware and pattern settings - Per-pattern speed and color customization - State priority system for concurrent status indicators Co-Authored-By: Claude Haiku 4.5 <noreply@anthropic.com>
29 lines
1007 B
XML
29 lines
1007 B
XML
<?xml version="1.0"?>
|
|
<?xml-model href="http://download.ros.org/schema/package_format3.xsd" schematypens="http://www.w3.org/2001/XMLSchema"?>
|
|
<package format="3">
|
|
<name>saltybot_led_controller</name>
|
|
<version>0.1.0</version>
|
|
<description>
|
|
NeoPixel LED strip controller for SaltyBot. Subscribes to system state topics
|
|
(battery, balance, social, emotion, health) and renders animated LED patterns
|
|
with smooth transitions. Supports configurable LED count, GPIO pin, and brightness.
|
|
Publishes LED state status.
|
|
</description>
|
|
<maintainer email="sl-mechanical@saltylab.local">sl-mechanical</maintainer>
|
|
<license>MIT</license>
|
|
|
|
<depend>rclpy</depend>
|
|
<depend>std_msgs</depend>
|
|
|
|
<buildtool_depend>ament_python</buildtool_depend>
|
|
|
|
<test_depend>ament_copyright</test_depend>
|
|
<test_depend>ament_flake8</test_depend>
|
|
<test_depend>ament_pep257</test_depend>
|
|
<test_depend>python3-pytest</test_depend>
|
|
|
|
<export>
|
|
<build_type>ament_python</build_type>
|
|
</export>
|
|
</package>
|