@uzapm wrote:
Hi,
I am using a Pixhawk to run the APM rover software and I need it to transmit data from external sensors which are read via i2c. I have already implemented the i2c communication and can read the necessary variables. (Code here: https://github.com/uzgit/ardupilot) I have also generated a mavlink message to transmit the variable, but it does not show up in APM Planner, presumably because APM Planner does not have that particular message implemented. I have had some success sending the information as text, but this is a fairly hacky method and does not allow for real-time graphing of the extra telemetry data, nor does it allow the variables to be displayed on the HUD as the rest of the variables can be.So my question is: what parts of the APM Planner code do I need to edit in order to make it recognize and work with new telemetry data, as it works with the default telemetry data?
So far, I have added the mavlink message for the new data into the ardupilotmega, common, and pixhawk directories in the APM Planner code and run make. The subsequent instance of APM Planner does not behave any differently.
Ideas?
Posts: 3
Participants: 2