From e43458de68702dbb156c8915d1f5487bff9928ed Mon Sep 17 00:00:00 2001 From: Jakub Delicat Date: Mon, 22 Jan 2024 12:47:32 +0100 Subject: [PATCH] Added rule to run Signed-off-by: Jakub Delicat --- Dockerfile | 33 ----- compose.hokuyo.yaml | 2 +- pioneer3dx.urdf | 352 -------------------------------------------- ros_entrypoint.sh | 7 - 4 files changed, 1 insertion(+), 393 deletions(-) delete mode 100644 Dockerfile delete mode 100644 pioneer3dx.urdf delete mode 100644 ros_entrypoint.sh diff --git a/Dockerfile b/Dockerfile deleted file mode 100644 index ce82db1..0000000 --- a/Dockerfile +++ /dev/null @@ -1,33 +0,0 @@ -ARG ROS_DISTRO=humble -FROM delicjusz/ros2aria -SHELL ["/bin/bash", "-c"] -RUN apt-get update && apt-get install -y \ - git \ - python3-colcon-common-extensions \ - python3-rosdep \ - build-essential - -WORKDIR /ros2_ws - -COPY src/ /ros2_ws/src/ -RUN source /opt/ros/$ROS_DISTRO/setup.bash && \ - rm -rf /etc/ros/rosdep/sources.list.d/20-default.list && \ - rosdep init && \ - rosdep update --rosdistro $ROS_DISTRO && \ - rosdep install -i --from-path src --rosdistro $ROS_DISTRO -y && \ - colcon build - - -RUN echo "source /opt/ros/$ROS_DISTRO/setup.bash" >> ~/.bashrc -# COPY ros_entrypoint.sh / -# ENTRYPOINT ["../ros_entrypoint.sh"] -# RUN chmod +x /ros_entrypoint.sh - -# clear ubuntu packages -# RUN export SUDO_FORCE_REMOVE=yes && \ -# apt-get clean && \ -# apt-get remove -y \ -# python3-colcon-common-extensions \ -# python3-rosdep \ -# build-essential && \ -# rm -rf /var/lib/apt/lists/* \ No newline at end of file diff --git a/compose.hokuyo.yaml b/compose.hokuyo.yaml index 2a1c520..c3b4218 100644 --- a/compose.hokuyo.yaml +++ b/compose.hokuyo.yaml @@ -15,4 +15,4 @@ services: ros2 run urg_node urg_node_driver --ros-args -r __ns:=/pioneer${PIONEER_ID} -p laser_frame_id:=pioneer${PIONEER_ID}/laser -p - serial_port:=/dev/ttyACM0 \ No newline at end of file + serial_port:=/dev/hokuyo \ No newline at end of file diff --git a/pioneer3dx.urdf b/pioneer3dx.urdf deleted file mode 100644 index 32dd74d..0000000 --- a/pioneer3dx.urdf +++ /dev/null @@ -1,352 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - Gazebo/Black - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - true - 100 - left_wheel_joint - right_wheel_joint - 0.158 - 0.12 - 5 - - cmd_vel - base_link - odom - odom - - - - - diff --git a/ros_entrypoint.sh b/ros_entrypoint.sh deleted file mode 100644 index 1037048..0000000 --- a/ros_entrypoint.sh +++ /dev/null @@ -1,7 +0,0 @@ -#!/bin/bash -set -e - -# setup ros environment -source "/opt/ros/$ROS_DISTRO/setup.bash" -source "install/setup.bash" -exec "$@" \ No newline at end of file