Skip to content

Commit

Permalink
fix(autoware_map_based_prediction): msg namespace (#9553)
Browse files Browse the repository at this point in the history
Signed-off-by: amadeuszsz <[email protected]>
  • Loading branch information
amadeuszsz authored Dec 4, 2024
1 parent 8185a5b commit 560654f
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -691,7 +691,7 @@ void MapBasedPredictionNode::updateObjectData(TrackedObject & object)

if (
object.kinematics.orientation_availability ==
autoware_perception_msgs::msg::DetectedObjectKinematics::AVAILABLE) {
autoware_perception_msgs::msg::TrackedObjectKinematics::AVAILABLE) {
return;
}

Expand All @@ -712,7 +712,7 @@ void MapBasedPredictionNode::updateObjectData(TrackedObject & object)
if (abs_object_speed < min_abs_speed) return;

switch (object.kinematics.orientation_availability) {
case autoware_perception_msgs::msg::DetectedObjectKinematics::SIGN_UNKNOWN: {
case autoware_perception_msgs::msg::TrackedObjectKinematics::SIGN_UNKNOWN: {
const auto original_yaw =
tf2::getYaw(object.kinematics.pose_with_covariance.pose.orientation);
// flip the angle
Expand Down

0 comments on commit 560654f

Please sign in to comment.