Robotics StackExchange | Archived questions

[ROS2] Rviz2 and server TF link cannot connet

Hi I’m facing trouble ROS2 connection issue as title . Please let me introduce my system/ process How should I avoid this error and working carter well? Ubuntu 20.04 LTS ROS is FOXY

              Rviz2: This is RViz version Alpha (ROS 2.0).
               Compiled against Qt version 5.12.8.
              Compiled against OGRE version 1.12.1 (Rhagorthua).

image description](https://global.discourse-cdn.com/nvidia/optimized/3X/7/3/739f9157ec6111778be2dabd187a4bfd74c26712_2_690x435.png)

               ROS_PYTHON_VERSION=3
               ROS_LOCALHOST_ONLY=0
               ROS_DISTRO=foxy

urdf file which is installed in Issac SIM

https://docs.omniverse.nvidia.com/app_isaacsim/app_isaacsim/tutorial_ros2_navigation.html

-build by colcon build

simple communication ROS2 command is no problem.

              (Hello - response)
             following tutorial explain after execute launched. failed set Carter and move it . 
             [rviz2-1] Warning: Invalid frame ID   "map" passed to canTransform argument target_frame - frame does not exist 
            [rviz2-1] at line 133 in /tmp/binarydeb/ros-foxy-tf2-0.13.13/src/buffer_core.cpp 


            [rviz2-1] Warning: Invalid frame ID “map” passed to canTransform argument target_frame - frame does not exist
           [rviz2-1] at line 133 in /tmp/binarydeb/ros-foxy-tf2-0.13.13/src/buffer_core.cpp
           [rviz2-1] Warning: Invalid frame ID “map” passed to canTransform argument target_frame - frame does not exist
           [rviz2-1] at line 133 in /tmp/binarydeb/ros-foxy-tf2-0.13.13/src/buffer_core.cpp
           [rviz2-1] Warning: Invalid frame ID “map” passed to canTransform argument target_frame - frame does not exist
           [rviz2-1] at line 133 in /tmp/binarydeb/ros-foxy-tf2-0.13.13/src/buffer_core.cpp
           [rviz2-1] Warning: Invalid frame ID “map” passed to canTransform argument target_frame - frame does not exist
           [rviz2-1] at line 133 in /tmp/binarydeb/ros-foxy-tf2-0.13.13/src/buffer_core.cpp

Besides I can find other warning or error below [controllerserver-5] [INFO] [1668046253.840788145] [localcostmap.localcostmap]: Timed out waiting for transform from baselink to odom to become available, tf error: Invalid frame ID “odom” passed to canTransform argument target_frame - frame does not exist

But when I use Turtlebot3 Gazebo with Rviz this connection issue is not occurred.

After load urdf file, ros2 topic list result is changed as below. /parameterevents /rosout /tfstatic

Asked by Manyan3 on 2022-11-10 23:14:42 UTC

Comments

Answers

After I checked install file folder. But it looks some interesting information.

link text

link text

https://navigation.ros.org/configuration/packages/configuring-behavior-server.html

I restart ROS2 launch command and start up Rviz2. - clicked Tool properties Navigation 2 information changed from unknown to inactive(Navigation) / active (Localization)

After load carter.urdf , still Robot model many status is "No transform from..." error.

image description Navigation status can chaged from unknown to inactive. but still stopped due to odom warninng and many joint issue.

Asked by Manyan3 on 2022-11-13 05:47:30 UTC

Comments

after checked urdf file, model demension is changed from original. wheel clearance is very close each other. besides, All transform information does not link to map ... and map is not exist.Actually I can see the map on the Rviz.

Asked by Manyan3 on 2022-11-15 01:05:26 UTC

replying myself. urdf robot model size become abnormal figure. Need to check it first.

Asked by Manyan3 on 2022-11-15 01:28:17 UTC