Removed assert when data.id = 0 (only requirement for odom is that id >=0)

This commit is contained in:
matlabbe
2017-02-23 15:57:50 -05:00
parent 526fdb495b
commit 45ca3500c6
2 changed files with 2 additions and 2 deletions
+2
View File
@@ -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)
{