This page has moved to

Click here if you are not redirected.

MAVLink Shell

The MAVLink Shell is an NSH console that can be accessed via MAVLink over serial (USB/Telemetry) or WiFi (UDP/TCP) links (in particular, on NuttX-based systems like: Pixhawk, Pixracer, etc.).

The shell can be used for running commands and modules, and displaying their output. While the shell cannot directly display the output of modules that it does not start, it can do so indirectly using the dmesg command (dmesg -f & can be used to display the output of other modules and tasks running on the work queue).

The QGroundControl MAVLink Console is the easiest way to access the console. If the system does not start properly you should instead use the System Console.

Opening the Shell

The easiest way to access shell is to use the QGroundControl MAVLink Console (see Analyze View > Mavlink Console).

You can also access the shell in a terminal using the script:

  1. Shut down QGroundControl.
  2. Install dependencies:
    sudo pip3 install pymavlink pyserial
  3. Open terminal (in PX4-Autopilot directory) and start the shell:
    # For serial port
    ./Tools/ /dev/ttyACM0
    # For Wifi connection

Use -h to get a description of all available arguments.

For information see: PX4 Consoles/Shells > Using Consoles/Shells.

results matching ""

    No results matching ""