QGroundControl
Ground Control Station for MAVLink Drones
Loading...
Searching...
No Matches
PX4SerialPortConfig::Function Struct Reference

#include <PX4SerialPortConfig.h>

Public Attributes

QString paramName
QString label
QList< Port > ports
 Ports the function can run on, excluding Disabled.
int currentPortId = kDisabledPortId
int defaultPortId = kDisabledPortId

Detailed Description

Definition at line 22 of file PX4SerialPortConfig.h.

Member Data Documentation

◆ currentPortId

int PX4SerialPortConfig::Function::currentPortId = kDisabledPortId

◆ defaultPortId

int PX4SerialPortConfig::Function::defaultPortId = kDisabledPortId

Port the function still runs on when its parameter is Disabled, else kDisabledPortId. Only RC Input Driver has one: PX4 always starts it, on the board's default RC port when its parameter is Disabled.

Definition at line 30 of file PX4SerialPortConfig.h.

Referenced by PX4SerialPortConfig::makeFunction(), and PX4SerialPortConfig::removeFromPort().

◆ label

QString PX4SerialPortConfig::Function::label

Definition at line 25 of file PX4SerialPortConfig.h.

◆ paramName

QString PX4SerialPortConfig::Function::paramName

Definition at line 24 of file PX4SerialPortConfig.h.

◆ ports

QList<Port> PX4SerialPortConfig::Function::ports

Ports the function can run on, excluding Disabled.

Definition at line 26 of file PX4SerialPortConfig.h.

Referenced by PX4SerialPortConfig::makeFunction().


The documentation for this struct was generated from the following file: