Replies: 1 comment 7 replies
-
this is not a MoveIt issue. As we've discussed in Moveit & Singularities on ROS Answers, MoveIt produces As to the question per se: afaik, there is no direct, built-in support in MoveIt to make it avoid singularities. That's partly because it plans in joint space, and motions in joint space don't run into this problem. You could potentially implement a cost function (but that's an ongoing development) and/or implement a custom sampler (which would inspect the jacobian and reject samples which are close to a singularity to steer the planner(s) away from them). But both of those options require custom development. I believe this is actually an issue with the PFL / FSU configuration of the YRC1000u. Perhaps @ted-miller and/or @EricMarcil could clarify something here. |
Beta Was this translation helpful? Give feedback.
-
Hi all,
I'm using #541 and MoveIt for controlling my HC10DTP motoman cobot.
After playing with this setup for a while I noticed that I'm running into singularities from time to time, meaning that my robot halts when it reaches a singularity and then I have to move it manually (via teach mode) out of that position and re-plan (sometimes multiple times).
I want to know if there is a way to tell MoveIt to avoid singularities.
The output from the console
======================================================
I'm adding some photos and a link to a video that shows the robot reaching a singularity point and halting:
YouTube video of the robot halting when it reaches a singularity
Current and goal state in Rviz:
![WhatsApp Image 2023-06-18 at 10 31 15_1](https://private-user-images.githubusercontent.com/67793615/246649787-ce2637f6-6b4b-46e1-bee0-b78654289e48.jpeg?jwt=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTUiLCJleHAiOjE3MTk5NDEyMDEsIm5iZiI6MTcxOTk0MDkwMSwicGF0aCI6Ii82Nzc5MzYxNS8yNDY2NDk3ODctY2UyNjM3ZjYtNmI0Yi00NmUxLWJlZTAtYjc4NjU0Mjg5ZTQ4LmpwZWc_WC1BbXotQWxnb3JpdGhtPUFXUzQtSE1BQy1TSEEyNTYmWC1BbXotQ3JlZGVudGlhbD1BS0lBVkNPRFlMU0E1M1BRSzRaQSUyRjIwMjQwNzAyJTJGdXMtZWFzdC0xJTJGczMlMkZhd3M0X3JlcXVlc3QmWC1BbXotRGF0ZT0yMDI0MDcwMlQxNzIxNDFaJlgtQW16LUV4cGlyZXM9MzAwJlgtQW16LVNpZ25hdHVyZT0zMzhiYzAwNmU0MTI4YzY0NDYyNzZhODMyYzBkNzMzZDVlMzNmNDgwZTc0NzZmZjk2ZjA1Njk1OWMwMzdmMDg0JlgtQW16LVNpZ25lZEhlYWRlcnM9aG9zdCZhY3Rvcl9pZD0wJmtleV9pZD0wJnJlcG9faWQ9MCJ9.skmANw8V8A3f9RGOG1wXzHVDQ2zTvINkS2hYqoJNeyk)
Screenshots of the pendant after reaching a singularity:
![WhatsApp Image 2023-06-18 at 10 51 53_1](https://private-user-images.githubusercontent.com/67793615/246650458-1905a3d0-e703-4d3c-9744-bad275c23d1e.jpeg?jwt=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTUiLCJleHAiOjE3MTk5NDEyMDEsIm5iZiI6MTcxOTk0MDkwMSwicGF0aCI6Ii82Nzc5MzYxNS8yNDY2NTA0NTgtMTkwNWEzZDAtZTcwMy00ZDNjLTk3NDQtYmFkMjc1YzIzZDFlLmpwZWc_WC1BbXotQWxnb3JpdGhtPUFXUzQtSE1BQy1TSEEyNTYmWC1BbXotQ3JlZGVudGlhbD1BS0lBVkNPRFlMU0E1M1BRSzRaQSUyRjIwMjQwNzAyJTJGdXMtZWFzdC0xJTJGczMlMkZhd3M0X3JlcXVlc3QmWC1BbXotRGF0ZT0yMDI0MDcwMlQxNzIxNDFaJlgtQW16LUV4cGlyZXM9MzAwJlgtQW16LVNpZ25hdHVyZT1mOTMwNTJjNTdkMTdiYWY0N2UxNDQ3NTc1OGQ2MWUzNjVkNDliYjE2MThlNDIzZGQzM2VhMGMyZjhmY2M4OTJhJlgtQW16LVNpZ25lZEhlYWRlcnM9aG9zdCZhY3Rvcl9pZD0wJmtleV9pZD0wJnJlcG9faWQ9MCJ9.psEmbmOxkdfxgWyCgQ2axJ5qFesMbLJCv_83PSupVoE)
Beta Was this translation helpful? Give feedback.
All reactions