Crate elevatorpro

Crate elevatorpro 

Source
Expand description

§This projects library

This library manages configuration, network-communication between nodes, synchronization of world view across nodes and internally, elevator logic

§Overview

  • config: Handles configuration settings.
  • ip_help_functions: Various helper functions for the local IP-address.
  • init: System initialization.
  • manager: Allocates available tasks to the connected nodes
  • network: Communication between nodes via UDP and TCP, and updateing the worldview locally via mpsc-channels and watch-channels.
  • world_view: The local WorldView
  • elevio: Interface for elevator I/O.
  • elevator_logic: Task execution and reading from the local elevator.
  • backup: Creating, monitoring and running a backup, ready to overtake if the main program crashes

Modules§

backup
NOT part of the final solution – Legacy backup module
config
config.rs – Centralized Parameter Store
elevator_logic
Elevator Logic Module
elevio
Elevator I/O module for the local elevator
init
Initialization Module
ip_help_functions
This module contains some help functions regarding the IP address
manager
Manager Module
network
Network module
print
Printing Module
world_view
WorldView Module