Follow googlecartographer/cartographer#1172 (#881)
parent
d53d339562
commit
00b0144736
|
@ -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;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue