> 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

Common issues and fixes when running OM1 with a simulator.

### 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 by asking a question.

Perform an HTTP GET request on the following URL with the `ask` and `goal` query parameters:

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

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is what the user is ultimately trying to achieve, the reason they need the answer. Sharing it helps GitBook give you a better, more relevant answer. A goal is most helpful when it describes the outcome the user wants rather than restating the question. For example, with `ask=how do I create an API token`, a goal like `automate deployments from our CI pipeline` lets GitBook tailor the answer to that use case.

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.
