Software Components
Button Input: Reads input from buttons that control speed, mode, and system cancellation.
Ultrasonic Sensor: Measures the distance to objects in front, essential for the adaptive speed control.
ACCLogic: The decision-making logic for speed control, based on inputs from the user and sensors.
Speed Monitor: Tracks the current speed of the vehicle to inform ACCLogic.
Display Manager: Provides the driver with visual feedback on the vehicle's status and system mode.