Summary for SpacePort
EventHelix.com/EventStudio 2.0
Generated on 05-Jul-03 16:41
Successful Spacecraft Docking and Undocking
Legs Taken:
- Orbit Resource is Available
- Docking Port is Available
Pilot Interfaces
- Receive DockingStationAvailable from auto_dock
- Send DockingCommand (selected_station) to auto_dock
Auto_dock Interfaces
- Take action "Spaceship scans for docking station"
- Receive AutoDockBroadcast (freq_band) from broadcast_mgr
- Send DockingStationAvailable to pilot
- Receive DockingCommand (selected_station) from pilot
- Send DockingRequest (spacecraft_num) to spaceship_obj_mgr
- Receive DockingPermitted (spacecraft_num) from spaceship_obj
- Send OrbitRequest to spaceship_obj
- Receive OrbitAssign (orbit_location) from spaceship_obj
- Take action "Fire thrusters to reach orbit"
- Send ReadyForDocking to spaceship_obj
- Receive StandbyForDocking (expected_time) from docking
- Receive ProceedForDocking (docking_port_num) from docking
- Take action "Fire thrusters to reach the assigned docking port"
- Send DockingAlignRequest to docking
- Receive DockingAdjustment (position, velocity) from docking
- Take action "Fire thrusters to perform adjustments"
- Send DockingAdjustmentAck to docking
- Receive DockNow from docking
- Send DockingComplete to docking
- Receive AirQualityCommand (air_pressure) from docking
- Take action "Adjust air pressure"
- Send AirQualityAchieved to docking
- Receive EndDocking from docking
- Send EndDockingResponse to docking
- Send UndockingRequest to spaceship_obj
- Receive UndockingAllowed from undocking
- Send OrbitRequest (destination_planet) to undocking
- Receive OrbitAssign (orbit_location) from undocking
- Send ReadyForUndocking to undocking
- Receive ProceedForUndocking (velocity) from undocking
- Send UndockingNow to undocking
- Take action "Fire thrusters to reach orbit"
- Send OrbitAchieved to undocking
- Receive UndockingCompleted from undocking
- Send OrbitDeassign to spaceship_obj
- Receive OrbitDeassignAck from spaceship_obj
Broadcast_mgr Interfaces
- Send AutoDockBroadcast (freq_band) to auto_dock
Spaceship_obj_mgr Interfaces
- Receive DockingRequest (spacecraft_num) from auto_dock
- Create object spaceship_obj
- Send DockingRequest (spacecraft_num) to spaceship_obj
- Receive UndockingFinished (status = SUCCESS) from spaceship_obj
- Delete object spaceship_obj
Spaceship_obj Interfaces
- Object spaceship_obj is created by spaceship_obj_mgr
- Change state to "Idle"
- Receive DockingRequest (spacecraft_num) from spaceship_obj_mgr
- Change state to "Checking Resources"
- Send OrbitAvailabilityCheck to orbit_allocator
- Receive OrbitAvailabilityStatus (status = ORBIT_AVAILABLE) from orbit_allocator
- Send DockingPortAvailabilityCheck to docking_allocator
- Send DockingPermitted (spacecraft_num) to auto_dock
- Change state to "Awaiting Orbit Request"
- Receive OrbitRequest from auto_dock
- Change state to "Allocating Orbit"
- Send OrbitAllocRequest to orbit_allocator
- Receive OrbitAllocResponse (orbit_location) from orbit_allocator
- Send OrbitAssign (orbit_location) to auto_dock
- Change state to "Awaiting Docking"
- Receive ReadyForDocking from auto_dock
- Change state to "Docking in Progress"
- Start timer tawait_docking_finished
- Create object docking
- Send ReadyForDocking to docking
- Receive DockingFinished (status = SUCCESS) from docking
- Stop timer tawait_docking_finished
- Delete object docking
- Change state to "Freeing Orbit"
- Send OrbitDeallocRequest to orbit_allocator
- Receive OrbitDeallocResponse from orbit_allocator
- Change state to "Docked"
- Receive UndockingRequest from auto_dock
- Take action "Finish docking or undocking that is in progress"
- Change state to "Undocking in Progress"
- Start timer tawait_undocking_finished
- Create object undocking
- Send UndockingRequest to undocking
- Receive UndockingFinished (status = SUCCESS) from undocking
- Stop timer tawait_undocking_finished
- Delete object undocking
- Change state to "Freeing Docking Port"
- Send DockingPortDeallocRequest to docking_allocator
- Receive DockingPortDeallocAck from docking_allocator
- Receive OrbitDeassign from auto_dock
- Change state to "Freeing Orbit"
- Send OrbitDeallocRequest to orbit_allocator
- Receive OrbitDeallocResponse from orbit_allocator
- Send OrbitDeassignAck to auto_dock
- Send UndockingFinished (status = SUCCESS) to spaceship_obj_mgr
- Object spaceship_obj is deleted by spaceship_obj_mgr
Docking Interfaces
- Object docking is created by spaceship_obj
- Change state to "Idle"
- Receive ReadyForDocking from spaceship_obj
- Change state to "Allocating Docking Port"
- Send DockingPortAllocRequest to docking_allocator
- Receive DockingPortAllocAck (expected_time) from docking_allocator
- Send StandbyForDocking (expected_time) to auto_dock
- Send ProceedForDocking (docking_port_num) to auto_dock
- Change state to "Awaiting Docking Align Request"
- Receive DockingAlignRequest from auto_dock
- Send DockingAdjustment (position, velocity) to auto_dock
- Change state to "Docking Adjustments in Progress"
- Receive DockingAdjustmentAck from auto_dock
- Send DockNow to auto_dock
- Change state to "Awaiting Docking Complete"
- Receive DockingComplete from auto_dock
- Send AirQualityCommand (air_pressure) to auto_dock
- Change state to "Air Pressure Adjustments in Progress"
- Receive AirQualityAchieved from auto_dock
- Take action "Measure air quality"
- Take action "Open airlock"
- Send EndDocking to auto_dock
- Change state to "Awaiting End Docking Response"
- Receive EndDockingResponse from auto_dock
- Send DockingFinished (status = SUCCESS) to spaceship_obj
- Change state to "Docked"
- Object docking is deleted by spaceship_obj
Undocking Interfaces
- Object undocking is created by spaceship_obj
- Change state to "Idle"
- Receive UndockingRequest from spaceship_obj
- Send UndockingAllowed to auto_dock
- Change state to "Awaiting Orbit Request"
- Receive OrbitRequest (destination_planet) from auto_dock
- Change state to "Allocating Orbit"
- Send OrbitAllocRequest to orbit_allocator
- Receive OrbitAllocResponse (orbit_location) from orbit_allocator
- Send OrbitAssign (orbit_location) to auto_dock
- Take action "Seal airlock"
- Change state to "Awaiting Ready for Undocking"
- Receive ReadyForUndocking from auto_dock
- Send ProceedForUndocking (velocity) to auto_dock
- Change state to "Awaiting Undocking Now"
- Receive UndockingNow from auto_dock
- Change state to "Undocking in Progress"
- Receive OrbitAchieved from auto_dock
- Send UndockingCompleted to auto_dock
- Send UndockingFinished (status = SUCCESS) to spaceship_obj
- Change state to "Undocked"
- Object undocking is deleted by spaceship_obj
Orbit_allocator Interfaces
- Receive OrbitAvailabilityCheck from spaceship_obj
- Send OrbitAvailabilityStatus (status = ORBIT_AVAILABLE) to spaceship_obj
- Receive OrbitAllocRequest from spaceship_obj
- Allocate resource "Docking orbit"
- Send OrbitAllocResponse (orbit_location) to spaceship_obj
- Receive OrbitDeallocRequest from spaceship_obj
- Free resource "Docking orbit"
- Send OrbitDeallocResponse to spaceship_obj
- Receive OrbitAllocRequest from undocking
- Allocate resource "Undocking orbit"
- Send OrbitAllocResponse (orbit_location) to undocking
- Receive OrbitDeallocRequest from spaceship_obj
- Free resource "Undocking orbit"
- Send OrbitDeallocResponse to spaceship_obj
Docking_allocator Interfaces
- Receive DockingPortAvailabilityCheck from spaceship_obj
- Receive DockingPortAllocRequest from docking
- Take action "Calculate expected time in which docking may be permitted"
- Allocate resource "Docking port"
- Send DockingPortAllocAck (expected_time) to docking
- Receive DockingPortDeallocRequest from spaceship_obj
- Free resource "Docking port"
- Send DockingPortDeallocAck to spaceship_obj
Orbit Resource not Available
Leg Taken:
- No Orbit Resource Available
Pilot Interfaces
- Receive DockingStationAvailable from auto_dock
- Send DockingCommand (selected_station) to auto_dock
- Receive DockingRejectDisplay from auto_dock
Auto_dock Interfaces
- Take action "Spaceship scans for docking station"
- Receive AutoDockBroadcast (freq_band) from broadcast_mgr
- Send DockingStationAvailable to pilot
- Receive DockingCommand (selected_station) from pilot
- Send DockingRequest (spacecraft_num) to spaceship_obj_mgr
- Receive DockingRejected (spacecraft_num, reason = NO_ORBIT_AVAILABLE) from spaceship_obj_mgr
- Send DockingRejectDisplay to pilot
Broadcast_mgr Interfaces
- Send AutoDockBroadcast (freq_band) to auto_dock
Spaceship_obj_mgr Interfaces
- Receive DockingRequest (spacecraft_num) from auto_dock
- Create object spaceship_obj
- Send DockingRequest (spacecraft_num) to spaceship_obj
- Receive DockingRejected (spacecraft_num, reason = NO_ORBIT_AVAILABLE) from spaceship_obj
- Delete object spaceship_obj
- Send DockingRejected (spacecraft_num, reason = NO_ORBIT_AVAILABLE) to auto_dock
Spaceship_obj Interfaces
- Object spaceship_obj is created by spaceship_obj_mgr
- Change state to "Idle"
- Receive DockingRequest (spacecraft_num) from spaceship_obj_mgr
- Change state to "Checking Resources"
- Send OrbitAvailabilityCheck to orbit_allocator
- Receive OrbitAvailabilityStatus (status = NO_ORBIT_AVAILABLE) from orbit_allocator
- Send DockingRejected (spacecraft_num, reason = NO_ORBIT_AVAILABLE) to spaceship_obj_mgr
- Object spaceship_obj is deleted by spaceship_obj_mgr
Orbit_allocator Interfaces
- Receive OrbitAvailabilityCheck from spaceship_obj
- Send OrbitAvailabilityStatus (status = NO_ORBIT_AVAILABLE) to spaceship_obj
Docking Resource not Available
Legs Taken:
- Orbit Resource is Available
- No Docking Ports Available
Pilot Interfaces
- Receive DockingStationAvailable from auto_dock
- Send DockingCommand (selected_station) to auto_dock
- Receive DockingRejectDisplay from auto_dock
Auto_dock Interfaces
- Take action "Spaceship scans for docking station"
- Receive AutoDockBroadcast (freq_band) from broadcast_mgr
- Send DockingStationAvailable to pilot
- Receive DockingCommand (selected_station) from pilot
- Send DockingRequest (spacecraft_num) to spaceship_obj_mgr
- Receive DockingRejected (spacecraft_num, reason = NO_PORT_AVAILABLE) from spaceship_obj_mgr
- Send DockingRejectDisplay to pilot
Broadcast_mgr Interfaces
- Send AutoDockBroadcast (freq_band) to auto_dock
Spaceship_obj_mgr Interfaces
- Receive DockingRequest (spacecraft_num) from auto_dock
- Create object spaceship_obj
- Send DockingRequest (spacecraft_num) to spaceship_obj
- Receive DockingRejected (spacecraft_num, reason = NO_PORT_AVAILABLE) from spaceship_obj
- Delete object spaceship_obj
- Send DockingRejected (spacecraft_num, reason = NO_PORT_AVAILABLE) to auto_dock
Spaceship_obj Interfaces
- Object spaceship_obj is created by spaceship_obj_mgr
- Change state to "Idle"
- Receive DockingRequest (spacecraft_num) from spaceship_obj_mgr
- Change state to "Checking Resources"
- Send OrbitAvailabilityCheck to orbit_allocator
- Receive OrbitAvailabilityStatus (status = ORBIT_AVAILABLE) from orbit_allocator
- Send DockingPortAvailabilityCheck to docking_allocator
- Receive PortAvailabilityStatus (status = NO_PORT_AVAILABLE) from docking_allocator
- Send DockingRejected (spacecraft_num, reason = NO_PORT_AVAILABLE) to spaceship_obj_mgr
- Object spaceship_obj is deleted by spaceship_obj_mgr
Orbit_allocator Interfaces
- Receive OrbitAvailabilityCheck from spaceship_obj
- Send OrbitAvailabilityStatus (status = ORBIT_AVAILABLE) to spaceship_obj
Docking_allocator Interfaces
- Receive DockingPortAvailabilityCheck from spaceship_obj
- Send PortAvailabilityStatus (status = NO_PORT_AVAILABLE) to spaceship_obj