Metadata-Version: 2.4
Name: robosol-cli
Version: 0.1.0
Summary: Connect your ROS 2 workspace to RoboSol AI diagnostics
Author: RoboSol
License: MIT
Project-URL: Homepage, https://robosol.vercel.app
Keywords: ros2,robotics,diagnostics,ai
Classifier: Programming Language :: Python :: 3
Classifier: Operating System :: POSIX :: Linux
Classifier: Topic :: Scientific/Engineering :: Artificial Intelligence
Requires-Python: >=3.8
Description-Content-Type: text/markdown

# RoboSol CLI

Connect your ROS 2 workspace to [RoboSol](https://robosol.vercel.app) AI diagnostics.

Instead of copy-pasting terminal output, run one command and the AI sees your live node graph, topic rates, TF tree, parameters, and launch/config files.

## Install

```bash
pip install robosol-cli
```

Or from source:

```bash
git clone https://github.com/Aniverseee/robosol-cli
cd robosol-cli
pip install .
```

## Usage

Make sure ROS 2 is sourced, then:

```bash
# Snapshot the running ROS 2 system
robosol snapshot

# Also include launch files, YAML configs, URDF/Xacro from your workspace
robosol snapshot --ws ~/ros2_ws

# Preview what gets collected without uploading
robosol snapshot --dry-run
```

You'll get a 6-digit code. Go to [robosol.vercel.app](https://robosol.vercel.app), open a chat, and type:

```
/connect 123456
```

The AI now diagnoses with your actual workspace data.

## What it collects

- `ros2 node list` + per-node info (subs/pubs/services)
- `ros2 topic list` + frequencies of key topics (cmd_vel, odom, scan, imu, tf...)
- `ros2 param list`, `ros2 doctor --report`
- TF tree snapshot
- ROS environment variables (ROS_DISTRO, RMW_IMPLEMENTATION, ROS_DOMAIN_ID...)
- With `--ws`: launch files, YAML configs, URDF/Xacro (first 25 files, 30KB each)

Nothing else. No source code, no credentials, no personal files. Use `--dry-run` to see exactly what's sent. Snapshots expire after 24 hours.
