Skip to content
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

Controller with hierarchical periodic processing #259

Open
mmurooka opened this issue Jun 9, 2022 · 0 comments
Open

Controller with hierarchical periodic processing #259

mmurooka opened this issue Jun 9, 2022 · 0 comments
Labels
help wanted Request help from mc_rtc team

Comments

@mmurooka
Copy link
Member

mmurooka commented Jun 9, 2022

I would like to run another computation process (e.g. MPC-based trajectory planning) in mc_rtc controller with a period longer than the control period. If you know of a good implementation or an example, could you please let me know?

For example, the control period is 4 msec and the MPC period is assumed to be 20 msec. The naïve idea I have is to create a thread for MPC and do the MPC computation in a "while loop", but I am not sure if synchronization and data transfer with the controller thread will be handled well.

@gergondet gergondet added the help wanted Request help from mc_rtc team label Sep 4, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
help wanted Request help from mc_rtc team
Projects
None yet
Development

No branches or pull requests

2 participants