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

robot_description not accessible from custom ros2 controller #168

Open
fafux opened this issue Jul 21, 2023 · 2 comments
Open

robot_description not accessible from custom ros2 controller #168

fafux opened this issue Jul 21, 2023 · 2 comments

Comments

@fafux
Copy link

fafux commented Jul 21, 2023

Environment

  • OS Version: Ubuntu 22.04
  • ROS2 version: humble
  • Source or binary build?
    ros-humble-ros-gz/jammy,now 0.244.11-1jammy.20230624.051759 amd64

Description

  • Behavior: Launching gz_sim.launch.py and create to spawn the urdf, parsing the xacro in which ign_ros2_control::IgnitionROS2ControlPlugin is contained, I expect the robot_description to be a parameter of the controller_manager but it's not. I want to access from a custom ros2 controller to the robot_description. Since it's not a parameter of the controller manager, the only way to access it is from a client (both service or parameter). In both cases, waiting the response of the future blocks the execution.
@solid-sinusoid
Copy link

solid-sinusoid commented Feb 27, 2024

@fafux This is my temporary solution that solves your issue

solid-sinusoid/ros2_control@e4a4aad

solid-sinusoid@f74c56a

@bmagyar
Copy link
Member

bmagyar commented Feb 29, 2024

If you can afford, I suggest hopping over to Rolling and using the specific API we have for passing the URDF down to the controllers smoothly. Jazzy will have this functionality too.

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

3 participants