Skip to content

Commit

Permalink
Add option to use rmw_connextdds
Browse files Browse the repository at this point in the history
  • Loading branch information
ruffsl committed Mar 2, 2021
1 parent 7bb7551 commit 66a44ec
Show file tree
Hide file tree
Showing 4 changed files with 21 additions and 0 deletions.
15 changes: 15 additions & 0 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -37,6 +37,21 @@ RUN apt-get update && apt-get install -y \
vim \
&& rm -rf /var/lib/apt/lists/*

# # install RTI Connext DDS
# # set up environment
# ENV NDDSHOME /opt/rti.com/rti_connext_dds-6.0.1
# WORKDIR $NDDSHOME
# COPY ./rti ./
# RUN yes | ./rti_connext_dds-6.0.1-eval-x64Linux3gcc5.4.0.run && \
# mv y/*/* ./ && rm -rf y
# # set RTI DDS environment
# ENV CONNEXTDDS_DIR $NDDSHOME
# ENV PATH "$NDDSHOME/bin":$PATH
# ENV LD_LIBRARY_PATH "$NDDSHOME/lib/x64Linux3gcc5.4.0":$LD_LIBRARY_PATH
# # set RTI openssl environment
# ENV PATH "$NDDSHOME/third_party/openssl-1.1.1d/x64Linux4gcc7.3.0/release/bin":$PATH
# ENV LD_LIBRARY_PATH "$NDDSHOME/third_party/openssl-1.1.1d/x64Linux4gcc7.3.0/release/lib":$LD_LIBRARY_PATH

# install overlay dependencies
ARG OVERLAY_WS
WORKDIR $OVERLAY_WS
Expand Down
1 change: 1 addition & 0 deletions configs/secure.conf
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@ send-keys 'glances' Enter

setenv FOO "foo"
# setenv RMW_IMPLEMENTATION rmw_connext_cpp
# setenv RMW_IMPLEMENTATION rmw_connextdds
setenv ROS_SECURITY_ENABLE true
setenv ROS_SECURITY_STRATEGY Enforce
setenv ROS_SECURITY_KEYSTORE $TB3_DEMO_DIR/keystore
Expand Down
1 change: 1 addition & 0 deletions configs/unsecure.conf
Original file line number Diff line number Diff line change
Expand Up @@ -6,5 +6,6 @@ send-keys 'glances' Enter

setenv FOO "foo"
# setenv RMW_IMPLEMENTATION rmw_connext_cpp
# setenv RMW_IMPLEMENTATION rmw_connextdds

source configs/common.conf
4 changes: 4 additions & 0 deletions overlay/overlay.repos
Original file line number Diff line number Diff line change
@@ -1,4 +1,8 @@
repositories:
# rticommunity/rmw_connextdds:
# type: git
# url: https://github.com/rticommunity/rmw_connextdds.git
# version: master
# ROBOTIS-GIT/turtlebot3:
# type: git
# # url: https://github.com/ROBOTIS-GIT/turtlebot3.git
Expand Down

0 comments on commit 66a44ec

Please sign in to comment.