> For the complete documentation index, see [llms.txt](https://docs.openmind.com/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.openmind.com/simulators/troubleshooting.md).

# Troubleshooting Guidelines

### Gazebo Specific Issues

#### colcon build fails

**Problem:** Build process exits with errors.

**Solution:**

1. Ensure you're not running `colcon build` inside a virtual environment
2. Deactivate any active environments (including conda)
3. Open a fresh terminal and retry the build

#### Gazebo and RViz fail to launch

**Problem:** Simulation environment doesn't start properly.

**Solution:**

* Verify CycloneDDS is configured correctly on your system
* Check that ROS 2 middleware is properly initialized

#### Robot stops moving unexpectedly

**Problem:** Robot is unresponsive to movement commands.

**Solution:**

* Manually reposition the robot in Gazebo using translate or rotate mode
* Alternatively, use RViz to send a 2D Nav Goal pose to the robot

#### Orchestrator throws errors

**Problem:** API communication or initialization fails.

**Solution:**

1. Verify environment variables are set in your `~/.bashrc`:

   ```bash
   export OM_API_KEY=<your_key>
   export OM_API_KEY_ID=<your_key_id>
   ```
2. Confirm your virtual environment is active with Python 3.10:

   ```bash
   python --version
   which python
   ```

**Problem:** Packages not found.

**Solution:**

1. Confirm your virtual environment is active with Python 3.10:

   ```bash
   python --version
   which python
   ```
2. Confirm you installed the dependencies using `uv pip install`, during the setup. If you still face issues, try deleting and creating a new virtual environment. Make sure to export `PYTHONPATH` to correct location.

### Audio Issues

#### Robot doesn't respond to voice commands

**Problem:** Audio input/output is not working.

**Solution:**

* Check system audio settings
* Verify the correct microphone is selected as input
* Verify the correct speaker is selected as output
* Test audio with a simple recording to confirm functionality


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## Querying This Documentation
If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter, and the optional `goal` query parameter:

```
GET https://docs.openmind.com/simulators/troubleshooting.md?ask=<question>&goal=<endgoal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is optional and describes the broader end goal you are ultimately trying to accomplish on behalf of the user. GitBook uses it to tailor the answer towards what is most useful for that goal.

The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
