Skip to content

Commit

Permalink
Update entrypoint_sitl_gzsim.sh
Browse files Browse the repository at this point in the history
  • Loading branch information
haitomatic authored Mar 25, 2024
1 parent 35cdd02 commit dcb5b53
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion packaging/entrypoint_sitl_gzsim.sh
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,9 @@ case $PX4_VEHICLE_TYPE in
export PX4_SYS_AUTOSTART=4440
export PX4_GZ_MODEL=skywalker_x8
;;
custom)
# user is responsible for setting PX4_SYS_AUTOSTART and PX4_GZ_MODEL
;;
*)
echo "ERROR: unknown vehicle type: $PX4_VEHICLE_TYPE"
exit 1
Expand All @@ -29,7 +32,6 @@ esac
export PX4_GZ_MODEL_NAME=$DRONE_DEVICE_ID
export PX4_GZ_WORLD=${PX4_GZ_WORLD:-default}
export GZ_PARTITION=sim
export GZ_RELAY=$(dig +short gazebo-server)
export GZ_IP=${GZ_IP:-127.0.0.1}

source /opt/ros/humble/setup.sh
Expand Down

0 comments on commit dcb5b53

Please sign in to comment.