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

More aggressive typekit lookup #4

Open
wants to merge 3 commits into
base: master
Choose a base branch
from

Conversation

pierrewillenbrockdfki
Copy link

This adds a single pass of orocos_cpp::PluginHelper::loadAllTypekitAndTransports() if a tasks model name cannot be used for its typekit lookup. This ensures that samples from any of the already installed typekits can be replayed even if the task has not been installed.

This does not prevent a type mismatch when the log file has a different type with the same name. To get that case working, one would need to construct a typekit on-the-fly from the information in the streams type registry.

The rest fixes a problem where OrocosCpp was instantiated twice, preventing the above to be debugged properly because the logtaskmanagers orocos instance would not be initialized properly, and displays the unreplayable ports in the gui instead of a) not having the task or b) not having the port, without any indication what is going on.

The replayHandler.stop is done by allowing the main playback loop to exit.
This also reworks some of the plumbing to not only rely on
std::pair<std::string,std::string> types.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant