moveit / moveit2_tutorials

A sphinx-based centralized documentation repo for MoveIt 2
https://moveit.picknik.ai
BSD 3-Clause "New" or "Revised" License
147 stars 190 forks source link

setPoseTarget & plan fails for a custom robot using the move_group_interface in c++ #705

Open TereiATmatch opened 1 year ago

TereiATmatch commented 1 year ago

Description

Hello all,

we are currently working on a custom robot and i now want to get moveit working for it. Everything seems to be set up correctly so far, but i now run into an issue when I try to use the move_group_interface and try to plan a trajectory for a setPoseTarget. Find below some more information regarding my issue.

I have now spend too many hours trying to fix the issue but i can't get it to work. I am really looking forward to your support. It's probably a very small issue but I don't know where to look as the error messages don't help me.

If you have any further questions regarding my problem, don't hesitate to ask!

Kind regards, Niklas

Situation overview:

`[move_group-7] [INFO] [1686905421.771838032] [moveit_move_group_default_capabilities.move_action_capability]: Received request

[move_group-7] [INFO] [1686905421.772043455] [moveit_move_group_default_capabilities.move_action_capability]: Planning request received for MoveGroup action. Forwarding to planning pipeline. [move_group-7] [INFO] [1686905421.772920375] [moveit.ompl_planning.model_based_planning_context]: Planner configuration 'PM_Robot_Cam1_TCP' will use planner 'geometric::RRTConnect'. Additional configuration parameters will be set when the planner is constructed. [move_group-7] [ERROR] [1686905431.775821250] [ompl]: ./src/ompl/geometric/planners/rrt/src/RRTConnect.cpp:252 - PM_Robot_Cam1_TCP/PM_Robot_Cam1_TCP: Unable to sample any valid states for goal tree [move_group-7] [WARN] [1686905431.775864690] [moveit.ompl_planning.model_based_planning_context]: Timed out [move_group-7] [INFO] [1686905431.834494840] [moveit.ompl_planning.model_based_planning_context]: Unable to solve the planning problem [move_group-7] [INFO] [1686905431.834547527] [moveit_move_group_default_capabilities.move_action_capability]: Timeout reached`

I have added a file to our moveit-troubleshoot branch (see link for github below; there is a folder called "troubleshoot") with the terminal output for:

Our environment

Steps to reproduce

If you want to reproduce my issue you can run the launchfile for our robot and the node executing the planing request.

You can try our robot by cloning our repository and building it: https://github.com/match-PM/match_pm_robot.git

I have created a new branch for this issue (moveit-troubleshoot), as work is ongoing on the main branch. Our github also gives some instructions for installation.

To launch the robot execute: ros2 launch pm_robot_bringup pm_robot_sim_HW.launch.py

For the node there is another repo: https://github.com/match-PM/moveit_tests.git

Just build it and execute: ros2 run moveit_tests pm_moveit_tests

tylerjw commented 9 months ago

I'm sorry we didn't respond. Were you able to get this figured out? Please ping us if you are still having trouble.