Closed rodpc07 closed 1 year ago
Thanks for reporting an issue. Because we're a volunteer community, providing a pull request with suggested changes is always welcomed.
After some tinkering, I found that this crash is the result of building the workspace with -DCMAKE_BUILD_TYPE set to DEBUG, since it doesn't crash when set to RELEASE. I don't know if the release build is hiding an underlying problem that was only caught in debug.
Your console output is very explicit about the underlying error:
The given transform is not an isometry! Its linear part involves non-unit scaling. The scaling matrix diagonal differs from [1 1 1] by [ 1.3513e-06 1.18114e-06 1.28091e-06] but the required precision is 1e-12.
Do you feed any transforms with float precision only (instead of double)?
The reason that the crash only occurs in DEBUG mode, is that we add some extra checks in debug mode. So, that's expected.
By the way, the recommended way to plan pick+place actions is to use MTC: https://ros-planning.github.io/moveit_tutorials/doc/moveit_task_constructor/moveit_task_constructor_tutorial.html
Do you feed any transforms with float precision only (instead of double)?
Excuse my ignorance; to my knowledge, I am only running demo.launch from my yumi_moveit_config and the node from the code above, in which I don't believe I used any floats. That's why I am confused about what is causing this. If I run this in release, will it cause any problems?
By the way, the recommended way to plan pick+place actions is to use MTC: https://ros-planning.github.io/moveit_tutorials/doc/moveit_task_constructor/moveit_task_constructor_tutorial.html
I appreciate the advice and will be sure to use it in future applications, but for my project, I don't need anything much more complex than what is shown at the pick-and-place tutorial and don't have the time to study and tinker with how to implement the MTC for a dual-arm robot.
If I run this in release, will it cause any problems?
These tiny deviations will not cause any issues.
Description
Hi, I am using a ABB Yumi and a couple of weeks ago I was able to successfully execute the pick and place tutorial with this arm. Today I tried running the code again but it crashes as soon as it calls the pick() function from the move_group. The only thing I did since the day it works correctly was run the setup assistant and generate the package again but I didn't change anything in the configuration of the setup assistant. I leave bellow the backtrace and thank in advance to anyone who knows what might have happen.
Your environment
Code
Backtrace or Console output