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

Go to the source code of this file.

Namespaces

namespace  SBF
 Septentrio receivers configured as RTK bases with SBF commands; they stream PVTGeodetic blocks and RTCM3.
 
namespace  SBF::Plan
 

Functions

constexpr QByteArrayView SBF::Plan::FORCE_COMMAND_INPUT ("SSSSSSSSSS\n")
 Forces the connection back to command input, whatever it was set to accept.
 
constexpr QByteArrayView SBF::Plan::PROMPT ("\n\r")
 Asks for the command prompt, which starts with the connection descriptor, such as "USB1>".
 
GPSCommandSequence SBF::Plan::silenceCorrectionOutput ()
 
GPSCommandSequence SBF::Plan::port (QByteArrayView port, unsigned baud)
 Clears the SBF output of port, keeps a serial port at the link's baud, and selects SBF and the WGS84 datum.
 
GPSCommandSequence SBF::Plan::base (QByteArrayView port, const GPSBaseStationConfig &base)
 Streams RTCM3 corrections and the PVTGeodetic survey status over port in the mode base selects.
 

Variables

constexpr unsigned SBF::Plan::BAUD_RATE = 115200
 The link rate unless one is selected or detected. It is set on the host side first.
 
constexpr std::array SBF::Plan::BAUD_RATES {BAUD_RATE}
 The only rate receiver detection probes.
 
constexpr std::chrono::milliseconds SBF::Plan::PROMPT_TIMEOUT {1000}