Guitarmath / arducopter

Automatically exported from code.google.com/p/arducopter
0 stars 0 forks source link

may be actual_speed caclculation error #398

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
Arducoper 2.5.3

navigation pde
--------------------------------------------------------------
x_actual_speed  = (float)(g_gps->longitude - last_longitude)  * scaleLongDown * 
tmp;
y_actual_speed  = (float)(g_gps->latitude  - last_latitude)  * tmp;
----------------------------------------------------------------

v = distance_cm_sec / time
t = tmp /time in seconds, its ok
g_gps->latitude  - last_latitude  its distance in degrees * 10^7 
each degree = 111.11 km , to cm = * 10^7 = 1111100000cm

as result y_actual_speed not in sm/sec

Original issue reported on code.google.com by alexeyko...@gmail.com on 4 Apr 2012 at 1:48

GoogleCodeExporter commented 8 years ago
Closing all issues on the old issues list by marking them WontFix.

If this is still a valid issue please re-raise it on the new GitHub issues 
list: https://github.com/diydrones/ardupilot/issues

Thanks!

Original comment by rmackay...@gmail.com on 21 Jul 2013 at 2:14