You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This has most probably something to do with your orogen version and/or some extensions that change orogen's behavior. Could you try without the cpp_proxies and modelExport extensions you are using ?
This is not the only package that currently has more than one task under test::.
FYI, the task states are indeed unscoped, which forbids having the same class name in two different namespaces, e.g. no
task_context "Task" do
end
task_context "test::Task" do
end
Hello,
the test tasks could not be built.
If the tests are enabled, the following error occurs:
2021-03-02 11:36:10 +0100: running /usr/bin/ruby2.5 -S /opt/rock/master-20.06/rock-master-20.06-ruby-orogen/bin/orogen --corba --extensions=cpp_proxies,modelExport --extensions=metadata_support --import=std --no-rtt-scripting --parallel-build=4 --test --transports=corba,mqueue,typelib --type-export-policy=used iodrivers_base.orogen in directory /drivers/orogen/iodrivers_base /drivers/orogen/iodrivers_base/.orogen/typekit/types/iodrivers_base/TaskStates.hpp:78:10: error: redefinition of 'test_STATES' enum test_STATES ^ /drivers/orogen/iodrivers_base/.orogen/typekit/types/iodrivers_base/TaskStates.hpp:55:10: note: previous definition is here enum test_STATES ^ 1 error generated.
The state types of the tasks test::FDTask and test::PeriodicTask have same name: enum test_STATES
The text was updated successfully, but these errors were encountered: