mirror of
https://github.com/PX4/PX4-Autopilot.git
synced 2026-05-28 02:36:37 +08:00
Source environment inside the script
This commit is contained in:
committed by
Lorenz Meier
parent
155a212109
commit
876f42c171
@@ -22,6 +22,8 @@ pkill -x px4 || true
|
||||
|
||||
sleep 1
|
||||
|
||||
source ${src_path}/Tools/setup_gazebo.bash ${src_path} ${src_path}/build/px4_sitl_default
|
||||
|
||||
export PX4_SIM_MODEL=iris
|
||||
|
||||
echo "Starting gazebo"
|
||||
|
||||
Reference in New Issue
Block a user