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 @_JonMyer: 🚨Attention DeepRacer's including #UndergroundDeepRacer🚨 Check our our LIVE stream that including @IAM_dbro Take a few moments…
Aug 5
DIY Drones via Twitter
RT @MarvelmindMaxim: Extreme precision for 60 swarming robots. #marvelmind #autonomousrobotics #robotics #swarmrobotics #rtls #ips #indoor…
Aug 3
DIY Drones via Twitter
RT @MarvelmindMaxim: Precise (±2cm) tracking for racing boats and autonomous boats. Works outdoor and indoor. #autonomous #AutonomousVehic…
Aug 3
DIY Drones via Twitter
RT @MarvelmindMaxim: Helping PixHawk folks to fly autonomous quadcopters using PX4 and ArduPilot. https://marvelmind.com/drones/ Equally suitab…
Aug 3
DIY Robocars via Twitter
RT @chr1sa: The @DIYRobocars @donkey_car virtual AI car race is starting in 15 minutes! Watch it live on Twitch https://www.twitch.tv/mossmann3333 htt…
Aug 1
DIY Robocars via Twitter
RT @chr1sa: Don't miss our monthly @DIYRobocars @donkey_car virtual AI car race tomorrow at 10:00am PT live on Twitch. Head-to-head racing…
Jul 31
DIY Robocars via Twitter
RT @sparkfun: Our completed tutorial on building an @NVIDIA Jetson Nano-powered @Sphero RVR gets your bot up and running via teleoperation…
Jul 30
DIY Robocars via Twitter
RT @SmallpixelCar: Freeway test https://t.co/4V5tV9lhIP
Jul 29
DIY Robocars via Twitter
Very small autonomous cars racing, thanks to an overhead camera: https://control.ee.ethz.ch/research/team-projects/autonomous-rc-car-racing.html
Jul 29
DIY Robocars via Twitter
Jul 29
DIY Robocars via Twitter
Jul 29
DIY Robocars via Twitter
RT @chr1sa: Don't miss our virtual AI car race this Saturday! Real developers + virtual cars =🏎️🏎️🏎️ Head-to-head battles with thrills, sp…
Jul 28
DIY Robocars via Twitter
Jul 27
DIY Robocars via Twitter
RT @usashirou1: Jetson nano by Isaac Kaya #jetson https://t.co/Mu1N0CyQkN
Jul 23
DIY Robocars via Twitter
RT @GPUsolution: JetRacer mady by Iflytek company #JetsonNANO #Nvidia https://t.co/MimTymIwge
Jul 23
DIY Robocars via Twitter
RT @openmvcam: I love this: Mega or Mini? Image Classification on the 1MB OpenMV Cam H7 by Ish Ot Jr. in OpenMV, Edge Impulse, Internet of…
Jul 23
More…