cartographer/cartographer/sensor/proto/sensor.proto

59 lines
1.8 KiB
Protocol Buffer
Raw Normal View History

// Copyright 2016 The Cartographer Authors
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
// You may obtain a copy of the License at
//
// http://www.apache.org/licenses/LICENSE-2.0
//
// Unless required by applicable law or agreed to in writing, software
// distributed under the License is distributed on an "AS IS" BASIS,
// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
// See the License for the specific language governing permissions and
// limitations under the License.
syntax = "proto2";
package cartographer.sensor.proto;
option java_outer_classname = "Sensor";
import "cartographer/transform/proto/transform.proto";
2017-08-08 20:52:47 +08:00
// Compressed collection of a 3D point cloud.
message CompressedPointCloud {
optional int32 num_points = 1;
repeated int32 point_data = 3 [packed = true];
}
2017-08-08 20:52:47 +08:00
// Proto representation of ::cartographer::sensor::ImuData.
message ImuData {
optional int64 timestamp = 1;
optional transform.proto.Vector3d linear_acceleration = 2;
optional transform.proto.Vector3d angular_velocity = 3;
}
2017-08-08 20:52:47 +08:00
// Proto representation of ::cartographer::sensor::OdometryData.
message OdometryData {
optional int64 timestamp = 1;
optional transform.proto.Rigid3d pose = 2;
}
// Proto representation of ::cartographer::sensor::FixedFramePoseData.
message FixedFramePoseData {
optional int64 timestamp = 1;
optional transform.proto.Rigid3d pose = 2;
}
// Proto representation of ::cartographer::sensor::LandmarkData.
message LandmarkData {
message Landmark {
optional bytes id = 1;
optional transform.proto.Rigid3d transform = 2;
optional double translation_weight = 3;
optional double rotation_weight = 4;
}
optional int64 timestamp = 1;
repeated Landmark landmarks = 2;
}