Documentation
¶
Index ¶
- Constants
- func IsNumeric(kind string) bool
- type BoardOrders
- type BooleanDescription
- type EnumDescription
- type Equals
- type Error
- type Field
- type Info
- type InfoMessage
- type LowerBound
- type NotEquals
- type NumericDescription
- type Order
- type OrderData
- type OrderDescription
- type OutOfBounds
- type PacketUpdate
- type Protection
- type ProtectionMessage
- type StateOrderDescription
- type StateOrdersMessage
- type StateSpace
- type TimeLimit
- type Timestamp
- type TransmittedOrder
- type UpperBound
- type VehicleOrders
Constants ¶
View Source
const ( OrderType = "order" StateOrderType = "stateOrder" NumericKind = "numeric" BooleanKind = "boolean" EnumKind = "enum" )
Variables ¶
This section is empty.
Functions ¶
Types ¶
type BoardOrders ¶
type BoardOrders struct { Name string `json:"name"` Orders []OrderDescription `json:"orders"` StateOrders []StateOrderDescription `json:"stateOrders"` }
type BooleanDescription ¶
type BooleanDescription struct {
// contains filtered or unexported fields
}
type EnumDescription ¶
type EnumDescription struct { Options []string `json:"options"` // contains filtered or unexported fields }
type InfoMessage ¶
type LowerBound ¶
type NumericDescription ¶
type OrderData ¶
type OrderData struct { Orders map[string]OrderDescription `json:"orders"` StateOrders map[string]OrderDescription `json:"stateOrders"` }
type OrderDescription ¶
type OutOfBounds ¶
type PacketUpdate ¶
type Protection ¶
type ProtectionMessage ¶
type ProtectionMessage struct { Board string `json:"board"` Name string `json:"name"` Timestamp Timestamp `json:"timestamp"` Kind string `json:"kind"` Protection Protection `json:"protection"` }
type StateOrderDescription ¶
type StateOrderDescription struct { OrderDescription Enabled bool `json:"enabled"` }
type StateOrdersMessage ¶
type StateSpace ¶
type StateSpace [8][15]float32
func NewStateSpace ¶
func NewStateSpace(buf []byte) StateSpace
type TransmittedOrder ¶
type UpperBound ¶
type VehicleOrders ¶
type VehicleOrders struct {
Boards []BoardOrders `json:"boards"`
}
func NewVehicleOrders ¶
func NewVehicleOrders(boards []pod_data.Board, blcuName string) (VehicleOrders, error)
Click to show internal directories.
Click to hide internal directories.