diff --git a/carma-messenger-core/traffic_incident/src/traffic_incident_node.cpp b/carma-messenger-core/traffic_incident/src/traffic_incident_node.cpp index aecc4eb9..7432aa4e 100644 --- a/carma-messenger-core/traffic_incident/src/traffic_incident_node.cpp +++ b/carma-messenger-core/traffic_incident/src/traffic_incident_node.cpp @@ -150,8 +150,7 @@ bool TrafficIncidentNode::stopTrafficBroadcastCallback( void TrafficIncidentNode::spin_callback(void) { if ( - traffic_worker_.getDownTrack() > 0 && traffic_worker_.getUpTrack() > 0 && - traffic_worker_.getMinGap() > 0 && traffic_worker_.getAdvisorySpeed() > 0) { + traffic_worker_.getDownTrack() > 0 || traffic_worker_.getUpTrack() > 0 || traffic_worker_.getAdvisorySpeed() > 0) { // construct local mobilityOperation msg carma_v2x_msgs::msg::MobilityOperation traffic_mobility_msg = traffic_worker_.mobilityMessageGenerator(traffic_worker_.getPinPoint());