uncrustify libraries/AP_Math/location.cpp
This commit is contained in:
parent
f11f64108a
commit
86e4925fa5
@ -18,7 +18,7 @@
|
||||
*/
|
||||
|
||||
/*
|
||||
this module deals with calculations involving struct Location
|
||||
* this module deals with calculations involving struct Location
|
||||
*/
|
||||
|
||||
#include <FastSerial.h>
|
||||
@ -114,10 +114,10 @@ bool location_passed_point(struct Location &location,
|
||||
}
|
||||
|
||||
/*
|
||||
extrapolate latitude/longitude given bearing and distance
|
||||
thanks to http://www.movable-type.co.uk/scripts/latlong.html
|
||||
|
||||
This function is precise, but costs about 1.7 milliseconds on an AVR2560
|
||||
* extrapolate latitude/longitude given bearing and distance
|
||||
* thanks to http://www.movable-type.co.uk/scripts/latlong.html
|
||||
*
|
||||
* This function is precise, but costs about 1.7 milliseconds on an AVR2560
|
||||
*/
|
||||
void location_update(struct Location *loc, float bearing, float distance)
|
||||
{
|
||||
@ -135,8 +135,8 @@ void location_update(struct Location *loc, float bearing, float distance)
|
||||
}
|
||||
|
||||
/*
|
||||
extrapolate latitude/longitude given distances north and east
|
||||
This function costs about 80 usec on an AVR2560
|
||||
* extrapolate latitude/longitude given distances north and east
|
||||
* This function costs about 80 usec on an AVR2560
|
||||
*/
|
||||
void location_offset(struct Location *loc, float ofs_north, float ofs_east)
|
||||
{
|
||||
|
Loading…
Reference in New Issue
Block a user