Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[WIP] Add offboard python example note #1146

Closed
wants to merge 1 commit into from
Closed
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 4 additions & 0 deletions en/ros/ros2_offboard_control.md
Original file line number Diff line number Diff line change
Expand Up @@ -179,6 +179,10 @@ After building the colcon workspace, and after starting PX4 SITL and both the mi
$ source path_to_colcon_workspace/install/setup.bash
$ ros2 run px4_ros_com offboard_control
```
:::note
It's possible to run the example in python too: `ros2 run px4_ros_com offboard_control_p.py`.
If you get the error `No executable found`, change the file permissions using `sudo chmod +x src/px4_ros_com/scripts/offboard_control_p.py`.
:::

## Demo with PX4 SITL and Gazebo

Expand Down