> For the complete documentation index, see [llms.txt](https://roar.gitbook.io/roar_py_rl-documentation/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://roar.gitbook.io/roar_py_rl-documentation/environment-details/action-space.md).

# Action Space

The action space of every `RoarRLEnv` would be identical to the return value of `RoarPyActor.get_action_spec()`

{% hint style="info" %}
See [here](https://github.com/augcog/ROAR_PY/blob/e9ba4e514016b0d3a2bf35972b38633b2b94b741/roar_py_carla/roar_py_carla/actors/carla_vehicle.py#L20) for the action space for Carla vehicles
{% endhint %}

{% hint style="info" %}
For ROAR group's internal RL code, we had to filter out some action dimensions to make training quicker. See the following link for how we filter out actions.\
<https://github.com/augcog/ROAR_PY_RL/blob/e23f221d983bd7fb8c39d86af27828f6f184447b/training/env_util.py#L9>
{% endhint %}


---

# 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:

```
GET https://roar.gitbook.io/roar_py_rl-documentation/environment-details/action-space.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
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.
