Control Drone build by Px6

Hi, I have a problem with my Real Drone building by PX6C. I have a GUI is written by mavsdk-python and tkinter with button takeoff, land.

  1. This GUI work normally with Jmavsim-Drone
  2. My real Drone flying normally with QGC.
    Result:

    QUESTION:
  3. Is the code mavsdk use for Jmavsim-Drone different with Real-Drone ?!
  4. Does examples on mavsdk-python github can run with REAL-Drone ?!
    Please give me some advice. Tks for reading !!