-
Notifications
You must be signed in to change notification settings - Fork 946
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
fix Eigen::Affine3d for Melodic (using Eigen::Isometry3d) #1096
Conversation
Just noticed that we need to switch to Eigen::Isometry in |
894965d
to
8e96201
Compare
Now it compiles on my side. So, looks like the approach is feasible w/o too much effort. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
i did an initial review and i like this approach, thanks Robert!
@@ -104,7 +104,7 @@ class World | |||
/** \brief The poses of the corresponding entries in shapes_. | |||
* | |||
* @copydetails shapes_ */ | |||
EigenSTL::vector_Affine3d shape_poses_; | |||
EigenSTL::vector_Isometry3d shape_poses_; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@Levi-Armstrong what do you think of these changes to collision world?
c205473
to
8e96201
Compare
bf6f53f
to
c9183b7
Compare
Rebased to resolve merge conflict. |
Tested locally and it builds for me. Note you need to PickNikRobotics/rviz_visual_tools#105 |
c9183b7
to
fb15c97
Compare
e5e029d
to
bd4373d
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I think this looks good. Would it be worth it to put more of an explanation of why Isometry3d is used instead of Affine3d?
e09b2ff
to
9e0113d
Compare
9e0113d
to
43128ca
Compare
@davetcoleman I rebased this to fix conflicts introduced by your renaming of kstate / kmodel variables in #1179. Can we proceed with this set of PRs? |
43128ca
to
635de0d
Compare
f907cf2
to
0b1d470
Compare
Merging done. Waiting for feedback on #1225 (comment) before proceeding with releases. |
It looks like this broke the build on Ubuntu 16.04 with an Eigen static assertion failure...
@2scholz just spotted the problem. |
Could you please be more specific (as you can easily verify, Travis succeeds). |
After numerous clean builds, updating every package in the workspace and a reboot the error is gone now. |
Huh... I ran into that same invalid transformation assertion 18.04 just now using latest |
@jonbinney As pointed out above, this whole change-set is not yet released. Hence, you need to build all mentioned packages from source to succeed. |
Yeah - I was missing geometric_shapes from source. Thanks! |
Same happened for me some days ago, can we have version checks on catkin packages in CMake? |
This is to keep up with the recent changes in moveit (moveit/moveit#1096) and keep this package building. Signed-off-by: Chris Lalancette <clalancette@openrobotics.org>
…_motion/#38) This is to keep up with the recent changes in moveit (moveit/moveit#1096) and keep this package building. Signed-off-by: Chris Lalancette <clalancette@openrobotics.org>
Signed-off-by: Gaël Écorchard <gael.ecorchard@cvut.cz>
Signed-off-by: Gaël Écorchard <gael.ecorchard@cvut.cz>
Alternative implementation of #1091 using the type
Eigen::Isometry
instead ofEigen::Affine
for homogeneous transforms. While Eigen::Affine allows for arbitrary affine transformation, we actually need to deal with rigid-body transforms only, i.e. rotations + translations. To this end,Eigen
provides the typeIsometry
, which provides more efficient versions forinvert()
androtation()
.tf2_eigen
: geometry2: 0.6.4-0 in 'melodic/distribution.yaml' [bloom] ros/rosdistro#19425tf2_eigen
release, removetf2_eigen
frommoveit.rosinstall
Use a proper merge-commit (or rebase) for this one to keep individual commits.
moveit.rosinstall
to use default branches / binary packages again