|
PiImageStreamer
|

Go to the source code of this file.
Macros | |
| #define | BROADCAST_SHUTDOWN_COMMAND (0x0100FFFF) |
| #define | BROADCAST_EMERGENCY_STOP (0x01FFFFFF) |
| #define | LIGHTPWMADJUSTMENTCMD (0x01000000) |
| #define | LIGHTONCMD (0x00100000) |
| #define | LIGHTOFFCMD (0x00010000) |
| #define | MOTOR_DIRECTION_CONTROL_CMD (0x02000011) |
| #define | MOTOR_FORWARD 0x00000001 |
| #define | MOTOR_BACKWARD 0x00000002 |
| #define | MOTOR_LEFT 0x00000004 |
| #define | MOTOR_RIGHT 0x00000008 |
| #define | MOTOR_STOP 0x00000010 |
| #define | MOTOR_SPEED_CONTROL_CMD (0x02000021) |
| #define | MOTOR_SPEED_ACTIVATE_CAUTION_CMD (0x02000022) |
| #define | MOTOR_SPEED_CLEAR_CAUTION_CMD (0x02000024) |
| #define | MOTOR_STEERING_OFFSET_CONTROL_CMD (0x02000031) |
| #define | HORN_MUTE_COMMAND (0x02000041) |
| #define | HORN_SOUND_COMMAND (0x02000042) |
| #define | HORN_PULSE_COMMAND (0x02000043) |
| #define | START_LINE_SENSING_CMD (0x02000051) |
| #define | STOP_LINE_SENSING_CMD (0x02000052) |
| #define | ENABLE_LINE_FOLLOWING_CMD (0x02000055) |
| #define | DISABLE_LINE_FOLLOWING_CMD (0x02000056) |
| #define | UPDATE_LIGHT_COLOR_CMD (0x02000061) |
| #define | CAMERA_CHANGE_ELEVATION_CMD (0x02000071) |
| #define | CAMERA_CHANGE_AZIMUTH_CMD (0x02000072) |
| #define | ENABLE_STOP_SENSING_CMD (0x02000081) |
| #define | DISABLE_STOP_SENSING_CMD (0x02000082) |
| #define | ENABLE_FULL_SIGN_SENSING_CMD (0x02000085) |
| #define | DISABLE_FULL_SIGN_SENSING_CMD (0x02000086) |
| #define | HEARTBEAT_REQUEST_MSG (0x04000020) |
| #define | HEARTBEAT_COMPONENT_PING_REQUEST (0x0400A55A) |
| #define | HEARTBEAT_COMPONENT_RESPONSE_MSG (0x04005AA5) |
| #define | REPORT_NEW_IPADDRESS (0x08000011) |
| #define | REPORT_IP_CONNECTION_DISCONNECTED (0x08000012) |
| #define | REPORT_DIRECTION_STATUS (0x08000021) |
| #define | DISTANCE_MEASUREMENT_REPORT (0x08000041) |
| #define | DISTANCE_MEASUREMENT_REPORT_CURRENTREADINGBITMAP (0x08000000) |
| #define | DISTANCE_MEASUREMENT_REPORT_AVEREADINGBITMAP (0x04000000) |
| #define | DISTANCE_MEASUREMENT_REPORT_MAXREADINGBITMAP (0x02000000) |
| #define | DISTANCE_MEASUREMENT_REPORT_MINREADINGBITMAP (0x01000000) |
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.
This file defines the commands that are to be sent over the network to the device. Each value is placed in the message field of a networkMessageStruct (and the command field of a CommandQueueEntry). Indented definitions are parameter values that belong to the command above them.
| #define LIGHTOFFCMD (0x00010000) |
The command to turn a light off.
| #define LIGHTONCMD (0x00100000) |
The command to simply turn a light on.
| #define LIGHTPWMADJUSTMENTCMD (0x01000000) |
The command to adjust the brightness of a light by changing its PWM duty cycle.
| #define REPORT_NEW_IPADDRESS (0x08000011) |
The reporting of a new IP address.