-
Notifications
You must be signed in to change notification settings - Fork 197
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
turtlebot4 service started ros-jazzy-depthai_driver for oak-d-lite non-responsive at 100% CPU - how to debug? #657
Comments
To reproduce seems to be just sending /stop_camera (but not always):
Journalctl backtrace:
|
Interesting - it just happened again, and perhaps there is a clue in the journal? When I went to sleep TB5-WaLI was docked and the camera was stopped.
|
Hi, thanks for the report, does it also happen if you run the camera driver in separation (via a launch file) |
In my current test: "turn off turtlebot4_node power_saver feature" (which prevents stopping camera when on the dock) the
Next I'll figure out how to properly stop TB4 oakd container to "run the camera driver via a launch file" and then test repeated stop_camera and start_camera service calls. (The camera is drawing 1W from a separated 5v power supply, with very good voltage regulation of +/-10mV.) |
turtlebot4.service launched Oak-D-Lite crashed and taking 100% CPU after 23 hours operation
Robot Model
Turtlebot4 Lite
ROS distro
Jazzy
Networking Configuration
Discovery Server
OS
Ubuntu 24.04
Built from source or installed?
Installed
Package version
Turtlebot4 OS: Ubuntu 24.04.1 Server
ROS: Jazzy
Turtlebot4 Processor: Raspberry Pi 5 8GB
Create3: (Iron) I.1.0.0.fast_dds
Package: ros-jazzy-turtlebot4-bringup
Status: install ok installed
Priority: optional
Section: misc
Installed-Size: 81
Maintainer: rkreinin [email protected]
Architecture: arm64
Version: 2.0.1-2noble.20241228.080750
Depends: ros-jazzy-create3-republisher, ros-jazzy-depthai-bridge, ros-jazzy-depthai-examples, ros-jazzy-depthai-ros-driver, ros-jazzy-depthai-ros-msgs, ros-jazzy-joy-linux, ros-jazzy-nav2-common, ros-jazzy-rplidar-ros, ros-jazzy-teleop-twist-joy (>= 2.6.1), ros-jazzy-tf2-ros, ros-jazzy-turtlebot4-description, ros-jazzy-turtlebot4-diagnostics, ros-jazzy-turtlebot4-node, ros-jazzy-ros-workspace
Description: Turtlebot4 Robot Bringup
Package: ros-jazzy-depthai-ros-driver
Status: install ok installed
Priority: optional
Section: misc
Installed-Size: 3426
Maintainer: Adam Serafin [email protected]
Architecture: arm64
Version: 2.10.3-1noble.20241228.074725
Type of issue
Camera
Expected behaviour
Camera was taking less than 5% of one core of Raspberry Pi 5 for most of the first twenty some hours after starting turtlebot4 service. (And the total power consumed by Raspberry Pi5 and USB powered devices (LIDAR, Speaker/Mic, GamePad WiFi Dongle) was steady 5.4W
Expected to see Diagnostics taking 15%, oakd taking 3-5% as reported in htop, and RPi5 power to be around 5.4W and /oakd/rgb/preview/image_raw to be published.
Actual behaviour
oakd is consuming 100% (htop) and RPi5 power is 6.8W and /oakd/rgb/preview/image_raw is no longer being published.
Error messages
Don't know where to look or how to retrieve.
To Reproduce
ran turtlebot4 service for 23 hours until noticed camera using excess CPU
Other notes
Restarting turtlebot4 service returned all processes to expected - camera was around 2% and publishing at 30Hz, RPi5 power consumption dropped to 6.3W but not to 5.4W seen prior.
This is the normal startup of the camera:
Since the Oak-D-Lite is a Luxonis product and the ROS 2 driver was not written by Clearpath, I am submitting this here as well.
turtlebot/turtlebot4#523
The text was updated successfully, but these errors were encountered: