Expand description
CuRuntime is the heart of what copper is running on the robot.
It is exposed to the user via the copper_runtime
macro injecting it as a field in their application struct.
Structs§
- Just a simple struct to hold the various bits needed to run a Copper application.
- This structure represents a loop in the execution plan. It is used to represent a sequence of Execution units (loop or steps) that are executed multiple times. if loop_count is None, the loop is infinite.
- This structure represents a step in the execution plan.
- This is the main structure that will be injected as a member of the Application struct. CT is the tuple of all the tasks in order of execution. CL is the type of the copper list, representing the input/output messages for all the tasks.
Enums§
- This structure represents a step in the execution plan.
- Copper tasks can be of 3 types:
Functions§
- This is the main heuristics to compute an execution plan at compilation time. TODO: Make that heuristic plugable.