Skip to content

Coding Styles

Elias Alberts edited this page Aug 31, 2021 · 5 revisions

C++ code style

Includes should be grouped into categories and placed in this order:

  1. implementation header or interface
  2. group 1
  3. group 2

For example:

#include "heartbeat_handler.h"

#include <QDebug>
#include <QJsonArray>


#include "common_tmi.h"
#include "mavlink_protocol_helpers.h"
#include "mode_helper_factory.h"

QML code style

JavaScript code style

Clone this wiki locally