Fix bug in MapBuilderBridge::GetTrajectoryStates() (#652)

master
Christoph Schütte 2018-01-08 18:52:27 +01:00 committed by Wally B. Feed
parent 4a1366501d
commit 7a7b210c94
1 changed files with 1 additions and 1 deletions

View File

@ -207,7 +207,7 @@ visualization_msgs::MarkerArray MapBuilderBridge::GetTrajectoryNodeList() {
CreateTrajectoryMarker(trajectory_id, node_options_.map_frame);
for (const auto& node_id_data : node_poses.trajectory(trajectory_id)) {
if (node_id_data.data.has_constant_data) {
if (!node_id_data.data.has_constant_data) {
PushAndResetLineMarker(&marker, &trajectory_node_list.markers);
continue;
}