stereolabs / zed-ros-wrapper

ROS wrapper for the ZED SDK
https://www.stereolabs.com/docs/ros/
MIT License
447 stars 391 forks source link

Plane Detection Not Working #841

Closed amit-z closed 2 years ago

amit-z commented 2 years ago

Preliminary Checks

Description

Hello, I am using the Zed Camera mini. When I am using the python version of plane detection in the zed-examples, the plane detection seems to work (By clicking the image). When I am trying to use the ros-wrapper zed detection, I am repeatedly getting the message `[ INFO] [1653827295.982774930]: Clicked 3D point [X FW, Y LF, Z UP]: [2.30461,-1.82917,-0.577669] [ INFO] [1653827295.983078082]: 'map' -> 'zedm_left_camera_optical_frame': {0.030,0.013,-0.001} {-0.492,0.496,-0.504,-0.507}

[ INFO] [1653827295.983322797]: Clicked point image coordinates: [603.921,273.29] [ INFO] [1653827296.078481091]: Plane not found at point [2.305,-1.829,-0.578] `

Steps to Reproduce

  1. Plug Zedm camera
  2. roslaunch zed_wrapper zedm.launch
  3. open Rviz with and add topic zedm/zed_node/plane_marker and zedm/zed_node/point_cloud/cloud_registered
  4. Publish Point from a clicked point on the Point cloud ...

Expected Result

I expected the plane to be found and be painted green, as the documentation shows

Actual Result

A message saying Plane Not Found

ZED Camera model

ZED Mini

Environment

Ubuntu 20.4, Ros Noetic

Anything else?

No response

Myzhar commented 2 years ago

Hi @amit-z are you using the same resolution in both the software?

github-actions[bot] commented 2 years ago

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

github-actions[bot] commented 2 years ago

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