-
Notifications
You must be signed in to change notification settings - Fork 3
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Document safety app #4
Comments
@gabpaoloni I assume wg-architecture already has a lot of understanding about the safety app and can support us in documenting it properly. |
The current readme mentions "Intermediary repo for the AGL cluster demo safety app, until meta-elisa is restructured" which is not correct. The current way is good. So we can remove this sentence and add description of the safety app to the readme.md |
Consider the update in the bitbake recipe as well when cleaning up here: elisa-tech/meta-elisa#38 |
This commit adds a first description of the safety-app. Information is based on what is written in the meta-elisa readme. Signed-off-by: Philipp Ahmann <[email protected]>
Rearrange sentence for better understandabiltiy. Signed-off-by: Philipp Ahmann <[email protected]>
Rearrange sentence for better understandabiltiy. Signed-off-by: Ahmann Philipp (XC-CT/PRM1) <[email protected]>
First improvements of the safety-app readme for issue #4 This commit adds a first description of the safety-app. Information is based on what is written in the meta-elisa readme. Signed-off-by: Philipp Ahmann <[email protected]>
From tools meeting with @sudipm-mukherjee some first notes about the safety-app for proper documentation. Safety-signal-source.c is getting the information from control-app.c. It is continuously sending the 6 byte message to safety-app.c. control-app.c will provide the screen and command line menu for interacting with the named pipe. It takes the input from keyboard which state to trigger. Once it gets the information it sends it to Safety-signal-source.c. safety-app.c is there to perform the end to end (E2E) check. It checks the message from Safety-signal-source.c for consistency. It checks parity of the messages received. 6th byte is the parity. Corrupt messagecorrupt message: safety control informs safety-signal-source which corrupts the message to safety-app which triggers the safe state.
Danger sign is sent Drop messageIf the flag is set it will not send the message. Trigger safe stastesafety-signal-source will send a different CAN signal. The meter will not be displayed anymore. This is just an optical trick to differentiate it from the corrupt message. Some remarks
|
Watchdog details and drop message behaviour needs to be clarified with @Jochen-Kall |
Feedback from @Jochen-Kall for some of the requests Setting the watchog to 10 is an arbitrary value. We chose it large/high for demonstration purposes. Also there was the precision issue. If recalled correctly the watchdog implementation originated in the field of telecommunication infrastructure, and thus was never designed for the tight timings of the automotive use cases (meaning ms). The fault injection modes were designed to trigger the according fault detection and reaction
For the "request safe state" the idea was, that an outside source might request the save state explicitly, even if the cluster display itself is working correctly, thus the option to demonstrate like that. (Jochen also confirmed, that it was right to keep it in the repo as it is and not putting it to the meta-elisa. This was already changed with a previous PR.) |
Within meta-elisa we pull the safety app, but we have not properly documented how it works, for which reason we patch the cluster-demo from AGL to interact with CAN signals, etc.
The text was updated successfully, but these errors were encountered: