Skip to content

Commit

Permalink
Add offboard python example note
Browse files Browse the repository at this point in the history
This should only be included after this PR is merged:
PX4/px4_ros_com#74
@TSC21
  • Loading branch information
Gonçalo Atanásio authored Mar 25, 2021
1 parent 18d6ab3 commit 5ac880a
Showing 1 changed file with 4 additions and 0 deletions.
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

0 comments on commit 5ac880a

Please sign in to comment.