My co-worker and I had our xbees configured on the same uid and on MP it was trying to process both streams (not good). Aside from using separate XBee UID's is there a way in MP or via MAVLink to have Mission Planner separate data from multiple APMs transmitting (like a A/B switch)? We need the Xbee on the same UID (an experiment :) )... We did the same experiment on a pair of MK's months ago and I had to rewrite their wire protocol to fit our use case, which worked: I was hoping it wouldn't be the case with the APM/Mavlink.
I thought MAVLink supported multiple vehicles, but don't see it in the spec by default--you have to add that capability in the schema from what I've read (?).
Only solution I saw in the code was to alter the mavlink XML and regenerate and modify the APM code to add a uid to it... and I'm assuming MP demarshalls each packet completely (checks for well-formness), but ignores the additional elements added. Suggestions?
Replies
the answer is actualy simple
on the seconds apm change the SYSID_THISMAV to something diffrent. and it should just talk to only one uav. i would connect while only 1 was transmitting however.