Skip to content
Snippets Groups Projects
Unverified Commit 68768762 authored by Maytheewat Aramrattana's avatar Maytheewat Aramrattana Committed by GitHub
Browse files

Update Readme.md

parent 3eaaf9df
No related branches found
No related tags found
No related merge requests found
...@@ -21,14 +21,16 @@ This simulation is based on [OpenUAV](https://github.com/Open-UAV) project. ...@@ -21,14 +21,16 @@ This simulation is based on [OpenUAV](https://github.com/Open-UAV) project.
10. Go to your `catkin_ws/src` folder (`cd ~/catkin_ws/src`) and build it by typing `catkin build` in the terminal. 10. Go to your `catkin_ws/src` folder (`cd ~/catkin_ws/src`) and build it by typing `catkin build` in the terminal.
11. `source devel/setup.bash` 11. `source devel/setup.bash`
12. Now do the folliwing to configure your ROS environment 12. Now do the folliwing to configure your ROS environment
1. `roscd; cd ..; cd src/Firmware 1. `roscd`
make posix_sitl_default 2. `cd ..`
source ~/catkin_ws/devel/setup.bash 3. `cd src/Firmware`
source Tools/setup_gazebo.bash $(pwd) $(pwd)/build_posix_sitl_default 4. `make posix_sitl_default`
export ROS_PACKAGE_PATH=$ROS_PACKAGE_PATH:$(pwd) 5. `source ~/catkin_ws/devel/setup.bash`
export ROS_PACKAGE_PATH=$ROS_PACKAGE_PATH:$(pwd)/Tools/sitl_gazebo 6. `source Tools/setup_gazebo.bash $(pwd) $(pwd)/build_posix_sitl_default`
roslaunch px4 posix_sitl.launch 7. `export ROS_PACKAGE_PATH=$ROS_PACKAGE_PATH:$(pwd)`
roslaunch mavros px4.launch fcu_url:="udp://:14550@127.0.0.1:14557" 8. `export ROS_PACKAGE_PATH=$ROS_PACKAGE_PATH:$(pwd)/Tools/sitl_gazebo`
9. `roslaunch px4 posix_sitl.launch`
10. `roslaunch mavros px4.launch fcu_url:="udp://:14550@127.0.0.1:14557"`
` `
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment