Documentation
¶
Index ¶
- Constants
- func AspectRatio(point *types.Point) float64
- func AzimuthToRads(azimuth float64) float64
- func DegreesToRads(degrees float64) float64
- func GetRotationDegrees(pointA *types.Point, pointB *types.Point) float64
- func ImsiGenerator(ueIdx int) types.Imsi
- func RandomColor() string
- func RandomLatLng(mapCenterLat float32, mapCenterLng float32, radius float64, ...) types.Point
- type ServerParams
Constants ¶
View Source
const GrpcBasePort = 5150
GrpcBasePort - the base port for trafficsim - other e2 ports are stepped from this
View Source
const ImsiBaseCbrs = types.Imsi(315010999900000)
ImsiBaseCbrs - from https://imsiadmin.com/cbrs-assignments
View Source
const ServiceName = "ran-simulator"
ServiceName is the default name of this Kubernetes service
View Source
const TestPlmnID = "315010"
TestPlmnID - https://en.wikipedia.org/wiki/Mobile_country_code#Test_networks
Variables ¶
This section is empty.
Functions ¶
func AspectRatio ¶ added in v0.6.1
AspectRatio - Compensate for the narrowing of meridians at higher latitudes
func AzimuthToRads ¶ added in v0.6.1
AzimuthToRads - angle measured in degrees clockwise from north, expressed in rads from 3 o'clock anticlockwise
func DegreesToRads ¶ added in v0.6.1
DegreesToRads - general conversion of degrees to rads, both starting at 3 o'clock going anticlockwise
func GetRotationDegrees ¶
GetRotationDegrees - get the rotation of the car
func ImsiGenerator ¶
ImsiGenerator -- generate an Imsi from an index
Types ¶
Click to show internal directories.
Click to hide internal directories.