Follow googlecartographer/cartographer#596. (#546)

master
Wolfgang Hess 2017-10-17 15:35:52 +02:00 committed by GitHub
parent 4c54a545a1
commit 0a66c59547
1 changed files with 1 additions and 1 deletions

View File

@ -212,7 +212,7 @@ visualization_msgs::MarkerArray MapBuilderBridge::GetTrajectoryNodeList() {
CreateTrajectoryMarker(trajectory_id, node_options_.map_frame); CreateTrajectoryMarker(trajectory_id, node_options_.map_frame);
for (const auto& node : single_trajectory_nodes) { for (const auto& node : single_trajectory_nodes) {
if (node.trimmed()) { if (node.constant_data == nullptr) {
PushAndResetLineMarker(&marker, &trajectory_node_list.markers); PushAndResetLineMarker(&marker, &trajectory_node_list.markers);
continue; continue;
} }