Please file a pull-request with the repository.
I would propose to add an optional parameter "update" - default true - to
`moveit::planning_interface::MoveGroupInterface::getJointValueTarget`
that triggers an update for the state.
v4hn
On Thu, Sep 14, 2017 at 01:53:10PM -0700, rkeatin3 wrote:
> Hi all,
>
> I was attempting to get the resultant end-effector pose of my move group as
> such after applying a number of joint value targets:
>
> Eigen::Affine3d ee_pose = m_current_group->getJointValueTarget().
> getGlobalLinkTransform(ee_link);
>
> Unfortunately, this will fail with the error *Assertion
> `checkLinkTransforms()' failed.*
>
> Am I right in thinking this is the wrong behavior?
>
> As a workaround I modified the code as follows:
> moveit::core::RobotState planned_state = m_current_group->
> getJointValueTarget();
> planned_state.update();
> Eigen::Affine3d ee_pose = planned_state.getGlobalLinkTransform(ee_link);
--
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/