mirror of
https://github.com/FlightControl-Master/MOOSE.git
synced 2025-10-29 16:58:06 +00:00
OPS
- Changed mission, legion in MissionAssign functions (LEGION, COMMANDER, CHIEF) - OPSTRANSPORT: improved TZC selection - ARMYGROUP needs to
This commit is contained in:
@@ -159,13 +159,38 @@ function NAVYGROUP:New(group)
|
||||
self:AddTransition("*", "CollisionWarning", "*") -- Collision warning.
|
||||
self:AddTransition("*", "ClearAhead", "*") -- Clear ahead.
|
||||
|
||||
self:AddTransition("*", "Dive", "*") -- Command a submarine to dive.
|
||||
self:AddTransition("Diving", "Surface", "*") -- Command a submarine to go to the surface.
|
||||
self:AddTransition("Cruising", "Dive", "Cruising") -- Command a submarine to dive.
|
||||
self:AddTransition("Cruising", "Surface", "Cruising") -- Command a submarine to go to the surface.
|
||||
|
||||
------------------------
|
||||
--- Pseudo Functions ---
|
||||
------------------------
|
||||
|
||||
--- Triggers the FSM event "Cruise".
|
||||
-- @function [parent=#NAVYGROUP] Cruise
|
||||
-- @param #NAVYGROUP self
|
||||
-- @param #number Speed Speed in knots until next waypoint is reached.
|
||||
|
||||
--- Triggers the FSM event "Cruise" after a delay.
|
||||
-- @function [parent=#NAVYGROUP] __Cruise
|
||||
-- @param #NAVYGROUP self
|
||||
-- @param #number delay Delay in seconds.
|
||||
-- @param #number Speed Speed in knots until next waypoint is reached.
|
||||
|
||||
--- On after "Cruise" event.
|
||||
-- @function [parent=#NAVYGROUP] OnAfterCruise
|
||||
-- @param #NAVYGROUP self
|
||||
-- @param #string From From state.
|
||||
-- @param #string Event Event.
|
||||
-- @param #string To To state.
|
||||
-- @param #number Speed Speed in knots until next waypoint is reached.
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
--- Triggers the FSM event "TurnIntoWind".
|
||||
-- @function [parent=#NAVYGROUP] TurnIntoWind
|
||||
-- @param #NAVYGROUP self
|
||||
@@ -240,7 +265,6 @@ function NAVYGROUP:New(group)
|
||||
-- @param #NAVYGROUP.IntoWind IntoWindData Data table.
|
||||
|
||||
|
||||
|
||||
--- Triggers the FSM event "TurningStarted".
|
||||
-- @function [parent=#NAVYGROUP] TurningStarted
|
||||
-- @param #NAVYGROUP self
|
||||
|
||||
Reference in New Issue
Block a user