AP_Proximity: Fix sensor order on TeraRanger Tower Evo

This commit is contained in:
Mateusz Sadowski 2018-06-25 10:06:08 +02:00 committed by Randy Mackay
parent 88a2a123a3
commit f6dc6edc04
1 changed files with 6 additions and 6 deletions

View File

@ -161,13 +161,13 @@ bool AP_Proximity_TeraRangerTowerEvo::read_sensor_data()
uint16_t d8 = process_distance(buffer[16], buffer[17]);
update_sector_data(0, d1);
update_sector_data(45, d8);
update_sector_data(90, d7);
update_sector_data(135, d6);
update_sector_data(45, d2);
update_sector_data(90, d3);
update_sector_data(135, d4);
update_sector_data(180, d5);
update_sector_data(225, d4);
update_sector_data(270, d3);
update_sector_data(315, d2);
update_sector_data(225, d6);
update_sector_data(270, d7);
update_sector_data(315, d8);
message_count++;
}