I have a Pixhawk connected to a Raspberry Pi 3 as per this article: http://ardupilot.org/dev/docs/raspberry-pi-via-mavlink.html via the Telem2 port.
Everything has been set up, upon executing the mavproxy.py script, I am able to receive information from the Pixhawk but not send information to it.
According to this video: https://www.youtube.com/watch?v=DGAB34fJQFc. I followed all the steps however I'm not able to send commands via MAVLink from the Raspberry Pi to the Pixhawk. I am able to receive the commands in the Terminal when I manually arm/disarm the motors using my controller.
However, when I try executing any command, nothing changes. It just shows STABILIZE> even when I type "mode RTL" and hit Enter, nothing happens and "STABILIZE>" appears again. No message, nothing.
The baud rate has been set correctly, but does anyone have any idea of what the problem may be?
Also: I don't quite understand why we have to disable the serial port then enable it by setting enable_uart = 1. It's basically turning it off and back on with nothing happening in between, according to the first linked article. Could anyone explain the rationale behind this?
Any help is appreciated.