# Notes on URDF and MJCF

It is important to note the slight differences between the URDF and MJCF formats to avoid bugs. In this writeup I will try to list down some common pitfalls on working with these two formats.

### Box size

URDF defines a box size with the three side lengths, while MJCF specifies **half-size** length.

<figure><img src="/files/cEEP8LAulLqvKmndKamC" alt=""><figcaption></figcaption></figure>


---

# Agent Instructions: 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://tk233.gitbook.io/notes/ml-rl/notes-on-urdf-and-mjcf.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.
