Skip to content

Commit 3223415

Browse files
committed
test run_slam_offline
1 parent 422abca commit 3223415

File tree

1 file changed

+8
-5
lines changed

1 file changed

+8
-5
lines changed

.github/workflows/main.yml

Lines changed: 8 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -2,9 +2,9 @@ name: CI
22

33
on:
44
push:
5-
branches: [ ros2 ]
5+
branches: [ros2]
66
pull_request:
7-
branches: [ ros2 ]
7+
branches: [ros2]
88

99
workflow_dispatch:
1010

@@ -15,9 +15,9 @@ jobs:
1515
- uses: actions/checkout@v3
1616
- uses: DoozyX/clang-format-lint-action@v0.12
1717
with:
18-
source: '.'
19-
exclude: './3rd'
20-
extensions: 'h,cc'
18+
source: "."
19+
exclude: "./3rd"
20+
extensions: "h,cc"
2121
clangFormatVersion: 6
2222
style: file
2323
inplace: False
@@ -82,6 +82,9 @@ jobs:
8282
(source /opt/ros/${ROS_DISTRO}/setup.bash && ros2 bag play MH_04_difficult)
8383
pkill -SIGINT -f run_slam
8484
pkill -SIGINT -f static_transform_publisher
85+
- name: run slam offline (stereo)
86+
run: |
87+
(source /opt/ros/${ROS_DISTRO}/setup.bash && source /ros_ws/install/setup.bash && ros2 run stella_vslam_ros run_slam_offline -b /datasets/EuRoC/MH_04_difficult.bag -r -v /datasets/orb_vocab/orb_vocab.fbow -c /ros_ws/src/stella_vslam/example/euroc/EuRoC_stereo.yaml --map-db-out map_stereo.msg --left=/cam0/image_raw --right=/cam1/image_raw)&
8588
8689
rosdep:
8790
runs-on: ubuntu-latest

0 commit comments

Comments
 (0)