Skip to content

Instantly share code, notes, and snippets.

@hdh7485
Created April 28, 2021 06:52
Show Gist options
  • Save hdh7485/9ac633725ddc4a09a405080d8fafb322 to your computer and use it in GitHub Desktop.
Save hdh7485/9ac633725ddc4a09a405080d8fafb322 to your computer and use it in GitHub Desktop.
bashrc setup for px4 sitl simulation
export PX4_PATH=~/git_repo/PX4-Autopilot
export FLYING_CAR_PATH=~/flyingcar_ws/src
source $PX4_PATH/Tools/setup_gazebo.bash $PX4_PATH $PX4_PATH/build/px4_sitl_default
export ROS_PACKAGE_PATH=$ROS_PACKAGE_PATH:$PX4_PATH
export ROS_PACKAGE_PATH=$ROS_PACKAGE_PATH:$PX4_PATH/Tools/sitl_gazebo
export GAZEBO_MODEL_PATH=$GAZEBO_MODEL_PATH:$FLYING_CAR_PATH
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment