parent
363a337e67
commit
c8c81dff35
|
@ -51,6 +51,10 @@ void AddTrajectoryHandler::OnRequest(
|
|||
trajectory_builder_options.clear_trajectory_builder_2d_options();
|
||||
trajectory_builder_options.clear_trajectory_builder_3d_options();
|
||||
|
||||
// Don't instantiate the 'PureLocalizationTrimmer' on the server and don't
|
||||
// freeze the trajectory on the server.
|
||||
trajectory_builder_options.set_pure_localization(false);
|
||||
|
||||
GetContext<MapBuilderContextInterface>()
|
||||
->local_trajectory_uploader()
|
||||
->AddTrajectory(trajectory_id, expected_sensor_ids,
|
||||
|
|
|
@ -122,6 +122,7 @@ TEST_F(AddTrajectoryHandlerTest, WithLocalSlamUploader) {
|
|||
request.trajectory_builder_options();
|
||||
upstream_trajectory_builder_options.clear_trajectory_builder_2d_options();
|
||||
upstream_trajectory_builder_options.clear_trajectory_builder_3d_options();
|
||||
upstream_trajectory_builder_options.set_pure_localization(false);
|
||||
EXPECT_CALL(*mock_local_trajectory_uploader_,
|
||||
AddTrajectory(Eq(13), ParseSensorIds(request),
|
||||
Truly(testing::BuildProtoPredicateEquals(
|
||||
|
|
Loading…
Reference in New Issue