Hi,

I am looking to use the AP_InertialSensor_MPU6000.cpp example in custom code to run on the APM 2.6.

I want to integrate the standard MPU6000 example into a class within my own application, which uses standard libraries like servo etc etc.  Hence I do not wish to set the board type via ArduPilot>HAL Board>ArduPilot Mega 2.x, as this excludes standard libraries upon compile as you may know.

Has anyone had experience of adding extra includes of APM libraries/config files for example in order to get past the error "AP_HAL_BOARD_DRIVER was not declared in this scope" in order to have success with using standard APM code in custom as I describe?

Many thanks.

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

Join diydrones

Email me when people reply –