Skip to content

Commit

Permalink
Update entrypoint_sitl_gzsim.sh with GZ_IP env var option
Browse files Browse the repository at this point in the history
  • Loading branch information
haitomatic authored Feb 26, 2024
1 parent 7ff693f commit fd0196e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packaging/entrypoint_sitl_gzsim.sh
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ 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=$(hostname -i)
export GZ_IP=${GZ_IP:-$(hostname -i)}

source /opt/ros/humble/setup.sh

Expand Down

0 comments on commit fd0196e

Please sign in to comment.