conf

package
v0.2.6 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Aug 24, 2024 License: MIT Imports: 5 Imported by: 0

Documentation

Index

Constants

View Source
const DefaultMarginRadius = 3 * unit.NauticalMile

Variables

View Source
var DefaultCallsigns = []string{"Sky Eye", "Thunderhead", "Eagle Eye", "Ghost Eye", "Sky Keeper", "Bandog", "Long Caster", "Galaxy"}
View Source
var DefaultPictureRadius = 300 * unit.NauticalMile
View Source
var DefaultPlaybackSpeed = 1.0

Functions

This section is empty.

Types

type Configuration

type Configuration struct {
	// ACMIFile is the path to the ACMI file
	ACMIFile string
	// TelemetryAddress is the network address of the real-time telemetry server (including port)
	TelemetryAddress string
	// TelemetryConnectionTimeout is the connection timeout for connecting to the real-time telemetry server
	TelemetryConnectionTimeout time.Duration
	// TelemetryClientName is the client hostname used when handshaking with the real-time telemetry server
	TelemetryClientName string
	// TelemetryPassword is the password for connecting to the real-time telemetry server
	TelemetryPassword string
	// SRSAddress is the network address of the SimpleRadio Standalone server (including port)
	SRSAddress string
	// SRSConnectionTimeout is the connection timeout for connecting to the SimpleRadio Standalone server
	SRSConnectionTimeout time.Duration
	// SRSClientName is the name of the bot that will appear in the client list and in in-game transmissions
	SRSClientName string
	// SRSExternalAWACSModePassword is the password for connecting to the SimpleRadio Standalone server using External AWACS Mode
	SRSExternalAWACSModePassword string
	// SRSFrequency is the radio frequency the bot will listen to and talk on in Hz
	SRSFrequency unit.Frequency
	// Callsign is the GCI callsign used on SRS
	Callsign string
	// Coalition is the coalition that the bot will act on
	Coalition coalitions.Coalition
	// RadarSweepInterval is the rate at which the radar will update. This does not impact performance - ACMI data is still streamed at the same rate.
	// It only impacts the update rate of the GCI radar picture.
	RadarSweepInterval time.Duration
	// WhisperModel is a whisper.cpp model used for Speech To Text
	WhisperModel *whisper.Model
	// Voice is the voice used for SRS transmissions
	Voice voices.Voice
	// Mute disables SRS transmissions
	Mute bool
	// Piper playback speed (default is 1.0) - The higher the value the slower it is.
	PlaybackSpeed float32
	// Piper playback pause after every sentence in seconds (default is 0.2)
	PlaybackPause time.Duration
	// PictureBroadcastInterval is the interval at which the controller will automatically broadcast a PICTURE.
	PictureBroadcastInterval time.Duration
	// EnableThreatMonitoring controls whether the controller will broadcast THREAT calls.
	EnableThreatMonitoring bool
	// ThreatMonitoringInterval is the cooldown period between THREAT calls.
	ThreatMonitoringInterval time.Duration
	// MandatoryThreatRadius is the brief range at which a THREAT call is mandatory.
	MandatoryThreatRadius unit.Length
	// ThreatMonitoringRequiresSRS controls whether threat calls are issued to aircraft that are not on the SRS frequency. This is mostly
	// for debugging.
	ThreatMonitoringRequiresSRS bool
}

Configuration for the SkyEye application.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL