New packages: - saltybot_social_msgs: PersonalityState.msg + QueryMood.srv custom interfaces - saltybot_social_personality: full personality node Features: - SOUL.md YAML/Markdown persona file: name, humor_level (0-10), sass_level (0-10), base_mood, per-tier greeting templates, mood prefix strings - Hot-reload: SoulWatcher polls SOUL.md every reload_interval seconds, applies changes live without restarting the node - Per-person relationship memory in SQLite: score, interaction_count, first/last_seen, learned preferences (JSON), full interaction log - Mood engine (pure functions): happy | curious | annoyed | playful driven by relationship score, interaction count, recent event window (120s) - Greeting personalisation: stranger | regular | favorite tiers keyed on interaction count thresholds from SOUL.md - Publishes /social/personality/state (PersonalityState) at publish_rate Hz - /social/personality/query_mood (QueryMood) service for on-demand mood query - Full ROS2 dynamic reconfigure: soul_file, db_path, reload_interval, publish_rate - 52 unit tests, no ROS2 runtime required ROS2 interfaces: Sub: /social/person_detected (std_msgs/String JSON) Pub: /social/personality/state (saltybot_social_msgs/PersonalityState) Srv: /social/personality/query_mood (saltybot_social_msgs/QueryMood)
33 lines
1.2 KiB
XML
33 lines
1.2 KiB
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_social_personality</name>
|
|
<version>0.1.0</version>
|
|
<description>
|
|
SOUL.md-driven personality system for saltybot.
|
|
Loads a YAML/Markdown persona file, maintains per-person relationship memory
|
|
in SQLite, computes mood (happy/curious/annoyed/playful), personalises
|
|
greetings by tier (stranger/regular/favorite), and publishes personality
|
|
state on /social/personality/state. Supports SOUL.md hot-reload and full
|
|
ROS2 dynamic reconfigure. Issue #84.
|
|
</description>
|
|
<maintainer email="sl-controls@saltylab.local">sl-controls</maintainer>
|
|
<license>MIT</license>
|
|
|
|
<depend>rclpy</depend>
|
|
<depend>std_msgs</depend>
|
|
<depend>rcl_interfaces</depend>
|
|
<depend>saltybot_social_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>
|