void BaseSensorDataNode::deserialize(ObjectData& data, IdContext& context) { MapNode::deserialize(data,context); //data.getReference("imu").bind(_imu); data.getReference("odometry").bind(_odometry); data.getReference("previousNode").bind(_previousNode); data.getReference("sensorData").bind(_sensorData); }
void TwoDepthImageAlignerNode::Relation::deserialize(ObjectData& data, IdContext& context) { MapNodeBinaryRelation::deserialize(data,context); data.getReference("aligner").bind(_aligner); data.getReference("converter").bind(_converter); data.getReference("currentSensingFrame").bind(_currentSensingFrame); data.getReference("referenceSensingFrame").bind(_referenceSensingFrame); _topic = data.getString("topic"); _inliers = data.getInt("inliers"); _error = data.getFloat("error"); }
void ManifoldVoronoiExtractor::deserialize(ObjectData& data, IdContext& context) { StreamProcessor::deserialize(data,context); data.getReference("manager").bind(_manager); data.getReference("cache").bind(_cache); _resolution = data.getFloat("resolution"); _xSize = data.getInt("xSize"); _ySize = data.getInt("ySize"); _normalThreshold = data.getFloat("normalThreshold"); _dequeSize = data.getInt("dequeSize"); }
void MapManagerActionHandler::deserialize(ObjectData& data, IdContext& context){ Identifiable::deserialize(data,context); data.getReference("manager").bind(_manager); if(_manager){ _manager->actionHandlers().push_back(this); } }
void BaseSensor::deserialize(ObjectData& data, IdContext& context){ Identifiable::deserialize(data,context); _topic = data.getString("topic"); _frame = 0; data.getReference("frame").bind(_frame); }
void MapG2OReflector::deserialize(ObjectData& data, IdContext& context){ MapManagerActionHandler::deserialize(data,context); data.getReference("selector").bind(_selector); }
void SyncSensorDataNode::deserialize(ObjectData& data, IdContext& context) { SensorDataNode<SynchronizedSensorData>::deserialize(data, context); data.getReference("imu").bind(_imu); }
void SensorDataNodeMaker::deserialize(ObjectData& data, IdContext& context) { StreamProcessor::deserialize(data,context); data.getReference("manager").bind(_mapManager); _topic = data.getString("topic"); }
void ManifoldVoronoiData::deserialize(ObjectData& data, IdContext& context) { ImageData::deserialize(data, context); resolution = data.getFloat("resolution"); data.getReference("node").bind(node); }