Tools: autotest proximity sensor fix for sf45b

This commit is contained in:
Randy Mackay 2023-06-13 13:40:23 +09:00 committed by Peter Barker
parent 29292c2aaa
commit 7ecb580519

View File

@ -6811,14 +6811,14 @@ class AutoTestCopter(AutoTest):
})
sensors = [ # tuples of name, prx_type
('sf45b', 8, {
mavutil.mavlink.MAV_SENSOR_ROTATION_NONE: 285,
mavutil.mavlink.MAV_SENSOR_ROTATION_YAW_45: 256,
mavutil.mavlink.MAV_SENSOR_ROTATION_YAW_90: 1131,
mavutil.mavlink.MAV_SENSOR_ROTATION_YAW_135: 1283,
mavutil.mavlink.MAV_SENSOR_ROTATION_YAW_180: 625,
mavutil.mavlink.MAV_SENSOR_ROTATION_YAW_225: 968,
mavutil.mavlink.MAV_SENSOR_ROTATION_YAW_270: 760,
mavutil.mavlink.MAV_SENSOR_ROTATION_YAW_315: 762,
mavutil.mavlink.MAV_SENSOR_ROTATION_NONE: 270,
mavutil.mavlink.MAV_SENSOR_ROTATION_YAW_45: 258,
mavutil.mavlink.MAV_SENSOR_ROTATION_YAW_90: 1146,
mavutil.mavlink.MAV_SENSOR_ROTATION_YAW_135: 632,
mavutil.mavlink.MAV_SENSOR_ROTATION_YAW_180: 629,
mavutil.mavlink.MAV_SENSOR_ROTATION_YAW_225: 972,
mavutil.mavlink.MAV_SENSOR_ROTATION_YAW_270: 774,
mavutil.mavlink.MAV_SENSOR_ROTATION_YAW_315: 774,
}),
('rplidara2', 5, {
mavutil.mavlink.MAV_SENSOR_ROTATION_NONE: 277,