From 00b0144736f29378258260f14af5c9d877c0d727 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Christoph=20Sch=C3=BCtte?= Date: Wed, 30 May 2018 08:36:35 +0200 Subject: [PATCH] Follow googlecartographer/cartographer#1172 (#881) --- cartographer_ros/cartographer_ros/map_builder_bridge.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cartographer_ros/cartographer_ros/map_builder_bridge.cc b/cartographer_ros/cartographer_ros/map_builder_bridge.cc index f8658f8..df3d0c3 100644 --- a/cartographer_ros/cartographer_ros/map_builder_bridge.cc +++ b/cartographer_ros/cartographer_ros/map_builder_bridge.cc @@ -306,7 +306,7 @@ visualization_msgs::MarkerArray MapBuilderBridge::GetTrajectoryNodeList() { marker.color.a = 1.0; 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); continue; }