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
Friday
DIY Robocars via Twitter
RT @_JonMyer: 🏎 We need your help in naming my #AWS DeepRacer Underground Track 🏎 @davidfsmith's track is going to be referred to as 𝗔𝗪𝗦 𝗗…
Thursday
DIY Robocars via Twitter
RT @gclue_akira: 仕事もおわったし、電脳化にとらい #マリオカートハック https://t.co/4IU90hCLgm
Thursday
DIY Robocars via Twitter
This is the hashtag to follow all the people in Japan who are hacking the new Nintendo Mario Kart with the real AR… https://twitter.com/i/web/status/1319281354664677376
Thursday
DIY Robocars via Twitter
RT @gclue_akira: @chr1sa @diyrobocars jupyter mario https://t.co/P0oHdjlCRq
Thursday
DIY Robocars via Twitter
RT @_JonMyer: 🚨Our 1st AWS DeepRacer Community Race is Underway on http://twitch.tv/aws 🚨 Join us to find out which member of your commu…
Oct 20
DIY Robocars via Twitter
Oct 19
DIY Robocars via Twitter
RT @BackyardRobotcs: After an admittedly long wait, the new Tinymovr R3.3 motor controller is now available https://tinymovr.com 🥳
Oct 19
DIY Robocars via Twitter
RT @_JonMyer: 🏎 1 hr left before the #AWS #DeepRacer Community 🏎 Top 5 Race tomorrow LIVE on Twitch 1st Place = $50 Amazon GC or AWS Credit…
Oct 19
DIY Robocars via Twitter
Oct 16
DIY Robocars via Twitter
Oct 15
DIY Robocars via Twitter
Oct 14
DIY Robocars via Twitter
RT @davidfsmith: Race virtually with The AWS DeepRacer Community Race and then join us on the track to see how your times compare on the ph…
Oct 14
DIY Robocars via Twitter
Oct 14
Hiroki Tanaka liked Hiroki Tanaka's profile
Oct 13
DIY Robocars via Twitter
RT @breadcentric: It's now!
Oct 13
More…