Versions in this module Expand all Collapse all v0 v0.2.3 Feb 12, 2021 v0.2.2 Feb 12, 2021 Changes in this version + const ContextAgent + const ControllerAgent + func ReplanMission(m Mission, agentholders map[string]AgentHolder, zoom maptile.Zoom) (map[string]Mission, error) + type Agent struct + Battery int + Hardware []string + Key string + MovementDimensions int + Nick string + Position Vector + Software []string + URI string + UUID string + type AgentHolder struct + Agent Agent + AgentType AgentType + LastSeen int64 + State State + type AgentType int + type Goal struct + Do string + End string + Endgame string + Reached bool + type MetaNeeded struct + DataCollection string + MovementAxis int + OnboardHW []string + SwarmSW []string + type Mission struct + AreaLink string + Description string + Geometry orb.Geometry + Goal Goal + MetaNeeded MetaNeeded + MissionType MissionType + SwarmGeometry orb.Geometry + func (m *Mission) GenerateEnvelope(a Agent, zoom maptile.Zoom) (orb.Geometry, error) + func (m *Mission) GeneratePath(ah AgentHolder, zoom maptile.Zoom) (orb.Geometry, error) + func (m *Mission) LoadFeatures(path string) + func (m *Mission) MissionArea() (centre orb.Point, area float64) + func (m *Mission) UnmarshalJSON(rawData []byte) error + func (m Mission) String() string + type MissionType string + const Find + type State struct + Battery int + ID string + Mission Mission + MissionIndex int + Position Vector + type Vector struct + X float64 + Y float64 + Z float64 + func (a Vector) Add(b Vector) Vector + func (a Vector) Cross(b Vector) Vector + func (a Vector) Dot(b Vector) float64 + func (a Vector) Length() float64 + func (a Vector) MultiplyByScalar(s float64) Vector + func (a Vector) Normalize() Vector + func (a Vector) Sub(b Vector) Vector