diff --git a/Dockerfile.nav2 b/Dockerfile.nav2 deleted file mode 100644 index eb4d3f8..0000000 --- a/Dockerfile.nav2 +++ /dev/null @@ -1,33 +0,0 @@ -# FROM isaac_ros_dev-aarch64 -FROM ros:humble -ENV DEBIAN_FRONTEND=noninteractive -SHELL ["/bin/bash", "-c"] -# uodate and install dependencies -RUN apt-get update && apt-get install -y \ - ros-humble-rmw-cyclonedds-cpp ros-humble-rosidl-generator-dds-idl \ - ros-humble-realsense2-camera \ - ros-humble-pointcloud-to-laserscan \ - libyaml-cpp-dev \ - libboost-all-dev\ - build-essential \ - cmake \ - git \ - ros-humble-navigation2 \ - ros-humble-nav2-bringup \ - && rm -rf /var/lib/apt/lists/* - -# Cheange the ROS2 RMW to CycloneDDS as instructed by Unitree -RUN cd / && git clone https://github.com/unitreerobotics/unitree_ros2 && cd /unitree_ros2/cyclonedds_ws/src && \ -git clone https://github.com/ros2/rmw_cyclonedds -b humble && git clone https://github.com/eclipse-cyclonedds/cyclonedds -b releases/0.10.x &&\ -cd .. && colcon build --packages-select cyclonedds && source /opt/ros/humble/setup.bash && colcon build - -# RUN touch /workspace-entrypoint.sh -RUN echo "source /opt/ros/humble/setup.bash" > /workspace-entrypoint.sh -RUN echo "source /unitree_ros2/cyclonedds_ws/install/setup.bash" >> /workspace-entrypoint.sh -RUN echo "export RMW_IMPLEMENTATION=rmw_cyclonedds_cpp" >> /workspace-entrypoint.sh -RUN echo "/bin/bash" >> /workspace-entrypoint.sh -# RUN echo "export CYCLONEDDS_URI=' '" >> /usr/local/bin/scripts/workspace-entrypoint.sh - -# set the entrypoint to bash -# ENTRYPOINT ["/bin/bash"] -ENTRYPOINT ["/bin/bash", "/workspace-entrypoint.sh"]