Skip to content

Commit e01f39a

Browse files
Update eod_node.cpp
Fix not build when no igraph
1 parent 27a812b commit e01f39a

File tree

1 file changed

+2
-3
lines changed

1 file changed

+2
-3
lines changed

src/extended_object_detection_node/eod_node.cpp

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -276,11 +276,10 @@ void EOD_ROS::detect(const eod::InfoImage& rgb, const eod::InfoImage& depth, std
276276

277277
if( use_actual_time )
278278
header.stamp = ros::Time::now();
279-
simples_msg.header = header;
280-
complex_msg.header = header;
281-
279+
simples_msg.header = header;
282280
simple_objects_pub_.publish(simples_msg);
283281
#ifdef USE_IGRAPH
282+
complex_msg.header = header;
284283
complex_objects_pub_.publish(complex_msg);
285284
#endif
286285

0 commit comments

Comments
 (0)