QGroundControl
Ground Control Station for MAVLink Drones
Loading...
Searching...
No Matches
FemtoPlan.h File Reference
#include <array>
#include <chrono>
#include <span>
#include <string_view>
#include <QtCore/QByteArray>
#include "GPSCommand.h"
+ Include dependency graph for FemtoPlan.h:
+ This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

struct  Femto::Plan::Command
 

Namespaces

namespace  Femto
 Femtomes receivers: ASCII commands, with GGA sentences and RTCM3 output, set up as RTK base stations.
 
namespace  Femto::Plan
 

Functions

GPSCommandSequence Femto::Plan::sequence (std::span< const Command > commands)
 
GPSCommandSequence Femto::Plan::fixedBase (const GPSEllipsoidPosition &position)
 ELLIPSOID_HEIGHTS, FIX_POSITION for position, then GGA_OUTPUT.
 

Variables

constexpr std::chrono::milliseconds Femto::Plan::RESPONSE_TIMEOUT {200}
 Per attempt, for every command.
 
constexpr std::string_view Femto::Plan::REJECTED = "<ERROR"
 
constexpr unsigned Femto::Plan::BAUD = 115200
 The link rate unless one is selected or detected, and the only rate receiver detection probes.
 
constexpr std::array Femto::Plan::BAUD_RATES {BAUD}
 
constexpr Command Femto::Plan::VERSION {"VERSION\r\n", "<VERSION OK"}
 Identifies the receiver without changing it, so receiver detection probes with it alone.
 
constexpr std::array Femto::Plan::IDENTIFY
 Stops every log on this port and identifies the receiver, in up to IDENTIFY_ROUNDS rounds.
 
constexpr unsigned Femto::Plan::IDENTIFY_ROUNDS = 2
 
constexpr Command Femto::Plan::GGA_OUTPUT {"LOG GPGGA 1 \r\n", "<LOG OK"}
 GGA output; the base station uses it only to observe the survey-in.
 
constexpr unsigned Femto::Plan::AVERAGED_POSITION_QUALITY = 7
 GGA fix quality of a position the receiver holds fixed: position averaging finished.
 
constexpr std::array Femto::Plan::SURVEY_IN
 Survey-in base: receiver position averaging. A GGA fix of quality 7 completes it, and RTCM_OUTPUT follows.
 
constexpr Command Femto::Plan::ELLIPSOID_HEIGHTS {"UNDULATION USER 0\r\n", "UNDULATION OK"}
 
constexpr std::string_view Femto::Plan::FIX_POSITION_ACCEPTED = "FIX OK"
 
constexpr std::array Femto::Plan::RTCM_OUTPUT
 RTCM3 output once the base position is known.