UBCAgroBot / ROS

Central codebase for UBC Agrobot's System Architecture team, including packages for ROS2, GPU-accelerated processing and ML optimization
0 stars 1 forks source link

RTOS Implementation #10

Open Ishaan-Datta opened 3 months ago

Ishaan-Datta commented 3 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: