Skip to content

Commit

Permalink
Remove udev restart and use the daemon directly
Browse files Browse the repository at this point in the history
  • Loading branch information
maseabunikie committed Apr 16, 2024
1 parent 353d616 commit a6859d9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion entrypoint.sh
Original file line number Diff line number Diff line change
Expand Up @@ -57,7 +57,7 @@ fi
# The reason is that depthai camera switches to onboard processor when initialized, and causing USB device name changed.
# Old version with ubuntu base worked OK for hotplug, but this one does not.
# This could cause problem on the host machine, causing some USB devices to disconnect and require a unplug-replug.
/etc/init.d/udev start
/sbin/udevd -d
mode="${1}"
if [ "${mode}" = "gstreamer" ]; then
ros-with-env ros2 run depthai_ctrl gstreamer_node \
Expand Down

0 comments on commit a6859d9

Please sign in to comment.