Skip to content

Commit

Permalink
workaround for 1st startup after reboot
Browse files Browse the repository at this point in the history
  • Loading branch information
DominikN committed Sep 30, 2024
1 parent 9ae5ea7 commit c708285
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion snap/local/camera-params-default.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@
i_pipeline_dump: false
i_pipeline_type: RGB
i_publish_tf_from_calibration: false
i_restart_on_diagnostics_error: false
i_restart_on_diagnostics_error: true
i_usb_port_id: ''
i_usb_speed: SUPER_PLUS
diagnostic_updater:
Expand Down
2 changes: 1 addition & 1 deletion snap/local/launcher.sh
Original file line number Diff line number Diff line change
Expand Up @@ -46,6 +46,6 @@ if [ "${LAUNCH_OPTIONS}" ]; then
fi

# TODO: workaround for the booting issue: sometimes the snap doesn't work correctly after reboot (only reboot) but logs seems to look fine
sleep 3
sleep 7

ros2 launch $SNAP/usr/bin/depthai.launch.py ${LAUNCH_OPTIONS}

0 comments on commit c708285

Please sign in to comment.