useorocos: fixed recursive orocos_find_package() for rosbuild packages

This is a regression of 5c14c5d6291375d9e790a92d01a766d4bdc9b2b9.

Signed-off-by: Johannes Meyer <johannes@intermodalics.eu>
Do not reset the caller engine in OperationCaller assignment

Use case:
    RTT::OperationCaller<bool()> op("bar", this->engine());
    op = this->getPeer("foo")->getOperation("bar");
    assert(op.mcaller);

Signed-off-by: Johannes Meyer <johannes@intermodalics.eu>
timers: use rtos_get_time_ns() directly bypassing the TimeService

TimeService normally counts time from zero, while rtos_get_time_ns() uses CLOCK_REALTIME directly.
Timers are using semaphores internally which can only handle CLOCK_REALTIME.

Signed-off-by: Johannes Meyer <johannes@intermodalics.eu>
cmake: Support configuring executables for Orocos

Instead of forcing the ADD_EXECUTABLE() and INSTALL() calls on the user,
this allows them to configure an existing executable. This also supports
configuring tests that require Orocos.
Merge remote-tracking branch 'meyerj/operationcaller-assignment-fix' into HEAD
Merge remote-tracking branch 'origin/slave_activity_fix' into HEAD
Merge remote-tracking branch 'origin/toolchain-2.7' into HEAD
Merge remote-tracking branch 'meyerj/fix-timers'
Merge remote-tracking branch 'origin/rpath-mess'
Revert "extras/slaveactivity: fix potential segfault if no master activity is set"

This reverts commit e1559a65b19cca6a695f33f9c51a4268ac8c864b.
Revert "SlaveActivity"

This reverts commit ed1d5f3f35221c3cb412fb1f002e5a3ede34055b.
ExecutionEngine: forward incoming messages to a master ExecutionEngine if set

The master ExecutionEngine is set automatically if the engine runs in a SlaveActivity whose master activity also runs an ExecutionEngine.

Signed-off-by: Johannes Meyer <johannes@intermodalics.eu>
plugin: added ORO_GLOBAL_SERVICE_NAMED_PLUGIN for service plugins that want to install a global service

Signed-off-by: Johannes Meyer <johannes@intermodalics.eu>
tests: extended plugins_test to include global service plugins

Signed-off-by: Johannes Meyer <johannes@intermodalics.eu>
operations: force user to set the caller when collecting is done.

In order to save users from debugging deadlocks, force them to declare the
caller when using collect(), directly or indirectly. Does not influence send()

Signed-off-by: Peter Soetens <peter@thesourceworks.com>
scripting: allow parsing of keywords at the end of a parse string.

The Taskbrowser refused to parse 'foo=true' because keywords implicitly assumed something
was after it. Users had to write 'foo=1' to work around this. Now we allow to parse a keyword
at the end of a line or end of parse string.

Signed-off-by: Peter Soetens <peter@thesourceworks.com>
corba: explicitly provide GlobalEngine::Instance when calling operations

This fixes calling operations after dc81be1

Operations now must have an explicit engine assigned, but the CORBA
layer was still passing the NULL engine (which was defaulting to
GlobalEngine()).
Merge pull request #68 from psoetens/master

Fix state_test failure by fixing StateMachine responding to signals
Merge pull request #55 from snrkiwi/support-orocos-application-tests

cmake: Support configuring executables for Orocos
Merge pull request #60 from orocos-toolchain/fix-59

SlaveActivity without master ExecutionEngine (pull request)

Functionally, the old behavior remains, but we delegate the responsibility from SlaveActivity to ExecutionEngine. Please yell if this breaks your case, but we believe it doesn't. The fatal error in the slave's trigger() function really needed to go since a slave without a master is quite valid.