Skip to content

Commit

Permalink
added usage instructions
Browse files Browse the repository at this point in the history
  • Loading branch information
Herpderk committed Aug 17, 2023
1 parent 9d92bb1 commit ddb77c7
Showing 1 changed file with 16 additions and 2 deletions.
18 changes: 16 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,21 @@
# Sample repository showcasing model predictive control with PX4's offboard mode and ROS 2.


## Usage

1. Start the DDS agent.
```
MicroXRCEAgent udp4 -p 8888
```

2. In a new terminal window, cd into PX4-Autopilot and start the SITL.
```
sudo make px4_sitl gazebo-classic
```

3. In a new terminal window, run your roslaunch or script.


## Install instructions

### [ROS 2 Foxy for Ubuntu 20.04 Focal](https://docs.ros.org/en/foxy/Installation/Ubuntu-Install-Debians.html)
Expand All @@ -18,8 +34,6 @@
```
Edit your ~/.bashrc and remove all ROS related commands.



2. Make sure locale has UTF-8.
```
locale # check for UTF-8
Expand Down

0 comments on commit ddb77c7

Please sign in to comment.