179 lines
6.5 KiB
Go
179 lines
6.5 KiB
Go
package reachview
|
||
|
||
// Configuration -
|
||
type Configuration struct {
|
||
RTKSettings *RTKSettings `mapstructure:"rtk settings,omitempty"`
|
||
CorrectionInput *CorrectionInput `mapstructure:"correction input,omitempty"`
|
||
PositionOutput *PositionOutput `mapstructure:"position output,omitempty"`
|
||
BaseMode *BaseMode `mapstructure:"base mode,omitempty"`
|
||
Logging *Logging `mapstructure:"logging,omitempty"`
|
||
Bluetooth *Bluetooth `mapstructure:"bluetooth,omitempty"`
|
||
LoRa *LoRa `mapstructure:"lora,omitempty"`
|
||
Constraints *Constraints `mapstructure:"constraints,omitempty"`
|
||
}
|
||
|
||
// RTKSettings -
|
||
type RTKSettings struct {
|
||
GLONASSARMode *string `mapstructure:"glonass ar mode,omitempty"`
|
||
UpdateRate *string `mapstructure:"update rate,omitempty"`
|
||
ElevationMaskAngle *string `mapstructure:"elevation mask angle,omitempty"`
|
||
MaxHorizontalAcceleration *string `mapstructure:"max horizontal acceleration,omitempty"`
|
||
SNRMask *string `mapstructure:"snr mask,omitempty"`
|
||
GPSARMode *string `mapstructure:"gps ar mode,omitempty"`
|
||
PositionningMode *string `mapstructure:"positioning mode,omitempty"`
|
||
PositioningSystems *PositionningSystems `mapstructure:"positioning systems,omitempty"`
|
||
MaxVerticalAcceleration *string `mapstructure:"max vertical acceleration,omitempty"`
|
||
}
|
||
|
||
// PositionningSystems -
|
||
type PositionningSystems struct {
|
||
GLONASS *bool `mapstructure:"glonass,omitempty"`
|
||
SBAS *bool `mapstructure:"sbas,omitempty"`
|
||
QZS *bool `mapstructure:"qzs,omitempty"`
|
||
QZSS *bool `mapstructure:"qzss,omitempty"`
|
||
Compass *bool `mapstructure:"compass,omitempty"`
|
||
Galileo *bool `mapstructure:"galileo,omitempty"`
|
||
GPS *bool `mapstructure:"gps,omitempty"`
|
||
}
|
||
|
||
// CorrectionInput -
|
||
type CorrectionInput struct {
|
||
Input2 *Input2 `mapstructure:"input2,omitempty"`
|
||
Input3 *Input3 `mapstructure:"input3,omitempty"`
|
||
}
|
||
|
||
// Input -
|
||
type Input struct {
|
||
Path *string `mapstructure:"path,omitempty"`
|
||
Type *string `mapstructure:"type,omitempty"`
|
||
Enabled *bool `mapstructure:"enabled,omitempty"`
|
||
Format *string `mapstructure:"format,omitempty"`
|
||
}
|
||
|
||
// Input2 -
|
||
type Input2 struct {
|
||
Input `mapstructure:",squash"`
|
||
SendPositionToBase *string `mapstructure:"send position to base,omitempty"`
|
||
}
|
||
|
||
// Input3 -
|
||
type Input3 struct {
|
||
Input `mapstructure:",squash"`
|
||
}
|
||
|
||
// PositionOutput -
|
||
type PositionOutput struct {
|
||
Output1 *Output `mapstructure:"output1,omitempty"`
|
||
Output2 *Output `mapstructure:"output2,omitempty"`
|
||
Output3 *Output `mapstructure:"output3,omitempty"`
|
||
Output4 *Output `mapstructure:"output4,omitempty"`
|
||
}
|
||
|
||
// Output -
|
||
type Output struct {
|
||
Path *string `mapstructure:"path,omitempty"`
|
||
Type *string `mapstructure:"type,omitempty"`
|
||
Enabled *bool `mapstructure:"enabled,omitempty"`
|
||
Format *string `mapstructure:"format,omitempty"`
|
||
}
|
||
|
||
// BaseMode -
|
||
type BaseMode struct {
|
||
Output *Output `mapstructure:"output,omitempty"`
|
||
BaseCoordinates *BaseCoordinates `mapstructure:"base coordinates,omitempty"`
|
||
RTCM3Messages *RTCM3Messages `mapstructure:"rtcm3 messages,omitempty"`
|
||
}
|
||
|
||
// BaseCoordinates -
|
||
type BaseCoordinates struct {
|
||
Format *string `mapstructure:"format,omitempty"`
|
||
AntennaOffset *AntennaOffset `mapstructure:"antenna offset,omitempty"`
|
||
Accumulation *string `mapstructure:"accumulation,omitempty"`
|
||
Coordinates *[]string `mapstructure:"coordinates,omitempty"`
|
||
Mode *string `mapstructure:"mode,omitempty"`
|
||
}
|
||
|
||
// AntennaOffset -
|
||
type AntennaOffset struct {
|
||
East *string `mapstructure:"east,omitempty"`
|
||
North *string `mapstructure:"north,omitempty"`
|
||
Up *string `mapstructure:"up,omitempty"`
|
||
}
|
||
|
||
// RTCM3Messages -
|
||
type RTCM3Messages struct {
|
||
// GPS L1 code and phase and ambiguities and carrier-to-noise ratio
|
||
Type1002 *RTCMMessageType `mapstructure:"1002,omitemtpy"`
|
||
// Station coordinates XYZ for antenna reference point and antenna height.
|
||
Type1006 *RTCMMessageType `mapstructure:"1006,omitemtpy"`
|
||
// Antenna serial number.
|
||
Type1008 *RTCMMessageType `mapstructure:"1008,omitemtpy"`
|
||
// GLONASS L1 code and phase and ambiguities and carrier-to-noise ratio.
|
||
Type1010 *RTCMMessageType `mapstructure:"1010,omitemtpy"`
|
||
// GPS ephemeris.
|
||
Type1019 *RTCMMessageType `mapstructure:"1019,omitemtpy"`
|
||
// GLONASS ephemeris.
|
||
Type1020 *RTCMMessageType `mapstructure:"1020,omitemtpy"`
|
||
// The type 7 Multiple Signal Message format for Europe’s Galileo system
|
||
Type1097 *RTCMMessageType `mapstructure:"1097,omitemtpy"`
|
||
// Full SBAS pseudo-ranges, carrier phases, Doppler and signal strength (high resolution)
|
||
Type1107 *RTCMMessageType `mapstructure:"1107,omitemtpy"`
|
||
// Full QZSS pseudo-ranges, carrier phases, Doppler and signal strength (high resolution)
|
||
Type1117 *RTCMMessageType `mapstructure:"1117,omitemtpy"`
|
||
// Full BeiDou pseudo-ranges, carrier phases, Doppler and signal strength (high resolution)
|
||
Type1127 *RTCMMessageType `mapstructure:"1127,omitemtpy"`
|
||
}
|
||
|
||
// RTCMMessageType -
|
||
type RTCMMessageType struct {
|
||
Frequency string `mapstructure:"frequency"`
|
||
Enabled bool `mapstructure:"enabled"`
|
||
}
|
||
|
||
// Logging -
|
||
type Logging struct {
|
||
Correction *LoggingService `mapstructure:"correction,omitempty"`
|
||
Interval int `mapstructure:"interval"`
|
||
Solution *LoggingService `mapstructure:"solution,omitempty"`
|
||
Raw *LoggingService `mapstructure:"raw,omitempty"`
|
||
Base *LoggingService `mapstructure:"base,omitempty"`
|
||
Overwrite *bool `mapstructure:"overwrite,omitempty"`
|
||
}
|
||
|
||
// LoggingService -
|
||
type LoggingService struct {
|
||
Started *bool `mapstructure:"started,omitempty"`
|
||
Version *string `mapstructure:"version,omitempty"`
|
||
Format *string `mapstructure:"format,omitempty"`
|
||
}
|
||
|
||
// Bluetooth -
|
||
type Bluetooth struct {
|
||
Enabled *bool `mapstructure:"enabled,omitempty"`
|
||
Discoverable *bool `mapstructure:"discoverable,omitempty"`
|
||
Pin *int `mapstructure:"pin,omitempty"`
|
||
}
|
||
|
||
// LoRa -
|
||
type LoRa struct {
|
||
AirRate *string `mapstructure:"air rate,omitempty"`
|
||
Frequency *float64 `mapstructure:"frequency,omitempty"`
|
||
OutputPower *string `mapstructure:"output power,omitempty"`
|
||
}
|
||
|
||
// Constraints -
|
||
type Constraints struct {
|
||
LoRa *LoRaConstraints `mapstructure:"lora,omitempty"`
|
||
}
|
||
|
||
// LoRaConstraints -
|
||
type LoRaConstraints struct {
|
||
Frequency *LoRaFrequencyRange `mapstructure:"frequency,omitempty"`
|
||
}
|
||
|
||
// LoRaFrequencyRange -
|
||
type LoRaFrequencyRange struct {
|
||
Min *int `mapstructure:"min,omitempty"`
|
||
Max *int `mapstructure:"max,omitempty"`
|
||
}
|