mirror of
https://github.com/introlab/rtabmap.git
synced 2026-10-04 17:17:47 +08:00
Removed assert when data.id = 0 (only requirement for odom is that id >=0)
This commit is contained in:
@@ -203,6 +203,8 @@ Transform Odometry::process(SensorData & data, OdometryInfo * info)
|
||||
|
||||
Transform Odometry::process(SensorData & data, const Transform & guessIn, OdometryInfo * info)
|
||||
{
|
||||
UASSERT_MSG(data.id() >= 0, uFormat("Input data should have ID greater or equal than 0 (id=%d)!", data.id()).c_str());
|
||||
|
||||
// Ground alignment
|
||||
if(_pose.isIdentity() && _alignWithGround)
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user