UBCAgroBot / AppliedAI

Central Codebase for Applied AI Team
0 stars 1 forks source link

Jerome's RTOS Work #11

Open Ishaan-Datta opened 4 months ago

Ishaan-Datta commented 4 months ago

Hard real-time systems have strict, non-negotiable timing constraints where tasks must complete within a guaranteed timeframe.

Soft real-time systems have timing constraints that are important but not as strict as hard real-time systems. Missing a deadline is undesirable but not catastrophic.

Task Scheduling: Use appropriate task scheduling algorithms to ensure timely execution.

Real-Time Clocks and Timers:

Deadline Monitoring:

Deterministic Execution Paths: Minimize variations in execution times to achieve deterministic behavior.

Real-Time Guarantees: Provide guarantees for response times and completion times.

Input and Output Constraints: Minimize the latency associated with input and output operations.

Task Offloading: Offload non-critical tasks to secondary processors or devices.

Interrupt Handling:

Resource Reservation: Reserve resources such as CPU time, memory, and bandwidth for critical tasks.

Real-Time Networking: Minimize communication latency in real-time networks.

Testing and Validation:

Continuous Monitoring: