Skip to content
This repository was archived by the owner on Jan 23, 2026. It is now read-only.

Commit 661d62a

Browse files
committed
Fixed king_engine dependencies. Changed save rate on multibagger.py
1 parent 0a5039f commit 661d62a

File tree

4 files changed

+12
-8
lines changed

4 files changed

+12
-8
lines changed

.gitignore

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -42,4 +42,6 @@ __pycache__/
4242
# Ros build files
4343
build/
4444
log/
45-
install/
45+
install/
46+
47+
rosbag*

src/king_engine/package.xml

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -9,15 +9,9 @@
99

1010
<depend>rclcpp</depend>
1111
<depend>custom_types</depend>
12-
<!-- <depend>direct_lidar_odometry</depend> -->
1312
<depend>geometry_msgs</depend>
1413
<exec_depend>ros2launch</exec_depend>
15-
<depend>path_plan</depend>
16-
<depend>rio_interface</depend>
1714
<depend>sick_scan_xd</depend>
18-
<depend>traversal</depend>
19-
<depend>sick_perception</depend>
20-
<depend>video_publisher</depend>
2115
<depend>std_msgs</depend>
2216

2317
<buildtool_depend>ament_cmake</buildtool_depend>

src/scripts/multibagger.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77
TOPICS="/cloud_all_fields_fullframe /filtered_imu /filtered_cloud /ImageRight /ImageLeft /ImageCenter"
88
ROS_BAG_PROC_INIT = ["ros2", "wtf", "bag", "record", TOPICS, "--compression-mode", "file", "--compression-format", "zstd"]
99

10-
SECONDS_PER_BAG = 10
10+
SECONDS_PER_BAG = 270
1111
OVERLAP_SECONDS = 5
1212

1313
recorders = []

startup.sh

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,8 @@
1+
colcon build --executor parallel
2+
source ./install/setup.bash
3+
ros2 launch king_engine lance.launch.py &
4+
source ./src/scripts/recorder.bash &
5+
python3 ./src/scripts/multibagger.py &
6+
sudo motion
7+
echo "Go to 10.11.11.13:8080 For camera views."
8+
echo "DONE!"

0 commit comments

Comments
 (0)