mirror of
https://github.com/introlab/rtabmap.git
synced 2026-09-03 01:50:24 +08:00
Grid/Sensor=2: fixed viewpoint offset bug of the camera.
This commit is contained in:
@@ -403,6 +403,7 @@ void OccupancyGrid::createLocalMap(
|
|||||||
roiRatios_);
|
roiRatios_);
|
||||||
|
|
||||||
// update viewpoint
|
// update viewpoint
|
||||||
|
viewPoint = cv::Point3f(0,0,0);
|
||||||
if(node.sensorData().cameraModels().size())
|
if(node.sensorData().cameraModels().size())
|
||||||
{
|
{
|
||||||
// average of all local transforms
|
// average of all local transforms
|
||||||
|
|||||||
Reference in New Issue
Block a user