Skip to content

Commit

Permalink
Replace RELIABLE with BEST_EFFORT to avoid blocking subscriptions
Browse files Browse the repository at this point in the history
  • Loading branch information
johncarl81 committed Feb 15, 2024
1 parent 60f8b02 commit 4e604a2
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions docker/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,9 @@ RUN echo debconf shared/accepted-oracle-license-v1-3 seen true | sudo debconf-se
# Install Mavros, Java & ROS Bridge
RUN apt-get -qq -y install ros-galactic-mavros oracle-java17-installer oracle-java17-set-default openjfx unzip ros-galactic-rosbridge-server libcanberra-gtk-module

# Fix DURABLE subscription overreach in rosbridge
RUN sed -i '115s/RELIABLE/BEST_EFFORT/' /opt/ros/galactic/lib/python3.8/site-packages/rosbridge_library/internal/subscribers.py

# Install maven
RUN wget https://downloads.apache.org/maven/maven-3/$MAVEN_VERSION/binaries/apache-maven-${MAVEN_VERSION}-bin.tar.gz -P /tmp
RUN tar xf /tmp/apache-maven-${MAVEN_VERSION}-bin.tar.gz -C /opt
Expand Down

0 comments on commit 4e604a2

Please sign in to comment.