Hey All,

I am looking to add a new custom optical flow sensor and wish to do it in the least obtrusive way to ensure future compatibility and easy code merges. I am not 100% sure how to do this.

I know I need to extend AP_OpticalFlow just as AP_OpticalFlow_ADNS3080 does and implement the appropriate methods.

What role does the keywords.txt file play?

How should I "register" it in the ArduCopter.pde to add my new sensor while leaving the AP_OpticalFlow_ADNS3080 in place?

Thanks,

Michael

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

Join diydrones

Email me when people reply –

Replies

  • Hi Michael,

    Just wondering: Did you ever figure out how to do this?  

    I'm investigating something similar for the PX4 platform.

    Best,

    Todd

This reply was deleted.

Activity