g2o icon indicating copy to clipboard operation
g2o copied to clipboard

SE(2) poses with XYZ landmarks?

Open means-to-meaning opened this issue 5 years ago • 4 comments

Can anyone comment on what is the best way to create a graph for a wheeled robot moving on a flat plane (robot pose only has 3 degrees of freedom and known sensor offsets) equipped with RGB-D (doing visual tracking and measurement of XYZ points) and wheel odometry?

Essentially, I'm wondering whether the right thing to do is to define a new constraint type edge_se2_pointXYZ, or maybe to incorporate the known pose constraints somehow into the se3 pose and do 3D SLAM?

Any pointers to the required maths, or code would be most welcome. Apologies if I missed some existing code - this is a very standard setup for any hobbyist building a home robot and the functionality might already be all there. Thanks!

means-to-meaning avatar Dec 29 '18 12:12 means-to-meaning

@means-to-meaning why don't you just ignore the Z axis and use EdgeSE2PointXY?

TSC21 avatar Dec 29 '18 12:12 TSC21

@TSC21 Thanks for your suggestion! Yes, casting both the poses and the landmarks into 2D and then doing 2D SLAM is something I thought about. Just wasn't sure if that's the best approach.

But if doing 2D SLAM is the answer for planar motion, I wonder how we can handle other types of sensors which are not so easily amenable to being converted to 2D, such as a stereo, or a mono camera (as covered in the BA and SBA examples).

I looked at the different g2o examples and read the original g2o paper, but it is not immediately clear to me which of the existing types can be applied to some new physical robot configuration. I hope this stuff starts clicking at some point. Thanks for your help in the mean time!

means-to-meaning avatar Dec 31 '18 00:12 means-to-meaning

I've read a paper recently, it provided another way to deal with similar robot setups: Odometry-Vision-Based Ground Vehicle Motion Estimation With SE(2)-Constrained SE(3) Poses

sume-cn avatar Aug 12 '19 01:08 sume-cn

That's a good pointer. I'll check it out. Thanks!

means-to-meaning avatar Aug 12 '19 22:08 means-to-meaning