Consistency fix: trajectory_index -> trajectory_id. (#360)
parent
7f4f78e451
commit
9464b38320
|
@ -35,7 +35,7 @@ using Color = std::array<uint8_t, 3>;
|
|||
struct PointsBatch {
|
||||
PointsBatch() {
|
||||
origin = Eigen::Vector3f::Zero();
|
||||
trajectory_index = 0;
|
||||
trajectory_id = 0;
|
||||
}
|
||||
|
||||
// Time at which this batch has been acquired.
|
||||
|
@ -49,8 +49,8 @@ struct PointsBatch {
|
|||
// is unknown.
|
||||
string frame_id;
|
||||
|
||||
// Trajectory index that produced this point.
|
||||
int trajectory_index;
|
||||
// Trajectory ID that produced this point.
|
||||
int trajectory_id;
|
||||
|
||||
// Geometry of the points in a metric frame.
|
||||
std::vector<Eigen::Vector3f> points;
|
||||
|
|
|
@ -79,7 +79,7 @@ class TrajectoryConnectivity {
|
|||
proto::TrajectoryConnectivity ToProto(
|
||||
std::vector<std::vector<int>> connected_components);
|
||||
|
||||
// Returns the connected component containing 'trajectory_index'.
|
||||
// Returns the connected component containing 'trajectory_id'.
|
||||
proto::TrajectoryConnectivity::ConnectedComponent FindConnectedComponent(
|
||||
const cartographer::mapping::proto::TrajectoryConnectivity&
|
||||
trajectory_connectivity,
|
||||
|
|
Loading…
Reference in New Issue