JeroenDM / moveit_opw_kinematics_plugin

An attempt at writing a MoveIt! plugin for opw_kinematics.
http://wiki.ros.org/moveit_opw_kinematics_plugin
Apache License 2.0
7 stars 7 forks source link

Forward kinematics test during initialization #31

Closed JeroenDM closed 4 years ago

JeroenDM commented 4 years ago

As suggested in issue #29 by @simonschmeisser , compare forward kinematics calculated by MoveIt with opw_kinematics. This serves as a basic validation step for the geometric parameters loaded from kinematics.yaml.

Some things I came accros during implementing this.

There is also some code duplication in the comparePoses function, but it's not entirely the same as the one in test_util.h so I think this is ok.

It would also be nice to add a test that load wrong parameters on purpose and checks if the error is show. I don’t know how to do this with the rostest framework yet.

[edit] I added a basic test that just check whether initialization failed as expected. (A lot of test files for a tiny amount of testing...)

I should create a separate pull request for the kinetic-devel branch due to the Affine3d-Isometry3d different.