Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

"world" frame is missing #4

Closed
ofer-baroz opened this issue Aug 15, 2023 · 1 comment
Closed

"world" frame is missing #4

ofer-baroz opened this issue Aug 15, 2023 · 1 comment

Comments

@ofer-baroz
Copy link

When I launch the program, using:

ros2 launch sjtu_drone_bringup sjtu_drone_bringup.launch.py

everything is initiating and I manage to move the drone using its teleope window.

The problem is, the simulation doesn't have any reference frame, and the "higher" frame is the one located in the urdf.xacro file which is "base_link".

In previous simulations I used, both in ROS and ROS2, the Gazebo simulator used to have some reference frame to describe the robot's positioning according to it. Creating a new "world" frame in the URDF and using a static_tf_broadcaster is not an option here, since I want the drone to move.

How can I solve this problem?

@NovoG93
Copy link
Owner

NovoG93 commented Jan 12, 2024

You will need to add a world link to the .world file

@NovoG93 NovoG93 closed this as completed Jan 12, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants