I’ve been observing various FreeRTOS projects and I am interested in understanding how the decision-making process for the number of tasks and their guaranteed response times decide.
To clarify, I’m interested in this context:
imagine a simple example of a toy car project controlled by a remote. The car receives commands from the remote and adjusts its position and speed accordingly.
I’ve divided it into two tasks and assumed their response times based on my knowledge.
Task 1 (Receiving Commands from the Remote):
Acceptable Response Time: Less than 100 milliseconds.
Not Acceptable Response Time: Exceeding 100 milliseconds can lead to delayed recognition of user commands.
Task 2 (Controlling Car’s Position and Speed):
Acceptable Response Time: Ideally less than 100 milliseconds for real-time control.
Not Acceptable Response Time: Response times exceeding 100 milliseconds may hinder precision and user satisfaction.
My goal is to understand decision making on how many tasks , response times, and task priorities in FreeRTOS projects. I’m starting with a simple toy car project controlled by a remote and will expand to more complex features as I understand simple first.