Quantcast
Channel: ArduPilot Discourse - Latest topics
Viewing all articles
Browse latest Browse all 46077

Garbage/noise characters being generated over direct serial connection

$
0
0

@Anubis wrote:

I am running MAVProxy on a companion computer with a -out 127.0.0.1:9001 relay to communicate with some processes on the CC.

I’m using a Cube Black and I’ve tried it with a Pi3 over USB and a TX1 over UART. In both cases, I get garbage characters appearing whenever I send MAVLink commands relayed through MAVProxy. For example, here I am sending a baro calibration request:

LOITER>
LOITER> ArkmI_
TLWD=xi=B\`=|D<1 3bomAM">o!<ZYy!,\xANB`e=po<0}zsIn:;Geh*[
#H8K>:=Z X4t6?.?L=' 2<^[4_JL7="=RAPM: Calibrating barometer
APM: Barometer calibration complete
Got MAVLink msg: COMMAND_ACK {command : 241, result : 0}
Calibrated

The garbage appears less often at lower baudrates. I might expect some noise when connected over radio, but a direct serial or USB connection shouldn’t do this. In fact, some of the garbage chunks contain legible pieces such as garbled parameter names, so it’s not just random noise. I’m guessing that mavlink messages are somehow colliding, but I’m not sure what I did wrong. Any hints?

Posts: 1

Participants: 1

Read full topic


Viewing all articles
Browse latest Browse all 46077

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>