Skip to content

Commit

Permalink
Update README.md (#697)
Browse files Browse the repository at this point in the history
Modify the path to source setup_gazebo.bash as the simulation in the firmware is updated from gazebo to gazebo-classic
  • Loading branch information
ChanJoon committed May 15, 2023
1 parent 4531e23 commit d2ec8c0
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -180,7 +180,7 @@ In the following section we guide you through installing and running a Gazebo si
# Quit the simulation (Ctrl+C)
# Setup some more Gazebo-related environment variables (modify this line based on the location of the Firmware folder on your machine)
. ~/Firmware/Tools/simulation/gazebo/setup_gazebo.bash ~/Firmware ~/Firmware/build/px4_sitl_default
. ~/Firmware/Tools/simulation/gazebo-classic/setup_gazebo.bash ~/Firmware ~/Firmware/build/px4_sitl_default
```

1. Add the Firmware directory to ROS_PACKAGE_PATH so that ROS can start PX4:
Expand All @@ -203,7 +203,7 @@ Ensure that at the bottom of that document you have exactly this:
```bash
source /opt/ros/noetic/setup.bash
source ~/catkin_ws/devel/setup.bash
. ~/Firmware/Tools/simulation/gazebo/setup_gazebo.bash ~/Firmware ~/Firmware/build/px4_sitl_default
. ~/Firmware/Tools/simulation/gazebo-classic/setup_gazebo.bash ~/Firmware ~/Firmware/build/px4_sitl_default
export GAZEBO_MODEL_PATH=${GAZEBO_MODEL_PATH}:~/catkin_ws/src/avoidance/avoidance/sim/models:~/catkin_ws/src/avoidance/avoidance/sim/worlds
export ROS_PACKAGE_PATH=${ROS_PACKAGE_PATH}:~/Firmware
```
Expand Down

0 comments on commit d2ec8c0

Please sign in to comment.