Code Monkey home page Code Monkey logo

Comments (5)

Geson12138 avatar Geson12138 commented on July 27, 2024

Hello, I want to start a simulation in the gazebo and I used the command "ros2 launch iiwa_bringup iiwa.launch.py use_sim=true". The RViz appeared the "RobotModel->Status: Error->link_1:No transform from [link_1] to [world]", as well as link_2 to link_7, and tool0. Is there anything I ignored or did not prepare? Thanks!

from iiwa_ros2.

mcbed avatar mcbed commented on July 27, 2024

Hello, this feature is not implemented yet, thus the need to run the iiwa_gazebo.launch.py script.

from iiwa_ros2.

Geson12138 avatar Geson12138 commented on July 27, 2024

Thank you, and I ran the command ' source install/setup.bash', then 'ros2 launch iiwa_bringup iiwa_gazebo.launch.py'. But the KUKA model did not appear in the gazebo. The output showed '[spawn_entity] node was waiting for service /spawn_entity.
I found the iiwa_gazebo.launch.py would invoke the 'spawn_entity.py' in the 'gazebo_ros' package, and the 'gazebo_ros' package is already in my 'gazebo_ros_pkgs'.
I have already installed the Gazebo11 and 'gazebo_ros_pkgs' for ros2 from source(on ubuntu), and source the install setup in every new terminal.
So I wonder where I should fix the error above, Thanks again!
2022-07-14_12-42
?

from iiwa_ros2.

mcbed avatar mcbed commented on July 27, 2024

Probably you did not reference the package models to gazebo. To do so, you need either to copy the iiwa_description package to the ~/.gazebo/models directory or set up the GAZEBO_MODEL_PATH as described here

from iiwa_ros2.

Geson12138 avatar Geson12138 commented on July 27, 2024

Yes, it did work. the KUKA model spawned in the gazebo. Thanks for your answer.

from iiwa_ros2.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.