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

Support porting of PILZ planner to ROS 2 - 1/2 #10

Closed

Conversation

sjahr
Copy link

@sjahr sjahr commented Aug 9, 2021

Description

  • Rebase on Rolling
  • Port missing parts of the planner
  • Port tests

To test the current state, just use the panda_moveit_config's demo launch file and add the pilz planner config to the move group:

    pilz_industrial_planning_pipeline_config = {
        "move_group": {
            "planning_plugin": "pilz_industrial_motion_planner::CommandPlanner",
            "request_adapters": "",
            "start_state_max_bounds_error": 0.1,
        }
    }

@sjahr sjahr force-pushed the pr-port_pilz_planner branch 3 times, most recently from e502326 to 3faf322 Compare September 2, 2021 09:34
@sjahr sjahr changed the title WIP: Support porting of PILZ planner to ROS 2 Support porting of PILZ planner to ROS 2 - 1/2 Sep 21, 2021
namespace joint_limits_interface
{
inline bool declare_parameters(const std::string& joint_name, const rclcpp::Node::SharedPtr& node)
{
const std::string param_base_name = "joint_limits." + joint_name;
Copy link

@christianlandgraf christianlandgraf Sep 23, 2021

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@sjahr I had to add the namespace (in this case robot_description_planning) to const std::string param_base_name to get it running. Same for three other occurrences in this file.

// If there is something defined for the joint on the parameter server
if (joint_limits_interface::getJointLimits(joint_model->getName(), nh, joint_limit))
// If there is something defined for the joint in the node parameters
if (::joint_limits_interface::declare_parameters(joint_model->getName(), node) &&

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Is it necessary to declare the parameters here (again?). I got errors due to already declared parameters which caused the PTP planner failing.

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.

3 participants