-
Notifications
You must be signed in to change notification settings - Fork 25
Open
Description
Some laser rangefinders cast rays on 360 degree and publish messages with angle_min=0
and angle_max=6.28
. But algorithm only uses rays from 0 to 3.14. Other rays drop in function obvious::SensorPolar2D::backProject()
Possible fix without modifying Obvious sources is to check angle_min
in functions ThreadLocalize::init
and ThreadLocalize::eventLoop
. And then rotate ranges
vector
std::rotate(ranges.begin(), ranges.begin() + (int)round(M_PI / inc), ranges.end());
Metadata
Metadata
Assignees
Labels
No labels