Giter Club home page Giter Club logo

Comments (8)

mhubii avatar mhubii commented on September 18, 2024 1

sorry not sure I got the question, correctly.

Most ROS users are familiar with the hardware interface (ROS 2 control), which is launched in the lbr_bringup package. ROS 2 control, however, can be a little overwhelming at first.

For research and to get started quickly, one can also launch lbr_fri_ros2 standalone.

There is some documentation on the bringup here https://lbr-fri-ros2-stack-doc.readthedocs.io/en/humble/lbr_fri_ros2_stack/lbr_bringup/doc/lbr_bringup.html

It should probably clarified in the links you sent.

from lbr_fri_ros2_stack.

CarlDegio avatar CarlDegio commented on September 18, 2024

And I would like to know when use demo(such as advance c++) how to publish robot model in rviz like bringup.launch.py? I add some launch option but there are no TF and robot model in rviz. It seems that currently app_node does not publish TF and robot models

from lbr_fri_ros2_stack.

mhubii avatar mhubii commented on September 18, 2024

sorry for the confusion.

The core is always the App https://github.com/lbr-stack/lbr_fri_ros2_stack/blob/humble/lbr_fri_ros2/include/lbr_fri_ros2/app.hpp. It reads commands from /robot-name/command and sends states to /robot-name/state.

The bringup launches the hardware interface and sets the robot-name to _robot-name, hence topics still exist, but are hidden, try ros2 topic list --include-hidden. This is to prevent users from publishing to /robot-name/command, since the hardware interface does. Hope that makes sense. It might be better to only hide the command topic?

To visualize the robot in rviz, you could take data from the /robot-name/state topic and re-publish it as JointState.

Could you please pinpoint to the section in the readme so it can be fixed? Thank you

from lbr_fri_ros2_stack.

CarlDegio avatar CarlDegio commented on September 18, 2024

Thank you! I got that. In addition, I would like to ask ros2 control interface is expected to use with lbr_bringup currently? Since the users interactive kuka with jointstate.

The current readme does not mention the difference between app and lbr_bringup. Only topic difference in demo: https://lbr-fri-ros2-stack-doc.readthedocs.io/en/humble/lbr_fri_ros2_stack/lbr_demos/doc/lbr_demos.html and https://lbr-fri-ros2-stack-doc.readthedocs.io/en/humble/lbr_fri_ros2_stack/lbr_demos/lbr_demos_ros2_control_cpp/doc/lbr_demos_ros2_control_cpp.html

from lbr_fri_ros2_stack.

CarlDegio avatar CarlDegio commented on September 18, 2024

Oh, i just noticed it. In fact, I think this is caused by the experience of using this library before XD. Maybe it will be easier for a new user to understand.

from lbr_fri_ros2_stack.

mhubii avatar mhubii commented on September 18, 2024

You raised a couple of valid points and we will try to address them, so thank you very much @CarlDegio !

from lbr_fri_ros2_stack.

mhubii avatar mhubii commented on September 18, 2024

this will be added in #130

from lbr_fri_ros2_stack.

mhubii avatar mhubii commented on September 18, 2024

this issue is now fully resolved.

System can for example be launched via

ros2 launch lbr_bringup bringup.launch.py model:=iiwa7 sim:=false ctrl:=forward_lbr_position_command_controller

This will spawn:

  • joint state broadcaster (/lbr/joint_states)
  • lbr state broadcaster (/lbr/state)
  • force torque broadcaster (/lbr/force_torque_broadcaster/wrench, visualized in RViZ)
  • forward lbr position command controller (/lbr/command/join_position)

This will also spawn RViZ.

Available controllers can be listed via: ros2 launch lbr_bringup bringup.launch.py -s. More documentation is on the way.

from lbr_fri_ros2_stack.

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.