CloudViewer: fixed rendering camera rotation not normalized warning

This commit is contained in:
matlabbe
2026-04-13 01:16:58 +00:00
parent a9f63bd5fd
commit a8fd7f043d
2 changed files with 12 additions and 11 deletions

View File

@@ -657,7 +657,7 @@ Transform Odometry::process(SensorData & data, const Transform & guessIn, Odomet
UWARN("Could not find imu transform at %f", data.stamp());
}
}
else if(!guess.isNull()) {
else if(!guess.isNull() && (!data.imageRaw().empty() || !data.laserScanRaw().isEmpty())) {
UDEBUG("Using guess from motion %s", guess.prettyPrint().c_str());
}