AP_Proximity: Include database push in MR72 driver

This commit is contained in:
rishabsingh3003 2024-06-21 23:17:30 -04:00 committed by Randy Mackay
parent 96f96fccad
commit d7da8b315f
1 changed files with 1 additions and 0 deletions

View File

@ -117,6 +117,7 @@ bool AP_Proximity_MR72_CAN::parse_distance_message(AP_HAL::CANFrame &frame)
const AP_Proximity_Boundary_3D::Face face = frontend.boundary.get_face(yaw); const AP_Proximity_Boundary_3D::Face face = frontend.boundary.get_face(yaw);
_temp_boundary.add_distance(face, yaw, objects_dist); _temp_boundary.add_distance(face, yaw, objects_dist);
database_push(yaw, objects_dist);
return true; return true;
} }