stereolabs/zed-ros-wrapper

Object Detection on Rosbag Data

Closed this issue · 1 comments

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

I recorded zed2 topics using ros2 in a Rosbag file. I am aiming to replay this rosbag and utilize zed2 object detection on my rosbag data and visualize it in Rviz.

This is the zed/zed_node/obj_det/objects topic info
Type: zed_interfaces/msg/ObjectsStamped

Publisher count: 0

Subscription count: 1

Node name: zed2_rviz2
Node namespace: /zed
Topic type: zed_interfaces/msg/ObjectsStamped
Endpoint type: SUBSCRIPTION
GID: 01.0f.ad.42.7d.2d.bb.3b.01.00.00.00.00.00.40.04.00.00.00.00.00.00.00.00
QoS profile:
Reliability: RELIABLE
History (Depth): UNKNOWN
Durability: VOLATILE
Lifespan: Infinite
Deadline: Infinite
Liveliness: AUTOMATIC
Liveliness lease duration: Infinite

I was adding object_detection enable parameter in zed_camera.launch.py file. I have attached my zed_camera.launch.py and terminal output for the same in the zip.

Files.zip

Steps to Reproduce

  1. Record zed2 camera data in a rosbag, include all topics.
  2. Run rosbag
  3. Ros2 launch zed_wrapper zed_camera.launch.py camera_model:=zed2

...

Expected Result

Bounding Boxes on the objects.

Actual Result

No bounding boxes

ZED Camera model

ZED2

Environment

data I collected was from ZED2 running on Jetson orin
Current Systems
OS PopOS 22
Ros Humble
Architecture:x86_64
NVIDIA GeForce RTX 3050
ZED SDK Version: 4.0.8

Anything else?

I know .svo is great alternative but for application I want to use Rosbag

This issue is stale because it has been open 30 days with no activity. Remove stale label or comment otherwise it will be automatically closed in 5 days