mirror of
https://github.com/PX4/PX4-Autopilot.git
synced 2026-05-27 10:17:45 +08:00
enable online model lookup in gazebo
This commit is contained in:
committed by
Lorenz Meier
parent
fc3ea7143c
commit
199f6478ee
+2
-2
@@ -56,8 +56,8 @@ then
|
|||||||
export GAZEBO_PLUGIN_PATH=${GAZEBO_PLUGIN_PATH}:$curr_dir/Tools/sitl_gazebo/Build
|
export GAZEBO_PLUGIN_PATH=${GAZEBO_PLUGIN_PATH}:$curr_dir/Tools/sitl_gazebo/Build
|
||||||
# Set the model path so Gazebo finds the airframes
|
# Set the model path so Gazebo finds the airframes
|
||||||
export GAZEBO_MODEL_PATH=${GAZEBO_MODEL_PATH}:$curr_dir/Tools/sitl_gazebo/models
|
export GAZEBO_MODEL_PATH=${GAZEBO_MODEL_PATH}:$curr_dir/Tools/sitl_gazebo/models
|
||||||
# Disable online model lookup since this is quite experimental and unstable
|
# The next line would disable online model lookup, can be commented in, in case of unstable behaviour.
|
||||||
export GAZEBO_MODEL_DATABASE_URI=""
|
# export GAZEBO_MODEL_DATABASE_URI=""
|
||||||
export SITL_GAZEBO_PATH=$curr_dir/Tools/sitl_gazebo
|
export SITL_GAZEBO_PATH=$curr_dir/Tools/sitl_gazebo
|
||||||
mkdir -p Tools/sitl_gazebo/Build
|
mkdir -p Tools/sitl_gazebo/Build
|
||||||
cd Tools/sitl_gazebo/Build
|
cd Tools/sitl_gazebo/Build
|
||||||
|
|||||||
Reference in New Issue
Block a user