# ROS2 & PX4 Teleop Example

We previously had a popular [ros2\_px4\_offboard\_example](https://github.com/ARK-Electronics/ROS2_PX4_Offboard_Example) based on Python and the offboard control mode. However, maintaining it became challenging. In this repository, we've migrated the code to C++ and implemented it using a Custom PX4 Flight Mode(PX4 ROS 2 Interface Library) for improved maintainability and performance.<br>

{% embed url="<https://www.youtube.com/watch?v=skv9fBnTFDU>" %}

The repository can be found here:\
<https://github.com/ARK-Electronics/ros2_px4_teleop_example><br>


---

# 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://docs.arkelectron.com/tutorials/ros2-and-px4/ros2-and-px4-teleop-example.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.
