# Motion Capture (MoCap)

Motion Capture (MoCap) is a [computer vision](https://en.wikipedia.org/wiki/Computer_vision) technique for estimating the 3D *pose* (position and orientation) of a vehicle using a positioning mechanism that is *external* to the vehicle. It is commonly used to navigate a vehicle in situations where GPS is absent (e.g. indoors), and provides position relative to a *local* coordinate system.

*MoCap* systems most commonly detect motion using infrared cameras, but other types of cameras, Lidar, or Ultra Wideband (UWB) may also be used.

:::note *MoCap* is conceptually similar to [Visual Inertial Odometry (VIO)](/px4-user-guide/drone_parts/companion_computer/computer_vision/visual_inertial_odometry.md). The main difference is that in VIO the vision system runs on the vehicle, and additionally makes use of the vehicle IMU to provide velocity information. :::

## MoCap Resources

For information about MoCap see:

* [Using Vision or Motion Capture Systems for Position Estimation](/px4-user-guide/robotics/ros/ros1/external_position_estimation.md).
* [Flying with Motion Capture (VICON, Optitrack)](/px4-user-guide/development/advanced/computer_vision/motion-capture.md).
* [EKF > External Vision System](/px4-user-guide/advanced_config/tuning_the_ecl_ekf.md#external-vision-system)


---

# 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://px4.gitbook.io/px4-user-guide/drone_parts/companion_computer/computer_vision/motion_capture.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.
