0.11.1: Added "ground_truth_pose" field to database in Node table. MainWindow: alignment of the map to ground truth (if ground truth is present).

This commit is contained in:
matlabbe
2016-01-07 19:39:21 -05:00
parent b8c9f32fd8
commit e7565db5d0
22 changed files with 283 additions and 132 deletions

View File

@@ -55,6 +55,7 @@ Signature::Signature(
double stamp,
const std::string & label,
const Transform & pose,
const Transform & groundTruthPose,
const SensorData & sensorData):
_id(id),
_mapId(mapId),
@@ -66,6 +67,7 @@ Signature::Signature(
_linksModified(true),
_enabled(false),
_pose(pose),
_groundTruthPose(groundTruthPose),
_sensorData(sensorData)
{
if(_sensorData.id() == 0)
@@ -86,6 +88,7 @@ Signature::Signature(const SensorData & data) :
_linksModified(true),
_enabled(false),
_pose(Transform::getIdentity()),
_groundTruthPose(data.groundTruth()),
_sensorData(data)
{