Grid/Sensor=2: fixed viewpoint offset bug of the camera.

This commit is contained in:
matlabbe
2022-01-19 19:27:32 -05:00
parent a56373f66d
commit 5b868d665f

View File

@@ -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