On Mon, Aug 07, 2017 at 01:28:41AM -0700, Jorge Santos Simón wrote:
> On this folded pose, arm links are in touch with other robot parts,
> so sometimes MoveIt! fails to move at all due to self-collision.
You can disable collision checking in the AllowedCollisionMatrix of the planning scene.
But the generated trajectory will ignore *all* collisions of the allowed pairs and this could
(depending on your robot) generate infeasible trajectories where the links pass through each other.
If the only problematic point is the start state of the trajectory, you can probably use
the `fix_start_state_collision` planning request adapter and fiddle with its parameters
until it gets you out of the invalid start state reliably.
> - Programatically disable self-collision checking on move_group, but I
> cannot find whether and how this can be done
See above
> - Use low-level arm controller to reach the operational starting
> position "home" and then start using MoveIt!
If you know the "powerup" state and the "operational" state, then
it might be best to have either the driver or an external module move you
there via a known trajectory.
> For the second option, can I programatically recover joint values for a
> group_state defined on the SRDF file?
Yes. Use `MoveGroup(Interface)::getNamedTargetValues`
Best,
v4hn
PS: This would have been a wonderful
answers.ros.org message :)
--
Michael Görner, M.Sc. Cognitive Science, PhD Student
Universität Hamburg
Faculty of Mathematics, Informatics and Natural Sciences
Department of Informatics
Group Technical Aspects of Multimodal Systems
Vogt-Kölln-Straße 30
D-22527 Hamburg
Room: F-315
Phone:
+49 40 42883-2432
Website:
https://tams.informatik.uni-hamburg.de/people/goerner/