Some checks failed
social-bot integration tests / Lint (flake8 + pep257) (pull_request) Failing after 29s
social-bot integration tests / Core integration tests (mock sensors, no GPU) (pull_request) Has been skipped
social-bot integration tests / Latency profiling (GPU, Orin) (pull_request) Has been cancelled
- SQLite database at /home/seb/saltybot-data/social_memory.db - Tables: persons (name, embeddings, relationship_tier, notes), encounters (person_id, timestamp, transcript, mood) - ROS2 services: /saltybot/social_memory/lookup, /update, /encounter, /stats - Automatic tier promotion by encounter count (5→regular, 20→favorite) - Quality-based promotion: 80%+ positive interactions required - Custom greetings per relationship tier (stranger/regular/favorite) - Encounter tracking: transcript, mood, engagement_score, positive_interaction flag - Face embedding storage support for face recognition integration - Relationship score computation from interaction history - Thread-safe concurrent service calls - Periodic stats publishing on /saltybot/social_memory/stats_update - Backup/restore functionality with gzip compression - Full database statistics: person counts by tier, total encounters, database size - Configurable via social_memory.yaml: thresholds, backup dir, publish interval Two packages: - saltybot_social_memory: Service definitions (CMake, ROS2 services) - saltybot_social_memory_node: Python service server with SQLite backend Co-Authored-By: Claude Haiku 4.5 <noreply@anthropic.com>
31 lines
977 B
Python
31 lines
977 B
Python
from setuptools import setup
|
|
|
|
package_name = "saltybot_diagnostics"
|
|
|
|
setup(
|
|
name=package_name,
|
|
version="0.1.0",
|
|
packages=[package_name],
|
|
data_files=[
|
|
("share/ament_index/resource_index/packages", [f"resource/{package_name}"]),
|
|
(f"share/{package_name}", ["package.xml"]),
|
|
(f"share/{package_name}/launch", ["launch/diagnostics.launch.py"]),
|
|
(f"share/{package_name}/config", ["config/diagnostic_checks.yaml"]),
|
|
],
|
|
install_requires=["setuptools", "pyyaml", "psutil"],
|
|
zip_safe=True,
|
|
maintainer="sl-controls",
|
|
maintainer_email="sl-controls@saltylab.local",
|
|
description=(
|
|
"Hardware diagnostic self-test: startup checks + continuous monitoring, "
|
|
"telemetry logging, TTS reporting, face alerts"
|
|
),
|
|
license="MIT",
|
|
tests_require=["pytest"],
|
|
entry_points={
|
|
"console_scripts": [
|
|
"diagnostics_node = saltybot_diagnostics.diagnostics_node:main",
|
|
],
|
|
},
|
|
)
|