We are working on a system that will need some predictive emergency stop. As a possible solution the RTOS was mentioned. Not sure if RTOS is a way to go, might just be that we do not have full understanding of the flow of it.
So there is a process running on PC that does some calculations and it needs lets say X seconds to fully finish while the machine continues working. What we want is the data that needs to be analyzed sent to RTOS and run quick check if that is possible at all and if not to stop the machine. Also some check to see if the process is running on PC at all, otherwise stop the machine.
Does that make sense, should that use RTOS?
Idea is to add RTOS, so that is a fully parallel OS running on same machine and it can communicate with other OS, to receive data or listen to running process? Or does OS need to send stuff through API to RTOS?
FreeRTOS is something that has been checked and we would go for if that is the solution.