Add support for point clouds in beluga_amcl#491
Conversation
479536b to
d4d772e
Compare
…iled, not tested) Signed-off-by: Bruma <andres.brumovsky@ekumenlabs.com>
- Added subscription logic for scan_topic and point_cloud_topic Signed-off-by: Bruma <andres.brumovsky@ekumenlabs.com>
…ser_callback, point_cloud_callback, etc.) Signed-off-by: Bruma <andres.brumovsky@ekumenlabs.com>
- Default for laser_scan subscription changed from "scan" to "" - Minor fix on ndt_amcl_node to subscribe to scan if parameter scan_topic is empty Signed-off-by: Bruma <andres.brumovsky@ekumenlabs.com>
Signed-off-by: Bruma <andres.brumovsky@ekumenlabs.com>
- Added tests for point cloud handling (sensor_callback on amcl_node.cpp and update on amcl.cpp) Signed-off-by: Bruma <andres.brumovsky@ekumenlabs.com>
…oints) Signed-off-by: Bruma <andres.brumovsky@ekumenlabs.com>
Signed-off-by: Bruma <andres.brumovsky@ekumenlabs.com>
Signed-off-by: Bruma <andres.brumovsky@ekumenlabs.com>
Signed-off-by: Bruma <andres.brumovsky@ekumenlabs.com>
- Topic subscription logic - Restrict types on beluga_amcl sensor_callback - SparsePointCloud3 type change, double -> float - Added size() method for LaserScan - Naming: wrapper -> measurement - Fixed bug on TrowsIfBothSensorTopicsAreSet (test_amcl_node) - Tidy up on documentation (amcl.hpp) Signed-off-by: Bruma <andres.brumovsky@ekumenlabs.com>
…e cast implemented at points() method level. - Deduplicated lines in AmclNode::do_cleanup - Ran pre-commit Signed-off-by: Bruma <andres.brumovsky@ekumenlabs.com>
…ode.cpp) Signed-off-by: Bruma <andres.brumovsky@ekumenlabs.com>
Signed-off-by: Michel Hidalgo <michel@ekumenlabs.com>
Signed-off-by: Michel Hidalgo <michel@ekumenlabs.com>
ec9f047 to
bbb6cfe
Compare
Signed-off-by: Michel Hidalgo <michel@ekumenlabs.com>
|
This is ready to go. Let's see what CI says. |
Signed-off-by: Michel Hidalgo <michel@ekumenlabs.com>
Signed-off-by: Michel Hidalgo <michel@ekumenlabs.com>
Signed-off-by: Michel Hidalgo <michel@ekumenlabs.com>
Signed-off-by: Michel Hidalgo <michel@ekumenlabs.com>
|
I tried to use [amcl_node-2] [ERROR] [1756390281.419729963] [beluga_amcl]: The bond connection to the lifecycle manager has been brokenNot sure if there is a way to check or assert a LaserScan message when using |
Hmm, this one's tricky. Topic types are not guaranteed to be unique in ROS 2 (for reasons) and Maybe we can send throttled logs if after a while we are still not seeing any messages, but I'd do that in a follow-up. |
glpuga
left a comment
There was a problem hiding this comment.
Nice. The projection thing is worrisome, though.
Signed-off-by: Michel Hidalgo <michel@ekumenlabs.com>
Signed-off-by: Michel Hidalgo <michel@ekumenlabs.com>
Signed-off-by: Michel Hidalgo <michel@ekumenlabs.com>
glpuga
left a comment
There was a problem hiding this comment.
Mostly minor comments, but I still think we should remove the PointCloud3 struct if we don't use it.
Signed-off-by: Michel Hidalgo <michel@ekumenlabs.com>
Signed-off-by: Michel Hidalgo <michel@ekumenlabs.com>
I know. We have benchmarks. I'll double check what would we be leaving on the table if we dropped it and if it's not significant I'll yank it. |
hidmic
left a comment
There was a problem hiding this comment.
Self-approving because I'm not the author.
Proposed changes
Type of change
Checklist
Put an
xin the boxes that apply. This is simply a reminder of what we will require before merging your code.Additional comments