Follow googlecartographer/cartographer#596. (#546)
parent
4c54a545a1
commit
0a66c59547
|
@ -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;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue