The communicatory question between pixhawk and raspberry pi3

How is the Pixhawk connected to the Raspberry Pi? USB? If you are using USB, you should use /dev/ttyACM0 for ‘master’, if you are using the RX/TX pins on the Raspberry Pi, make sure you have disabled the console login on the serial interface.

-Jacob