clarify comment (#1196)
parent
0e25fafc47
commit
849f2a66ac
|
@ -702,12 +702,15 @@ PoseGraph2D::GetLandmarkNodes() const {
|
||||||
|
|
||||||
std::map<int, PoseGraphInterface::TrajectoryData>
|
std::map<int, PoseGraphInterface::TrajectoryData>
|
||||||
PoseGraph2D::GetTrajectoryData() const {
|
PoseGraph2D::GetTrajectoryData() const {
|
||||||
return {}; // Not implemented yet in 2D.
|
// The 2D optimization problem does not have any 'TrajectoryData'.
|
||||||
|
return {};
|
||||||
}
|
}
|
||||||
|
|
||||||
sensor::MapByTime<sensor::FixedFramePoseData>
|
sensor::MapByTime<sensor::FixedFramePoseData>
|
||||||
PoseGraph2D::GetFixedFramePoseData() const {
|
PoseGraph2D::GetFixedFramePoseData() const {
|
||||||
return {}; // Not implemented yet in 2D.
|
// FixedFramePoseData is not yet implemented for 2D. We need to return empty
|
||||||
|
// so serialization works.
|
||||||
|
return {};
|
||||||
}
|
}
|
||||||
|
|
||||||
std::vector<PoseGraphInterface::Constraint> PoseGraph2D::constraints() const {
|
std::vector<PoseGraphInterface::Constraint> PoseGraph2D::constraints() const {
|
||||||
|
|
Loading…
Reference in New Issue