ArduPilot / ardupilot_gz

Tools for ArduPilot ROS2 integration and testing on ROS 2 humble
GNU General Public License v3.0
35 stars 24 forks source link

SITL and Gazebo, ROS2 Error "No transform from [base_link] to [odom] #60

Open RoyAmoyal opened 3 weeks ago

RoyAmoyal commented 3 weeks ago

I followed the installation guide for ROS2 along with SITL and Gazebo from the ArduPilot documentation here. After running the command:

ros2 launch ardupilot_gz_bringup iris_runway.launch.py everything seems to work fine initially. However, I am encountering some issues, as shown in the attached screenshot. Screenshot from 2024-10-31 18-40-36

In the terminal, I see the following warnings: [ruby $(which gz) sim-1] Msg [NameManager::issueNewName] (Skeleton::BodyNode | iris::iris_with_standoffs) The name [base_link] is a duplicate, so it has been renamed to [base_link(1)] [ruby $(which gz) sim-1] Msg [NameManager::issueNewName] (Skeleton::N4dart8dynamics9ShapeNodeE | iris::iris_with_standoffs) The name [base_link:base_collision] is a duplicate, so it has been renamed to [base_link:base_collision(1)] When I run 'ros2 launch ardupilot_gz_bringup iris_maze.launch.py ' I get the next error:

Screenshot from 2024-10-31 18-50-26

I am using Ubuntu 22.04 and ROS Humble.

Could you please provide guidance on this issue? Thank you!

Ryanf55 commented 1 week ago

Please attach the full terminal logs. There is a chance the joint state publisher crashed for some other reason.