Skip to content

System Architecture

Chenhao Wu edited this page Jun 22, 2021 · 6 revisions

1. Hardware Setup

The demo system is composed of 4 Lamppost Node and 1 Auto-car node.

1.1: Each lamppost node contains:

  • 1 x Host Machine (5512)
  • 1 x Raspberry PI (equipped with 2 x ZigBee CC2520 communication module)
  • 2 x Camera (accessible via RTSP video stream)

The detailed configuration is shown in the following figure:

Lamppost Node Architecture

1.2: The auto-car node contains:

  • 1 x Raspberry PI (equipped with 2 x ZigBee CC2520 communication module)
  • 1 x Laptop / Computer (use for route planning and movement control, etc.)

2. Software Architecture

The entire system consists of 3 sub-programs:

  • Lamppost Host Program (runs on the root node and slave node)
    • Source files are placed under <proj_root>/src/LPHost directory
  • Lamppost Hook Program (runs on RaspberryPI of the root node)
    • Source files are placed under <proj_root>/src/LPHook directory
  • Control Program (runs on the auto-car node)
    • Ssource files are placed under <proj_root>/src/Ctrl directory

The interactive behavior of each module is illustrated in the diagram below.

AutocarSysArch


3. Module Design

3.1 Lamppost Host Program

3.2 Lamppost Hook Program

3.3 Control Program

Clone this wiki locally