Check for collated_fixed_frame_ for AddSensorData(FixedFramePoseData). (#1331)

PR #1224 introduced checks for `collate_landmarks` and `collate_fixed_frame` in the `CollatedTrajectoryBuilder`. However, it falsely checks for `collate_landmarks` in the `AddSensorData(FixedFramePoseData)` function. This PR fixes that.
master
Arno Fleck 2018-07-26 10:36:17 +02:00 committed by Wally B. Feed
parent e3a7f39889
commit 9a2df068ed
1 changed files with 1 additions and 1 deletions

View File

@ -70,7 +70,7 @@ class CollatedTrajectoryBuilder : public TrajectoryBuilderInterface {
void AddSensorData(
const std::string& sensor_id,
const sensor::FixedFramePoseData& fixed_frame_pose_data) override {
if (collate_landmarks_) {
if (collate_fixed_frame_) {
AddData(sensor::MakeDispatchable(sensor_id, fixed_frame_pose_data));
return;
}