Problem with XTend and MAVLink on APM

I have a couple Digi XTend 1W 900MHz modules that I am trying to get working with APM 2.23 and APM Planner 1.0.63.

 

I have the modules set up for 57600-8-N-1 and they seem to be working fine as a serial link (I can hook them both up to my computer, open a couple terminals, and chat with myself).

 

I'm also able to enter CLI -> test -> xbee and use the APM as a loopback. I can do the X-CTU range test through the APM as described in the manual here:

http://code.google.com/p/ardupilot-mega/wiki/Xbee

 

However, I'm not able to get a MAVLink connection with APM Planner. MAVLink works fine over the FTDI serial interface. When I try to connect through the XTend modules though, the status popup gets to "Getting Params.. (sysid 1)" and then fails (relevant APM Planner console dump below).

 

Any ideas as to why the serial link works in general, but not with MAVLink? I'm new to wireless telemetry, so it could be something obvious.

 

bps 0 loss 0 left 11
lost 34
bps 11 loss 1 left 11
MAv Data: len 11 btr 11
ID 1 1
lost 36
68686868686868686868686868686868686868685f685a6868686668686868686868686868686868
68686868686868686868MAVLINK: wait time out btr 6 len 9
bps 22 loss 2 left 1
bps 11 loss 2 left 11
MAVLINK: wait time out btr 5 len 9
bps 11 loss 2 left 0
MAVLINK: wait time out btr 5 len 9
bps 11 loss 2 left 0
bps 11 loss 2 left 11
getParamList Retry 3 sys 1 comp 1
MAVLINK: wait time out btr 5 len 9
bps 11 loss 2 left 0
MAVLINK: wait time out btr 5 len 9
bps 11 loss 2 left 0
bps 11 loss 2 left 8
MAVLINK: wait time out btr 5 len 9
bps 11 loss 2 left 0
MAVLINK: wait time out btr 5 len 9
bps 11 loss 2 left 0
getParamList Retry 2 sys 1 comp 1
MAVLINK: wait time out btr 5 len 9
bps 11 loss 2 left 11
bps 11 loss 2 left 11
MAVLINK: wait time out btr 5 len 9
bps 11 loss 2 left 0
bps 11 loss 2 left 11
bps 11 loss 2 left 11
getParamList Retry 1 sys 1 comp 1
bps 11 loss 2 left 11
MAVLINK: wait time out btr 5 len 9
bps 11 loss 2 left 0
MAVLINK: wait time out btr 5 len 9
bps 11 loss 2 left 0
bps 11 loss 2 left 11
MAVLINK: wait time out btr 5 len 9
bps 11 loss 2 left 0
remote lost 0
REQ streams - flightdata
Mavlink Bad Packet (crc fail) len 5 crc 30354 pkno 0
Serial Reader fail :The port is closed.
Request stream MAV_DATA_STREAM_EXTENDED_STATUS at 1 hz : currently 0
Request stream MAV_DATA_STREAM_POSITION at 3 hz : currently 0
Request stream MAV_DATA_STREAM_EXTRA1 at 10 hz : currently 0
Request stream MAV_DATA_STREAM_EXTRA2 at 10 hz : currently 0
Request stream MAV_DATA_STREAM_RAW_SENSORS at 3 hz : currently 0
Request stream MAV_DATA_STREAM_RC_CHANNELS at 3 hz : currently 0
Not a 1280
Not a 2560

You need to be a member of diydrones to add comments!

Join diydrones

Email me when people reply –

Replies

  • Hey guys,  

    How is the range testing going? 

  • Well, it works now.

     

    Long story short, my XTend modules came with the RT parameter (GPI1 purpose) set to [1 - BINARY COMMAND INDICATOR]. I set it to [0 - UNUSED] on the GCS module and everything works great. Since the other option is [2 - RTS FLOW CONTROL], I'm guessing that the computer was setting it when ready, putting the module into some mode where it wasn't ready to put data into the Tx buffer.

     

    Next up, range test!

  • Hope you find a solution. I've got a couple xtends I'd like to use as well.

This reply was deleted.

Activity

DIY Robocars via Twitter
RT @Heavy02011: ⁦@diyrobocars⁩ : A Home-brew computer club* for Connected Autonomous Driving. talk at #piandmore ⁦@PiAndMore⁩ on Jan 23rd h…
yesterday
DIY Robocars via Twitter
RT @a1k0n: New blog post! Deep dive into my ceiling light based localization algorithm which runs in 1ms on a Raspberry Pi 3: https://t.co/…
yesterday
DIY Robocars via Twitter
Great new guide to using @donkey_car https://custom-build-robots.com/donkey-car-e-book-en
yesterday
DIY Robocars via Twitter
RT @chr1sa: The next @DIYRobocars virtual AI race is tomorrow morn at 9:00am PT. You can watch live on Twitch https://www.meetup.com/DIYRobocars/events/275268196/
Friday
DIY Robocars via Twitter
New version of Intel OpenBot! This resolves many of the issues with the first version, including a much smoother tr… https://twitter.com/i/web/status/1352395636369313798
Thursday
DIY Drones via Twitter
Using ArduRover with an RTK GPS https://ift.tt/2N9I3RO
Jan 18
DIY Drones via Twitter
Jan 18
DIY Robocars via Twitter
Jan 18
DIY Robocars via Twitter
Jan 15
DIY Robocars via Twitter
Jan 15
DIY Drones via Twitter
Jan 14
DIY Robocars via Twitter
RT @Heavy02011: @diyrobocars : A Home-brew computer club* for Connected Autonomous Driving on Jan 23rd, 2021 https://www.meetup.com/Connected-Autonomous-Driving/events/275728684/ #Meetu…
Jan 14
DIY Robocars via Twitter
Jan 14
David Hori liked Isabella Domi's profile
Jan 12
DIY Robocars via Twitter
RT @Heavy02011: ⁦@diyrobocars⁩ Autonomous Driving Assembly at #rC3. join us at https://rc3.world/rc3/assembly/diyrobocars-f1tenth/ ⁦@f1tenth⁩ ⁦@DAVGtech⁩ ⁦@DWalmroth⁩…
Jan 11
DIY Robocars via Twitter
RT @chr1sa: New car designs coming for our next @DIYRobocars @donkey_car virtual race on the 23rd. Choose any one you want at race time Le…
Jan 11
More…