Skip to content

Environment Server #2

@Aslan15

Description

@Aslan15

Class in charge of setting up a server where agent nodes in the DMAS network can request information from and obtain data and insight into the state of the environment that they live in.

ToDo's

Server Features

  • Broadcast and Req-Res port setup
  • Internal Request Handler (forwards internal messages to the appropriate submodules)
  • Broadcast Request Handler (schedules broadcasts to all agent nodes)
  • External Request Handler (forwards external requests messages to the appropriate submodules)

Event Broadcasting
The environment broadcasts to agents whenever an event starts or ends. These announcements are left to the agent nodes to react to as they see fit.

  • Eclipse Events
  • Ground Station Access Events
  • Agent Access Events
  • Ground Point Access Events

Agent Requests
Answer to requests sent by an agent. These requests might require an immediate response or may require the environment server to schedule a future event broadcast.

  • tic_request: agents ask to be notified when a certain time has passed in the environment's clock
  • agent_access_request: agent asks the environment if the agent is capable of accessing another agent at the current simulation time
  • gp_access_request: agent asks the environment if the agent is capable of accessing a ground point at the current simulation time
  • gs_access_request: agent asks the environment if the agent is capable of accessing a ground station at the current simulation time
  • agent_information_request: agent asks for information regarding its current position, velocity, and eclipse at the current simulation time
  • observation_request: agent requests environment information regarding a the state of a ground point at the current simulation time
  • agent_end_confirmation: agent notifies the environment that it has successfully terminated its operations

Simulation

  • simulation start broadcast
  • simulation time broadcast
  • simulation end broadcast

Metadata

Metadata

Assignees

Labels

enhancementNew feature or request

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions