stereolabs / zed-ros-wrapper

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

publish tf for odom and map seems to be bugged with nan transform #916

Closed khuechuong closed 10 months ago

khuechuong commented 10 months ago

Preliminary Checks

Description

I ran zed wrapper for zedm and I get this error:

at line 240 in /tmp/binarydeb/ros-noetic-tf2-0.7.6/src/buffer_core.cpp Error: TF_DENORMALIZED_QUATERNION: Ignoring transform for child_frame_id "base_link" from authority "unknown_publisher" because of an invalid quaternion in the transform (-nan -nan -nan -nan)

I ran rostopic echo tf and I see this:

transforms:

Steps to Reproduce

1.roslaunch zed_wrapper zedm.launch 2.rostopic echo tf 3. ...

Expected Result

normal run

Actual Result

nan transform error non stop

ZED Camera model

ZED Mini

Environment

ROS Noetic
Ubuntu 20.04

Anything else?

No response

Myzhar commented 10 months ago

Hi @khuechuong is your camera working correctly? Can you open it with ZED Sensor Viewer and let me know if you can currently acquire inertial data?

khuechuong commented 10 months ago

After a while, I just decided to uninstall and reinstall plus reboot and that solved it.