Hello there!
I would like to add an additional sensor (that doesn't suppose to be used by autopilot) to my Pixhawk and add it to MAVLink protocol, so I need to study out the code and principles first.
So my question regarding THIS instruction Step #3. Do I have to change ardupilotmega.xml or pixhawk.xml in case I have last-mentioned board? And what is actually the difference between changing common.xml "If this command will hopefully be added to the MAVLink protocol.." or "..only for your personal use or only for use with Ardupilot.." ardupilotmega.xml ? Doesn't changing of ardupilotmega.xml already imply adding to the MAVLink protocol?
And the second question is about using Linux, as I understood we need it only for utilizing Step #5 - "run this command:./libraries/GCS_MAVLink/generate.sh". So maybe there is a way to avoid using Linux, 'cause for a person who never worked with it wastes a lot of time, likewise switching all the time between OSes?
Thank you in advance!
Replies
In Step #4 it is said, that
So the answer is - Ilia, you should use ardupilotmega.xml if you have arduplane firmware, and pixhawk.xml if you have an original pixhawk one.
Unfortunately all my attempts using Cmaker didn't work, so I just ran Linux, generated that files and returned back to my precious windows with required folder=)
P.S. I followed mostly instructions described here http://www.qgroundcontrol.org/dev/start