fixposition / fixposition_driver

ROS Driver for Fixposition Vision-RTK 2 Visual Inertial GNSS Positioning Sensor
MIT License
45 stars 38 forks source link

Ignore tf messages with invalid quaternion #69

Open yiebo opened 1 month ago

yiebo commented 1 month ago

A TF message with rotation 0 0 0 0 will be accepted and send by the fixposition ros driver when no gnss signal is acquired. When using the (python) TransformListener in a node, this will continuously throw the following error messages: Error: TF_NAN_INPUT: Ignoring transform for child_frame_id "FP_ENU0" from authority "default_authority" because of a nan value in the transform (0.000000 0.000000 0.000000) (nan nan nan nan).

Rayman commented 1 week ago

@fgarciacardenas what do you think of this change?