-
Notifications
You must be signed in to change notification settings - Fork 22
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
Make the KSS-RSI driver real-time safe #61
Comments
Heap allocations in control loop should also be removed! |
Tasks:
Low prio tasks (possibly in different branch):
|
Evaluating PUGI XMLAfter creating my own xml parser i implemented the pugi xml parser too. The parser is capable of working on C style character strings which is compatible with the udp library i use. The user is also able to redefine the allocation functions. I redefined them with the memory resources library so the memory is allocated at the start of the algorithm. ResultsAs the following diagrams shows there is a significant difference between the two xml parser both in encodeing and decodeing. DecodeEncodeConclusion and TasksThe driver for encodeing and decoding messages to and from the RSI should use the PUGI XML parser. However further tests should be created to prove the real-time nature. The PUGI can be configured multiple ways. It should be checked whether the parser can be more stable. While decodeing there are a few spikes where the decode takes longer It should be investigated further whether thees comes from useing the memory resource or the algorithm need more time. Further task is to integrate the pugi xml into the driver. Also there is an open pull request which updates the pugi with its own pmr style memory resource. |
No description provided.
The text was updated successfully, but these errors were encountered: