Fix gRPC loading of pbstreams. (#919)

master
Alexander Belyaev 2018-02-20 16:00:01 +01:00 committed by GitHub
parent a58866cb38
commit c32cb49b01
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 5 additions and 0 deletions

View File

@ -122,6 +122,11 @@ void MapBuilderStub::LoadMap(
{
proto::LoadMapRequest request;
CHECK(reader->ReadProto(request.mutable_pose_graph()));
CHECK(client.Write(request));
}
// Request with an AllTrajectoryBuilderOptions should be second.
{
proto::LoadMapRequest request;
CHECK(reader->ReadProto(request.mutable_all_trajectory_builder_options()));
CHECK(client.Write(request));
}