I'm currently working on a robot using ROS 2. When I launch my robot in the Gazebo environment, it works fine, but when I try to visualize it in RViz, I get the following error:
error: '[rviz2-4] Error: TF_NAN_INPUT: Ignoring transform for child_frame_id "wheel_BL_link" from authority "Authority undetectable" because of a nan value in the transform (nan nan nan) (nan nan nan nan)
[rviz2-4] at line 237 in ./src/buffer_core.cpp
[rviz2-4] Error: TF_DENORMALIZED_QUATERNION: Ignoring transform for child_frame_id "wheel_BL_link" from authority "Authority undetectable" because of an invalid quaternion in the transform (nan nan nan nan)
[rviz2-4] at line 256 in ./src/buffer_core.cpp
Also, this robot uses a customized controller for locomotion, which after other Notes like rf2o_laser_odometry_node-18, and cartographer.
Any insights on how to resolve this?