From ddb77c7a4c0877cb709817383a8ad3fdfeddfb68 Mon Sep 17 00:00:00 2001 From: Derek Fan Date: Thu, 17 Aug 2023 15:44:59 -0700 Subject: [PATCH] added usage instructions --- README.md | 18 ++++++++++++++++-- 1 file changed, 16 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index fd14cd26..0995d7e2 100644 --- a/README.md +++ b/README.md @@ -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) @@ -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