Position, Velocity using Accelerometer

i am developing a machine learning model to run a drone using raspberry pi connected to servers and then it is connected to the Ardupilot, but could not figure out how the velocity of NED is being calculated.

generally its calculated or provided using GPS. but i was understanding the code and it seems like

https://github.com/ArduPilot/ardupilot/blob/master/libraries/AP_InertialSensor/AP_InertialSensor.cpp

has a function called get_delta_velocity which later used in get_velocity_NED function so how the velocity is being calculated ? Accelerometer or GPS ?? 

You need to be a member of diydrones to add comments!

Join diydrones

Email me when people reply –

Activity