Brake Sensor Task
Safety-critical path with the highest priority. It preempts lower tasks to ensure immediate reaction.
Priority 7Interrupt-driven RTOS simulation with deterministic task behavior, priority-based scheduling, and safe shared resource handling for vehicle sensor events.
This project demonstrates how Brake, Collision, and Speed interrupts are mapped to ISR handlers, queued by priority, and executed through RTOS-style task scheduling while preserving predictable timing.
Safety-critical path with the highest priority. It preempts lower tasks to ensure immediate reaction.
Priority 7High-priority response task for collision detection events and intermediate safety handling.
Priority 6Monitoring and telemetry task with medium priority for regular speed-event processing.
Priority 5| Endpoint | Method | Purpose |
|---|---|---|
| /dashboard | GET | Interactive RTOS dashboard view |
| /api/trigger-sensor/{name} | POST | Trigger Brake, Collision, or Speed interrupt |
| /api/event-log | GET | Fetch event stream generated by ISR and tasks |
| /api/system-stats | GET | Read task, interrupt, CPU and uptime statistics |
| /ppt | GET | Open presentation page for demo and explanation |