You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Extensions to the Arduino-based OBC simulator should be implemented as independently as possible from the actual OBC simulator code. The latter resides in a separate repository and is generated (as of the time of writing of this issue) using a config file. The OBC simulator repository may change at a later date, at which point CUBES will need to regenerate the code for its OBC simulator. At that point, adding the extensions to the the newly-generated OBC simulator code may lead to headaches.
The process should be simplified by:
Moving extension code outside of code generated for the OBC simulator, e.g., in new files called extension.c and extension.h;
Modifying the main flie of the OBC simulator to contain calls to functions in extension.h;
All of these should be added to the obcsim/ folder of the repository.
The text was updated successfully, but these errors were encountered:
Thinking about this problem a bit more, maybe the best way to go is to have this extensibility feature supported by the msp-simulator repository directly.
I shall open up an issue there to see if this is possible to implement.
Extensions to the Arduino-based OBC simulator should be implemented as independently as possible from the actual OBC simulator code. The latter resides in a separate repository and is generated (as of the time of writing of this issue) using a config file. The OBC simulator repository may change at a later date, at which point CUBES will need to regenerate the code for its OBC simulator. At that point, adding the extensions to the the newly-generated OBC simulator code may lead to headaches.
The process should be simplified by:
extension.c
andextension.h
;extension.h
;All of these should be added to the
obcsim/
folder of the repository.The text was updated successfully, but these errors were encountered: