Skip to content

Conversation

@jdgre1
Copy link

@jdgre1 jdgre1 commented Jul 24, 2025

Description

Steps to reproduce:

  1. When calling RobotModelLoader::configure at the statement below

    rdf_loader_ = std::make_shared<rdf_loader::RDFLoader>(opt.urdf_string_, opt.srdf_string);
    we initialise an rdf_loader with ros_name_set to "".
    As shown currently ros_name_ is not set in the second constructor for the rd_loader_
    : urdf_string_(urdf_string), srdf_string_(srdf_string)

  2. Then when attempting to create a kinematic plugin loader below at line 268

    std::make_shared<kinematics_plugin_loader::KinematicsPluginLoader>(node_, rdf_loader_->getRobotDescription());
    we are returned an empty string from getRobotDescription() as shown
    The getRobotDescription() method returns ros_name_ which is currently set to "":
    The KinematicsPluginLoader object then sets it's robot_description_ to an empty string as shown in it's constructor.

  3. At line 260 of kinematics_plugin_loader the kinematics_param_prefix is set with an empty string from robot_desription_ leading to a string starting with "_kinematics."

    std::string kinematics_param_prefix = robot_description_ + "_kinematics." + known_group.name_;
    The kinematics_solver_param_name is then set based on the kinematics_param_prefix variable as depicted
    std::string kinematics_solver_param_name = kinematics_param_prefix + ".kinematics_solver";

  4. This cases the error to be logged:

    RCLCPP_DEBUG(logger_, "No kinematics solver specified for group '%s'.", known_group.name_.c_str());
    [DEBUG 1753159891.197749171] [operation_solver.moveit.core.robot_state]: No kinematics solver instantiated for group 'manipulator' (setFromIK() at /home/ros/ros2/src/moveit2/moveit_core/robot_state/src/robot_state.cpp:1863)

Checklist

  • [x ] Required by CI: Code is auto formatted using clang-format
  • Extend the tutorials / documentation reference
  • Document API changes relevant to the user in the MIGRATION.md notes
  • Create tests, which fail without this PR reference
  • Include a screenshot if changing a GUI
  • While waiting for someone to review your request, please help review another open pull request to support the maintainers

@jdgre1 jdgre1 force-pushed the fix/jg/rdf-loader-constructor-missing-default-ros_name-param-initialisation branch from 0c4ccc5 to bb586b8 Compare July 24, 2025 04:40
@github-actions
Copy link

github-actions bot commented Sep 8, 2025

This PR is stale because it has been open for 45 days with no activity. Please tag a maintainer for help on completing this PR, or close it if you think it has become obsolete.

@github-actions github-actions bot added the stale label Sep 8, 2025
@github-actions github-actions bot removed the stale label Sep 15, 2025
@github-actions
Copy link

This PR is stale because it has been open for 45 days with no activity. Please tag a maintainer for help on completing this PR, or close it if you think it has become obsolete.

@github-actions github-actions bot added the stale label Nov 21, 2025
@EzraBrooks EzraBrooks removed the stale label Dec 1, 2025
@mjimenezm00
Copy link

This PR actually fixes this bug: #3504

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

Successfully merging this pull request may close these issues.

4 participants