Skip to content
Snippets Groups Projects
Select Git revision
  • ABK-PID-dev
  • sensor-manager-upd
  • zvk-dev
  • nd015x-dma
  • sx1278-priority-fix
  • main default protected
  • bfloat16
  • usart-debug
  • nas-pitot-correction
  • logger-documentation
  • arp
  • arp-gyro
  • async-fsm
  • chipselect-mux
  • nas-catch-dev
  • parafoil-mavlink-upd
  • mockup-main-software
  • quadspi-flash
  • quadspi-flash2
  • sx1278-resilience
  • ARP-pre-2.7
  • PYXIS_ROCCARASO
  • PYXIS_EUROC
  • lynx-euroc
  • hermes-v1.0
  • hermes-flight-1
26 results

cmake

  • Clone with SSH
  • Clone with HTTPS
  • Mavlink_editor

    GUI for defining Mavlink messages.

    Mavlink messages are defined in an XML file, from which the C structures and helper functions are then generated. To find out more, see the related wiki page in the Skyward Wiki.

    This repo contains:

    • The GUI editor (app/)
    • The code generator script (pymavlink/)
    • The shared repo where you can find the generated structures and the original XML (mavlink_skyward_lib/)

    Dependencies: Git and Python2 with pip

    Edit the XML

    • Clone this repo git clone --recursive http://www.github.com/skyward-er/Mavlink_editor.git
    • Optionally, create a virtual env
      • virtualenv env
      • source env/bin/activate
    • cd Mavlink_editor and pip install -r requirements.txt
    • python run.py and copy the prompted IP address in your browser

    Generate C code

    Once you finished editing, you can click on the generate button in the Home page. This will modify the content of mavlink_skyward_lib/mavlin_lib

    To commit the changes:

    • In the mavlink_skyward_lib/ submodule, git checkout master and the commit the changes.
    • In the main folder, git submodule update --remote --merge and commit from there too