Running Oak-D-Lite RGBD Camera (with Mobilenet Detections) Causes Create3 100% CPU for 25 minutes #541
-
How are you connecting to your Create 3?Wi-Fi (ROS 2) Computer(s) Model(s) and Operating System(s)Ubuntu 22.04 in Docker over Raspberry Pi 5 PiOS Bookworm Which version of ROS 2 is installed on your computer?Humble Which firmware version is installed on your robot?H.2.4 Which RMW is your robot running?FastRTPS Does your robot have an assigned namespace? If so, please share.No response Is the robot connected to a network? If so, what is the network type?Yes: 2.4GHz Home WiFi Are there multiple Create 3 robots connected to your network?No Is multicast enabled?Yes What is the Adapter Board's USB/BLE Toggle currently switched to?Bluetooth (default) Describe your question.I have seen occasional 100%CPU when starting up new ROS 2 nodes before, but it seems running the Oak-D-Lite RGBD camera publishing RGB video, Stereo Depth "video", and MobileNet detections (with or without RTABmap, with or without rviz2 subscribing) cripples my Create3. This maxing out the CPU(s) was mentioned in the ROScon, and appears in several issue reports - is my plan for using the Create3 with the Oak-D-Lite for localization/navigation doomed?
|
Beta Was this translation helpful? Give feedback.
Replies: 4 comments 3 replies
-
Beta Was this translation helpful? Give feedback.
-
Besides the CPU usage, what surprised me is that your first post shows a very high RAM usage: Does your create 3 and the laptop need to communicate? Because you could restrict the create 3 to communicate only with the Raspberry Pi. Alternatively, you can try to use cyclonedds rather than fast-dds. Remember that if you change middleware, you need to change it everywhere (robot, raspberry pi, laptop) |
Beta Was this translation helpful? Give feedback.
-
@alsora Thank you for reviewing my post.
I'm not sure I understand "Does your create 3 and the laptop need to communicate?"
Do you mean the "Discovery Server" configuration described on the TurtleBot4 manual?
I am hesitant (due to my severe lack of knowledge) to "go back to cycloneDDS", in light of statements when Humble was released: From discourse.ros.org:
This does seem relatively easy to try, although I am not sure I have a specific reference test case measurements to know which is better. |
Beta Was this translation helpful? Give feedback.
-
New FW to test |
Beta Was this translation helpful? Give feedback.
Test running camera for whole playtime
Interestingly, I can launch the camera (no RTABmap for this test) and still drive Create3-Wali slowly without crashing the Create3.
Here is
The Create3 is reporting max 100% CPU but only 94% average load which appears to support responding to /cmd_vel topics acceptably: