orocos-toolchain / orogen

Code generator for components and type handling in Rock - the Robot Construction Kit - and the Orocos Toolchain
http://rock-robotics.org
Other
4 stars 35 forks source link

Orogen does not include inherited ports when port_driven #141

Open mmaurus opened 3 years ago

mmaurus commented 3 years ago

Given Task A and Task B as follows:

task_context "TaskA" do
    input_port "portA"
end

task_context "TaskB", subclasses: "TaskA" do
    input_port "portB"
    port_driven
end 

then the updateHook of TaskB will only be triggered for portB, NOT for interited port portA! In TaskBase::setupComponentInterface(), orogen did not add portA.