pycasx.conf
Configuration module for pycasx.
Also, list of all configuration dictionaries for typed hydra.
As hydra does not support type annotations from __future__ import, we have to use the plain old typing module for Python 3.8 and 3.9 support.
Package Contents
Classes
Configuration for the autoavoid subsystem. |
|
Generic connection config. |
|
Configuration for the telnet connection. |
|
Configuration for the logger subcommand. |
|
Configuration for the ACAS X. |
|
General configuration for a window. |
|
Configuration for the copy command. |
|
Configuration for the launch command. |
|
A simple intruder config for the scenario generation. |
|
A simple dataclass to represent the weights for the scenario generation. |
|
A simple dataclass to represent a beta distribution. |
|
A simple dataclass to represent the min and max values. |
|
A simple dataclass to represent the colliding scenario. |
|
A simple dataclass to represent the parallel scenario. |
|
Configuration for the launch command. |
|
Configuration for the onnx command. |
|
Configuration for the run command. |
- class pycasx.conf.AutoavoidConfig
Configuration for the autoavoid subsystem.
- mode
The mode to use.
- Type:
Optional[Literal[“hcas”, “vcas”]]
- class pycasx.conf.GenericConnection
Generic connection config.
- class pycasx.conf.TelnetConfig
Configuration for the telnet connection.
Mirror of the telnet configuration in pycasx.conf.launch.
- class pycasx.conf.LoggerConfig
Configuration for the logger subcommand.
- class pycasx.conf.ACASXConfig
Configuration for the ACAS X.
Mirror of the ACAS X configuration in pycasx.conf.acasx.
- autoavoid
The autoavoid configuration.
- Type:
- adsb
The ADS-B configuration.
- Type:
- api
The API configuration.
- Type:
- autoavoid: AutoavoidConfig
- logger: LoggerConfig
- adsb: GenericConnection
- api: GenericConnection
- class pycasx.conf.WindowConfig
General configuration for a window.
- class pycasx.conf.CopyConfig
Configuration for the copy command.
Mirror of the copy configuration in pycasx.conf.copy.
- class pycasx.conf.LaunchConfig
Configuration for the launch command.
Mirror of the launch configuration in pycasx.conf.launch.
- telnet
The telnet configuration.
- Type:
Optional[TelnetConfig]
- telnet: TelnetConfig | None
- class pycasx.conf.IntruderConfig
A simple intruder config for the scenario generation.
- class pycasx.conf.WeightsConfig
A simple dataclass to represent the weights for the scenario generation.
- class pycasx.conf.BetaDistributionConfig
A simple dataclass to represent a beta distribution.
- spread
The spread of the distribution. If the value is a string, it will be interpreted by pint as a quantity.
- class pycasx.conf.MinMaxConfig
A simple dataclass to represent the min and max values.
- min
The minimum value. If the value is a string, it will be interpreted by pint as a quantity.
- max
The maximum value. If the value is a string, it will be interpreted by pint as a quantity.
- class pycasx.conf.CollidingConfig
A simple dataclass to represent the colliding scenario.
- altitude
The altitude distribution
- Type:
- heading
The heading distribution
- Type:
- speed
The speed distribution
- Type:
- altitude: BetaDistributionConfig
- heading: MinMaxConfig
- speed: MinMaxConfig
- class pycasx.conf.ParallelConfig
A simple dataclass to represent the parallel scenario.
- altitude
The altitude distribution
- Type:
- horizontal
The horizontal distribution
- Type:
- speed
The speed distribution
- Type:
- altitude: BetaDistributionConfig
- horizontal: BetaDistributionConfig
- speed: MinMaxConfig
- class pycasx.conf.ScenarioConfig
Configuration for the launch command.
Mirror of the launch configuration in pycasx.conf.launch.
- time_to_cpa
The time to CPA for the colliding scenario. If the value is a string, it will be interpreted by pint as a quantity.
- weights
The weights for the scenario generation.
- Type:
- colliding
The colliding scenario configuration.
- Type:
- parallel
The parallel scenario configuration.
- Type:
- telnet
The telnet configuration.
- Type:
- altitude
The altitude of the ownship. If the value is a string, it will be interpreted by pint as a quantity.
- heading
The heading of the ownship. If the value is a string, it will be interpreted by pint as a quantity.
- lat
The latitude of the ownship. If the value is a string, it will be interpreted by pint as a quantity.
- lon
The longitude of the ownship. If the value is a string, it will be interpreted by pint as a quantity.
- pitch
The pitch of the ownship. If the value is a string, it will be interpreted by pint as a quantity.
- roll
The roll of the ownship. If the value is a string, it will be interpreted by pint as a quantity.
- vc
The vertical speed of the ownship. If the value is a string, it will be interpreted by pint as a quantity.
- intruder
The intruder configuration.
- Type:
- weights: WeightsConfig
- colliding: CollidingConfig
- parallel: ParallelConfig
- telnet: TelnetConfig | None
- intruder: IntruderConfig
- class pycasx.conf.ONNXConfig
Configuration for the onnx command.
Mirror of the onnx configuration in pycasx.conf.onnx.