From 1e8ea51cc1f99339d13e2f8868f54fbc386c526a Mon Sep 17 00:00:00 2001 From: knorrrr <99851410+knorrrr@users.noreply.github.com> Date: Tue, 29 Oct 2024 16:53:29 +0900 Subject: [PATCH 1/5] add script (#156) --- aichallenge/record_rosbag.bash | 4 ++++ 1 file changed, 4 insertions(+) create mode 100755 aichallenge/record_rosbag.bash diff --git a/aichallenge/record_rosbag.bash b/aichallenge/record_rosbag.bash new file mode 100755 index 00000000..35e8db45 --- /dev/null +++ b/aichallenge/record_rosbag.bash @@ -0,0 +1,4 @@ +#!/bin/bash + +source /aichallenge/workspace/install/setup.bash +ros2 bag record -a -x "(/racing_kart/.*|/to_can_bus|/from_can_bus)" \ No newline at end of file From a901fe5ab650227d28ac2179dd3768dc405a6139 Mon Sep 17 00:00:00 2001 From: Yu Asabe Date: Tue, 29 Oct 2024 23:17:40 +0900 Subject: [PATCH 2/5] fix: update MAC address of vehicle A7 (#155) Signed-off-by: Yu Asabe --- remote/scan_ip_addr.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/remote/scan_ip_addr.py b/remote/scan_ip_addr.py index 9dee716b..9eef3a72 100755 --- a/remote/scan_ip_addr.py +++ b/remote/scan_ip_addr.py @@ -10,7 +10,7 @@ "A4": "a8:43:a4:54:aa:63", "A5": "c0:4b:24:c0:fc:fc", "A6": "c0:4b:24:02:5d:55", - "A7": "c0:4b:24:02:9a:41", + "A7": "c0:4b:24:c1:03:de", "A8": "c8:8a:d8:1e:b3:81", } From a599463bbe2317c64e16bcf62e983e75ef3f39a6 Mon Sep 17 00:00:00 2001 From: knorrrr <99851410+knorrrr@users.noreply.github.com> Date: Wed, 30 Oct 2024 08:36:11 +0900 Subject: [PATCH 3/5] limit topic rate (#157) --- vehicle/zenoh.json5 | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/vehicle/zenoh.json5 b/vehicle/zenoh.json5 index 0e1ddbaf..9f0e1baa 100644 --- a/vehicle/zenoh.json5 +++ b/vehicle/zenoh.json5 @@ -75,7 +75,7 @@ //// - "regex" is a regular expression matching a Publisher interface name //// - "float" is the maximum frequency in Hertz; //// if publication rate is higher, downsampling will occur when routing. - // pub_max_frequencies: [".*/laser_scan=5", "/tf=10"], + pub_max_frequencies: ["/*=10"], //// //// pub_priorities: Specify a list of priorities of publications routing over zenoh for a set of Publishers. From 1cc9b7326274567a1df08bd0faa8930db4da1b4f Mon Sep 17 00:00:00 2001 From: knorrrr <99851410+knorrrr@users.noreply.github.com> Date: Thu, 7 Nov 2024 09:45:19 +0900 Subject: [PATCH 4/5] fix: change from copy to volume mount using rocker (#158) * del dockerfile and mount docker_run * fix unintended change --- Dockerfile | 3 --- docker_run.sh | 2 +- 2 files changed, 1 insertion(+), 4 deletions(-) diff --git a/Dockerfile b/Dockerfile index fb659c8b..cd68675f 100644 --- a/Dockerfile +++ b/Dockerfile @@ -11,9 +11,6 @@ RUN apt-get -y install ros-humble-rqt-graph RUN apt install zenoh-bridge-ros2dds terminator -y RUN apt install arp-scan -y -COPY --chmod=757 remote /remote -COPY --chmod=757 vehicle /vehicle - # PATH="$PATH:/root/.local/bin" # PATH="/usr/local/cuda/bin:$PATH" ENV XDG_RUNTIME_DIR=/tmp/xdg diff --git a/docker_run.sh b/docker_run.sh index 10c21996..2df7d453 100755 --- a/docker_run.sh +++ b/docker_run.sh @@ -8,7 +8,7 @@ case "${target}" in volume="output:/output" ;; "dev") - volume="output:/output aichallenge:/aichallenge" + volume="output:/output aichallenge:/aichallenge remote:/remote vehicle:/vehicle" ;; *) echo "invalid argument (use 'dev' or 'eval')" From 616db8876890e507fdcdf0fe2ca2687f46703fb9 Mon Sep 17 00:00:00 2001 From: "Takagi, Isamu" <43976882+isamu-takagi@users.noreply.github.com> Date: Thu, 7 Nov 2024 11:27:17 +0900 Subject: [PATCH 5/5] Revert "fix: change from copy to volume mount using rocker (#158)" (#161) This reverts commit 1cc9b7326274567a1df08bd0faa8930db4da1b4f. --- Dockerfile | 3 +++ docker_run.sh | 2 +- 2 files changed, 4 insertions(+), 1 deletion(-) diff --git a/Dockerfile b/Dockerfile index cd68675f..fb659c8b 100644 --- a/Dockerfile +++ b/Dockerfile @@ -11,6 +11,9 @@ RUN apt-get -y install ros-humble-rqt-graph RUN apt install zenoh-bridge-ros2dds terminator -y RUN apt install arp-scan -y +COPY --chmod=757 remote /remote +COPY --chmod=757 vehicle /vehicle + # PATH="$PATH:/root/.local/bin" # PATH="/usr/local/cuda/bin:$PATH" ENV XDG_RUNTIME_DIR=/tmp/xdg diff --git a/docker_run.sh b/docker_run.sh index 2df7d453..10c21996 100755 --- a/docker_run.sh +++ b/docker_run.sh @@ -8,7 +8,7 @@ case "${target}" in volume="output:/output" ;; "dev") - volume="output:/output aichallenge:/aichallenge remote:/remote vehicle:/vehicle" + volume="output:/output aichallenge:/aichallenge" ;; *) echo "invalid argument (use 'dev' or 'eval')"