Follow googlecartographer/cartographer#1172 (#881)

master
Christoph Schütte 2018-05-30 08:36:35 +02:00 committed by GitHub
parent d53d339562
commit 00b0144736
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -306,7 +306,7 @@ visualization_msgs::MarkerArray MapBuilderBridge::GetTrajectoryNodeList() {
marker.color.a = 1.0; marker.color.a = 1.0;
for (const auto& node_id_data : node_poses.trajectory(trajectory_id)) { for (const auto& node_id_data : node_poses.trajectory(trajectory_id)) {
if (!node_id_data.data.has_constant_data) { if (!node_id_data.data.constant_pose_data.has_value()) {
PushAndResetLineMarker(&marker, &trajectory_node_list.markers); PushAndResetLineMarker(&marker, &trajectory_node_list.markers);
continue; continue;
} }