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

Added configurable version of SynchronizationTransmitter #1

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

Conversation

maltewi
Copy link

@maltewi maltewi commented Sep 2, 2016

New TaskContext. Environment path could be given as property, and the environment is transmitted automatically in update hook.

…ironment path could be given as property, and the environment is transmitted automatically
@saarnold
Copy link
Member

saarnold commented Sep 2, 2016

Why not adding this feature to the SynchronizationTransmitter? I think both possibilities could coexist.

}

ConfigurableSynchronizationTransmitter::ConfigurableSynchronizationTransmitter(std::string const& name, RTT::ExecutionEngine* engine)
: ConfigurableSynchronizationTransmitterBase(name, engine), initial_map_sent(false), env(new envire::Environment()), envireEventDispatcher(NULL)
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

You might want to initialize the initial_map_sent flag in the configuration hook. Otherwise if the task is reused during task network transitions there wont be a map send out.

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.

3 participants