Servers by jDrones

Can't receive parameters from Pixhawk via MAVProxy

I was trying to let Pixhawk communicate with Praspberry Pi via Mavlink and I followed this article
However, when I typed this command --master=/dev/ttyAMA0 --baudrate 57600 --aircraft MyCopter

It showed like this

root@raspberrypi:/home/pi# --master=/dev/ttyAMA0 --baudrate 57600 --aircraft MyCopter
Connect /dev/ttyAMA0 source_system=255
no script MyCopter/mavinit.scr
Log Directory: MyCopter/logs/2017-08-28/flight6
Telemetry log: MyCopter/logs/2017-08-28/flight6/flight.tlog

but the result in the official document looks like this

It seems no parameters received by rpi
my device is rpi 3b
any ideas?

I don’t know much about, but I know some about linux. Just in case someone else more knowledgeable doesn’t respond:

  1. typing “ --help” suggests that the proper syntax for the command should be: --master=/dev/ttyAMA0 --baudrate=57600 --aircraft=MyCopter

I think that mavproxy probably understands your syntax as well, but it can’t hurt to follow the documentation just in case.

  1. The error message suggests that the file “mavinit.scr” is missing from the MyCopter subdirectory. Can you type the command “ls MyCopter” from /home/pi and verify that there is a mavinit.scr file in that subdirectory?

Thanks for your reply. :slight_smile: The file “mavinit.scr” is also missing in the image that the official document provided. I guess it’s not the key problem.

Sorry I wasn’t more helpful. Can someone else chime in?

pls refer here. I am able to connect now.

Servers by jDrones