MissionPlanner icon indicating copy to clipboard operation
MissionPlanner copied to clipboard

Parameter reading glitch when connecting with xbee

Open JamesxL opened this issue 13 years ago • 7 comments

Xbee setup as required in wiki here https://code.google.com/p/arducopter/wiki/APM2Wireless

xbee s2b, 57600kbsp baud tested with X-ctu .. check

FC: PX4 loaded ac3.0.1 usb connection works alright. 3dr radio..no tested yet

Flight data tab is working correctly. the attitude, gps shows correctly

hardware tab. some check box becomes unusable software tab. as shown, lost reading

error2 error

JamesxL avatar Jul 31 '13 23:07 JamesxL

how are you connecting? the error is because you don't have a valid parameter list. which is odd in itself.

meee1 avatar Aug 12 '13 23:08 meee1

The connection is using the 3dr radio cable without the 5th pin.(v/g/tx/rx). The same xbee work alright when plugged into apm 2.5.. reads parameter and all hud data.

but when connected to px4, it only reads hud data and errors out at parameters tab

On Mon, Aug 12, 2013 at 6:53 PM, meee1 [email protected] wrote:

how are you connecting? the error is because you don't have a valid parameter list. which is odd in itself.

— Reply to this email directly or view it on GitHubhttps://github.com/diydrones/MissionPlanner/issues/126#issuecomment-22534534 .

JamesxL avatar Aug 12 '13 23:08 JamesxL

do newer mp versions fix this?

meee1 avatar Aug 17 '13 07:08 meee1

1.2.70 "somehow" fixed the problem. here's the procedure I have taken:

  1. power PX4
  2. connect PX4 thru Xbee in MP Result. as usual. the parameter wont be read.
  3. click disconnect in MP
  4. reconnect without power cycle PX4 Result. It reads thru parameter successfully.

power cycle PX4, the above things repeat

*side-effect? (could be exisiting fw issue tho. I'll post it over to a_pilot rep if necessary) disconnect link in MP unpower PX4 power PX4 back on Result: PX4 beeping like this. 1~~~ 3~ 2~ 1~~~~~~~~~~~~~~~~(and stuck) (actually happening randomly. and seems has to do with the presence of Xbee) or 3~ 2~ 1~~ .................. (missing the fist long tone. and MP will not connect the board thru Xbee unless power cycled til normal)

JamesxL avatar Aug 17 '13 17:08 JamesxL

verify your usb port is providing enough power.

meee1 avatar Aug 17 '13 23:08 meee1

px4 powered with dedicated 3s battery.

usb is standard 5v from desktop
bottom line.. it is working on 2nd connection

JamesxL avatar Aug 17 '13 23:08 JamesxL

I think this is now fixed. and was a completely unreleated bug, to do with packetloss.

meee1 avatar Sep 13 '13 09:09 meee1