Browse Source

AP_Beacon: fixed comment. NE is correct.

mission-4.1.18
Shingo Matsuura 8 years ago committed by Randy Mackay
parent
commit
21ca1d3835
  1. 2
      libraries/AP_Beacon/AP_Beacon_SITL.cpp

2
libraries/AP_Beacon/AP_Beacon_SITL.cpp

@ -80,7 +80,7 @@ void AP_Beacon_SITL::update(void)
Location beacon_loc = beacon_origin; Location beacon_loc = beacon_origin;
switch (beacon_id) { switch (beacon_id) {
case 0: case 0:
// NW corner // NE corner
location_offset(beacon_loc, ORIGIN_OFFSET_NORTH + BEACON_SPACING_NORTH/2, ORIGIN_OFFSET_EAST + BEACON_SPACING_EAST/2); location_offset(beacon_loc, ORIGIN_OFFSET_NORTH + BEACON_SPACING_NORTH/2, ORIGIN_OFFSET_EAST + BEACON_SPACING_EAST/2);
break; break;
case 1: case 1:

Loading…
Cancel
Save