I use an ADC ADS1115 to convert analog data from sharp IR , How Can I use the AP_ADC to do this. When I connect my sharp IR there is no mavlink message or anything else.
You would have to program a mavlink for that, by default there is no logging or mavlink with AD information.