Hello every friends!
I success to connect RPi3 with Pixhawk !
And I think I need to share my method to you.
If somewhere is wrong, please tell me, thank you!
By the way, I’m Taiwanese.
So if my grammar has any mistakes, please forgive me.
I am still practicing it now.
By the way, if you have mistakes in the period of downloading “pymavlink”.
Maybe you can try to download the package “future” first. (sudo pip install future)
And then try to download “pymavlink” again, maybe it will work.
when you finish the packages, please update again (sudo apt-get update)
Use the command “sudo raspi-config”
And set the serial is enable.
Use the command “sudo -s”
It will show “root@raspberrypi:/home/pi#”
and then use the command “mavproxy.py --master=/dev/ttyAMA0 --baudrate 57600 --aircraft MyCopter”
It will show some information , but it will stop at the row of red line, just like
MAV>
And use the command “sudo screen -r mavproxy”
It will show "MAV> " again.
Press “Ctrl+C”, back to “root@raspberrypi:/home/pi#”
Use the command “mavproxy.py --master=/dev/ttyS0 --baudrate 57600 --aircraft MyCopter”
And it will connect each other successfully !
The only different way from before is using the command “sudo screen -r mavproxy”
I used this method on two pixhawks and two RPIs, both of their connection are successful…
But…I don’t know why…I’m so confused…
If anyone know the reason, please discuss with me, thank you!
Wish every friends can solve this problem successfully !
Cheers!