Skip to content

Commit

Permalink
update config and recorder launch file
Browse files Browse the repository at this point in the history
  • Loading branch information
raghavauppuluri13 committed Nov 4, 2023
1 parent 18c464c commit f3e15d2
Show file tree
Hide file tree
Showing 2 changed files with 15 additions and 1 deletion.
14 changes: 14 additions & 0 deletions lunabot_bringup/launch/slam_record.launch
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
<?xml version="1.0"?>
<launch>
<!-- Group without delay -->
<group>
<!-- Run lunabot_bringup -->
<include file="$(find lunabot_bringup)/launch/overhead.launch"/>

<!-- Run lunabot_perception -->
<include file="$(find lunabot_perception)/launch/cameras.launch"/>
</group>

<!-- Rosbag record with delay -->
<node name="rosbag_record" pkg="rosbag" type="record" args="-o slam_gt /imu /d455_back/camera/color/image_rect_color /d455_back/camera/aligned_depth_to_color/image_raw /d455_back/camera/aligned_depth_to_color/camera_info /d455_back/camera/color/camera_info /usb_cam/tag_detections --split --duration 60" launch-prefix="bash -c 'sleep 5; $0 $@'"/>
</launch>
2 changes: 1 addition & 1 deletion lunabot_config/config/overhead.yml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
start_service_name: "start_capture" # Defines name suffix for std_srvs::Empty service which restarts suspended streaming
stop_service_name: "stop_capture" # Defines name suffix for std_srvs::Empty service which suspends camera polling timer

video_device: /dev/video2 # Device driver's entrypoint
video_device: /dev/video0 # Device driver's entrypoint
io_method: mmap # I/O method
# - read - for devices supporting virtual filesystem or block I/O
# - mmap - for devices with direct libusb memory mapping
Expand Down

0 comments on commit f3e15d2

Please sign in to comment.