Skip to content

high resource usage with zed sdk 5.0.1 and noetic #967

@ladrians

Description

@ladrians

Preliminary Checks

  • This issue is not a duplicate. Before opening a new issue, please search existing issues.
  • This issue is not a question, feature request, or anything other than a bug report directly related to this project.

Description

Using the 5.0.1 SDK version on ROS noetic I noticed high resource usage. I am using jetson Orin and almost all the cores are used, this was not hapenning on 4.x version. We tweaked rate to process 5hz for images and 10hz for IMU. from the log I see

[ INFO] [1750340266.104542954]: ********** Starting nodelet '/zed/zed_node' **********
[ INFO] [1750340266.106659530]: SDK version: 5.0.1
[ INFO] [1750340266.109654442]: *** GENERAL PARAMETERS ***
...
[ INFO] [1750340266.112379658]:  * Camera resolution            -> HD720
[ INFO] [1750340266.113194954]:  * Camera Grab Framerate        -> 15
[ INFO] [1750340266.113799370]:  * Grab compute capping FPS     -> 5 Hz
[ INFO] [1750340266.114329322]:  * Publishing resolution        -> CUSTOM
[ INFO] [1750340266.114901002]:  * Publishing downscale factor  -> 2
[ INFO] [1750340266.117056746]:  * Gpu ID                       -> -1
[ INFO] [1750340266.118130314]:  * Camera ID                    -> 0
[ INFO] [1750340266.119174762]:  * SDK Verbose level            -> 1
...
[ INFO] [1750340266.126018410]: *** DYNAMIC PARAMETERS (Init. values) ***
[ INFO] [1750340266.169177162]:  * [DYN] Depth confidence       -> 50
[ INFO] [1750340266.170739818]:  * [DYN] Depth texture conf.    -> 100
[ INFO] [1750340266.172206666]:  * [DYN] point_cloud_freq       -> 4 Hz
[ INFO] [1750340266.172613226]: *** DEPTH PARAMETERS ***
[ INFO] [1750340266.178845098]:  * Depth mode                   -> NEURAL [5]
...

the resources from jtop

Image

zed_wrapper_node, nvargus_daemon and ZED_Media_Server the top ones. What actions can I take to improve it and be back to similar usage from SDK 4.x?

Steps to Reproduce

Nothing special here, just launched the standard node with the new SDK update.

Expected Result

Resource usage similar to 4.x SDK version

Actual Result

too high resource usage

ZED Camera model

ZED2i

Environment

Jetson Orin jetpack 5.1.3 L4T 35.5.0
Ubuntu 20.04.6 LTS
ROS noetic

Anything else?

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions