RobertK66 / obc_1769_core

Implements hardware abstractions and Layer2(3) modules for usage of the OBC hardware in cubesat projects
GNU General Public License v3.0
1 stars 1 forks source link

Implement general 'Command-Scripting-Engine' #70

Open RobertK66 opened 1 year ago

RobertK66 commented 1 year ago

Modify/redesign the thruster scripting engine to build the base for future 'Mission-Scripts".

I propose to design a generic "Scripting Engine" which can be used to control the higher (mission) levels of the CLIMB OBC Software in future.

All C-Level modules will provide the 'Command-API' (currently also used by the debug UART) to be triggered. Additional we will need some sort of 'Register/WaitFor - API Events" command and some primitive control structures (IF-THEN/LOOP/..) to be available.

Scripts should be provided either from Flash (hard coded basic and emergency scripts), or from MRAM Storage.

I think we should aim for possibility to run N (~10) scripts in parallel. The engine module should provide the commands to activate/run and deactivate/stop any available scripts and also to upload new scripts (from ground station) to MRAM storage.

Details for that are T.B.D. and documented as they evolve.

RobertK66 commented 6 months ago

I am stopping my assignemnt here as I did not receive any feedback on it for the last 12 month....