File tree Expand file tree Collapse file tree
perception/autoware_multi_object_tracker/lib/tracker/model Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -311,9 +311,8 @@ std::optional<types::DynamicObject> VehicleTracker::alignClusterToTrackerOrienta
311311 const types::DynamicObject & cluster, const double tracker_yaw) const
312312{
313313 // Only re-project polygon (cluster) measurements; bounding boxes are already axis-aligned.
314- const bool is_cluster =
315- cluster.shape .type == autoware_perception_msgs::msg::Shape::POLYGON &&
316- !cluster.shape .footprint .points .empty ();
314+ const bool is_cluster = cluster.shape .type == autoware_perception_msgs::msg::Shape::POLYGON &&
315+ !cluster.shape .footprint .points .empty ();
317316 if (!is_cluster) return std::nullopt ;
318317
319318 const auto & pts = cluster.shape .footprint .points ;
@@ -368,8 +367,7 @@ bool VehicleTracker::conditionedUpdate(
368367{
369368 // For cluster measurements, re-project the footprint onto the tracker heading before strategy
370369 // selection. nullopt is returned when there are no footprint points.
371- const auto aligned =
372- alignClusterToTrackerOrientation (measurement, motion_model_.getYawState ());
370+ const auto aligned = alignClusterToTrackerOrientation (measurement, motion_model_.getYawState ());
373371 const types::DynamicObject & meas = aligned ? *aligned : measurement;
374372
375373 // Determine update strategy
You can’t perform that action at this time.
0 commit comments