Documentation
¶
Index ¶
- Constants
- func EcIDForPort(towerPort int) types.EcID
- 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 float32, ...) 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 EcIDForPort ¶
EcIDForPort gives a consistent naming convention
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.