> ## Documentation Index
> Fetch the complete documentation index at: https://docs.innate.bot/llms.txt
> Use this file to discover all available pages before exploring further.

# Debugging

> Find out why the robot, an agent, or a skill isn't working

Work from the top down. Each step rules out a layer. For logs without SSH, use the web app's [Logging page](https://docs.innate.bot/robots/apps.md#logging).

**1. Is the stack running?**

```bash theme={"languages":{"custom":["/languages/python-typed.json"]}}
innate
```

Prints the version, mode, and ROS status.

**2. Is the hardware OK?**

```bash theme={"languages":{"custom":["/languages/python-typed.json"]}}
innate diag
```

Checks servos, PCB, LiDAR, cameras, and speaker. Fix hardware failures before debugging software.

**3. What do the logs say?**

```bash theme={"languages":{"custom":["/languages/python-typed.json"]}}
innate view
```

Look for red errors and panes that keep restarting. The [node session table](https://docs.innate.bot/software/advanced-development.md#the-node-session) shows what runs where.

**4. Does the skill work alone?**

```bash theme={"languages":{"custom":["/languages/python-typed.json"]}}
innate skill run innate-os/wave
```

If the skill works by hand but not from the agent, the problem is the agent: its prompt, skill list, or inputs.

**5. What does ROS see?**

```bash theme={"languages":{"custom":["/languages/python-typed.json"]}}
ros2 node list
ros2 topic echo /battery_state
ros2 doctor
```

See [Interfaces](https://docs.innate.bot/software/ros2/interfaces.md) for what to look for.

**6. Restart or rebuild**

```bash theme={"languages":{"custom":["/languages/python-typed.json"]}}
innate restart   # restart all nodes
innate build     # rebuild and restart, after changing ROS code
```

Still stuck? [Get help on Discord](https://docs.innate.bot/robots/mars/troubleshooting.md#get-help).


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.