Implement WebSocket telemetry relay with: - 2Hz JSON aggregation (battery, motors, IMU, GPS, health, social) - Port 9091 with token authentication - msgpack compression option - 5-minute circular history buffer - Mobile-friendly responsive HTML UI - Auto-reconnect WebSocket with fallback - Critical alerts: low battery (< 15%), high temps, node crash - Real-time dashboard with telemetry gauges Features: - Battery monitoring with SOC/voltage/current - Motor command visualization (L/R duty) - IMU attitude display (roll/pitch/yaw) - CPU/GPU temperature with thresholds - RAM/Disk usage progress bars - GPS coordinates (lat/lon/alt) - Social state (speaking, face tracking) - Alert history with severity levels Co-Authored-By: Claude Haiku 4.5 <noreply@anthropic.com>
35 lines
1011 B
Python
35 lines
1011 B
Python
from setuptools import setup
|
|
import os
|
|
from glob import glob
|
|
|
|
package_name = 'saltybot_remote_monitor'
|
|
|
|
setup(
|
|
name=package_name,
|
|
version='0.1.0',
|
|
packages=[package_name],
|
|
data_files=[
|
|
('share/ament_index/resource_index/packages',
|
|
['resource/' + package_name]),
|
|
('share/' + package_name, ['package.xml']),
|
|
(os.path.join('share', package_name, 'launch'),
|
|
glob('launch/*.py')),
|
|
(os.path.join('share', package_name, 'config'),
|
|
glob('config/*.yaml')),
|
|
(os.path.join('share', package_name, 'static'),
|
|
glob('static/*')),
|
|
],
|
|
install_requires=['setuptools'],
|
|
zip_safe=True,
|
|
maintainer='seb',
|
|
maintainer_email='seb@vayrette.com',
|
|
description='Remote monitoring WebSocket relay with mobile UI',
|
|
license='MIT',
|
|
tests_require=['pytest'],
|
|
entry_points={
|
|
'console_scripts': [
|
|
'remote_monitor = saltybot_remote_monitor.remote_monitor_node:main',
|
|
],
|
|
},
|
|
)
|