rdf_loader second constructor needs ros_name default variable set too#3538
Open
jdgre1 wants to merge 1 commit intomoveit:mainfrom
Open
Conversation
0c4ccc5 to
bb586b8
Compare
|
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. |
leander2189
approved these changes
Sep 11, 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. |
mjimenezm00
approved these changes
Dec 5, 2025
|
This PR actually fixes this bug: #3504 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Description
Steps to reproduce:
When calling RobotModelLoader::configure at the statement below
moveit2/moveit_ros/planning/robot_model_loader/src/robot_model_loader.cpp
Line 111 in 7d6e2ab
As shown currently ros_name_ is not set in the second constructor for the rd_loader_
moveit2/moveit_ros/planning/rdf_loader/src/rdf_loader.cpp
Line 91 in 7d6e2ab
Then when attempting to create a kinematic plugin loader below at line 268
moveit2/moveit_ros/planning/robot_model_loader/src/robot_model_loader.cpp
Line 268 in 7d6e2ab
The getRobotDescription() method returns ros_name_ which is currently set to "":
moveit2/moveit_ros/planning/rdf_loader/include/moveit/rdf_loader/rdf_loader.hpp
Line 85 in 7d6e2ab
moveit2/moveit_ros/planning/kinematics_plugin_loader/include/moveit/kinematics_plugin_loader/kinematics_plugin_loader.hpp
Line 61 in 7d6e2ab
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."
moveit2/moveit_ros/planning/kinematics_plugin_loader/src/kinematics_plugin_loader.cpp
Line 260 in 7d6e2ab
moveit2/moveit_ros/planning/kinematics_plugin_loader/src/kinematics_plugin_loader.cpp
Line 265 in 7d6e2ab
This cases the error to be logged:
moveit2/moveit_ros/planning/kinematics_plugin_loader/src/kinematics_plugin_loader.cpp
Line 270 in 7d6e2ab
[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