PiImageStreamer
Loading...
Searching...
No Matches
QueueCfg.h File Reference
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Macros

#define NUMBER_OF_INTERNAL_QUEUES   (9)
 
#define ROBOT_CONTROLLER_INTERNAL_QUEUE_ID   (0)
 
#define ONBOARD_STATUS_DISPLAY_INTERNAL_QUEUE_ID   (1)
 
#define HORN_CONTROLLER_INTERNAL_QUEUE_ID   (2)
 
#define LINE_SENSOR_INTERNAL_QUEUE_ID   (3)
 
#define COLLISION_SENSOR_INTERNAL_QUEUE_ID   (4)
 
#define CAMERA_CONTROLLER_INTERNAL_QUEUE_ID   (5)
 
#define LIGHT_SENSOR_INTERNAL_QUEUE_ID   (6)
 
#define HEARTBEAT_INTERNAL_QUEUE   (7)
 
#define CAMERA_IMAGE_CONTROL_INTERNAL_QUEUE_ID   (8)
 

Detailed Description

Author
Walter Schilling (schil.nosp@m.ling.nosp@m.@msoe.nosp@m..edu)
Version
1.0

LICENSE

This code is developed as part of the MSOE SWE4211 Real Time Systems course, but can be freely used by others.

SWE4211 Real Time Systems is a required course for students studying the discipline of software engineering.

This Software is provided under the License on an "AS IS" basis and without warranties of any kind concerning the Software, including without limitation merchantability, fitness for a particular purpose, absence of defects or errors, accuracy, and non-infringement of intellectual property rights other than copyright. This disclaimer of warranty is an essential part of the License and a condition for the grant of any rights to this Software.

DESCRIPTION

This file defines the internal queue IDs. Each component that receives messages owns one queue in the QueueManager, and the queue ID is the index of that queue. These IDs are internal to the software; the IDs sent over the network are defined in NetworkCfg.h.

Macro Definition Documentation

◆ NUMBER_OF_INTERNAL_QUEUES

#define NUMBER_OF_INTERNAL_QUEUES   (9)

Define the number of queues present in the system. Valid queue IDs run from 0 to NUMBER_OF_INTERNAL_QUEUES - 1.

  • Queue 0 is for the Robot Controller.
  • Queue 1 is for the Onboard Status Display.
  • Queue 2 is for the Horn Controller.
  • Queue 3 is for the Line Sensor.
  • Queue 4 is for the collision sensor.
  • Queue 5 is for the camera controller.
  • Queue 6 is for the light sensor (the searchlight controller).
  • Queue 7 is for the heartbeat controller.
  • Queue 8 is for camera image control.