Eagler 19 Work
Create a file named calc_fortran.f90:
subroutine calc_fortran(a, b, res) implicit none !DEC$ ATTRIBUTES DLLEXPORT, STDCALL :: calc_fortran !DEC$ ATTRIBUTES ALIAS:'calc_fortran' :: calc_fortrandouble precision, intent(in) :: a, b double precision, intent(out) :: res res = a * b + 3.14d0
end subroutine calc_fortran
Note: The !DEC$ directives are specific to the Intel Fortran Compiler (ifort) on Windows. For gfortran on Linux, you would use the BIND(C) attribute.
Compilation (Windows with Intel Fortran): eagler 19 work
ifort /dll calc_fortran.f90
This generates calc_fortran.dll.
Professional surveyors use the Eagler 19 for mapping. To make it work at maximum efficiency: Create a file named calc_fortran
The ESC is the middleman between the battery and the motor.
Reality: Most standard Eagler 19 units are not VTOL. Some modified versions add four vertical motors, but that requires a separate VTOL flight controller and extensive wiring. end subroutine calc_fortran
The FC is a miniature computer running ArduPilot or Betaflight firmware. It contains:
The Workflow: