Skip to content

Commit

Permalink
Support the latest version of ardupilot_gazebo
Browse files Browse the repository at this point in the history
  • Loading branch information
clydemcqueen committed Jan 5, 2025
1 parent 07e8f41 commit 2239131
Showing 1 changed file with 10 additions and 3 deletions.
13 changes: 10 additions & 3 deletions docker/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -46,12 +46,19 @@ ENV NVIDIA_VISIBLE_DEVICES=all
ENV NVIDIA_DRIVER_CAPABILITIES=graphics,utility,compute
ENV QT_X11_NO_MITSHM=1

# Install some ardupilot and ardupilot_gazebo prereqs
# Install some ardupilot and ardupilot_gazebo prereqs (libgz-sim7-dev is for gz garden)
RUN apt-get update \
&& apt-get -y --quiet --no-install-recommends install \
&& apt-get -y --quiet --no-install-recommends install \
python3-wxgtk4.0 \
rapidjson-dev \
xterm \
libgz-sim7-dev \
libopencv-dev \
libgstreamer1.0-dev \
libgstreamer-plugins-base1.0-dev \
gstreamer1.0-plugins-bad \
gstreamer1.0-libav \
gstreamer1.0-gl \
&& rm -rf /var/lib/apt/lists/*

# Create a non-root user
Expand Down Expand Up @@ -94,7 +101,7 @@ ENV GZ_VERSION=garden
# Build ardupilot_gazebo
RUN [ "/bin/bash" , "-c" , " \
cd ardupilot_gazebo \
&& git checkout 4945088 \
&& git checkout 4b30a3d8 \
&& mkdir build \
&& cd build \
&& cmake .. -DCMAKE_BUILD_TYPE=RelWithDebInfo \
Expand Down

0 comments on commit 2239131

Please sign in to comment.