mirror of
https://github.com/introlab/rtabmap.git
synced 2026-09-02 17:40:23 +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_);
|
||||
|
||||
// update viewpoint
|
||||
viewPoint = cv::Point3f(0,0,0);
|
||||
if(node.sensorData().cameraModels().size())
|
||||
{
|
||||
// average of all local transforms
|
||||
|
||||
Reference in New Issue
Block a user