[Rock-dev] [rock] #259: orogen: default deployments cause #import_types_from(base) to be called on the typekit at compile time but not at runtime
rock
noreply at opendfki.de
Fri Apr 19 17:09:48 CEST 2013
#259: orogen: default deployments cause #import_types_from(base) to be called on
the typekit at compile time but not at runtime
--------------------+-----------------------------------
Reporter: stha02 | Owner: rock-dev-mailing-list
Type: defect | Status: new
Priority: major | Milestone:
Component: base | Keywords:
--------------------+-----------------------------------
I have an orogen project that looks like this
{{{
name "spacebot_motioncontroller"
version "0.1"
using_library 'base-types'
import_types_from 'base/motion_command.h'
import_types_from 'base/actuators/commands.h'
task_context "Task" do
input_port('motion_cmd_in', '/base/MotionCommand2D')
output_port('actuator_mov_cmds_out', '/base/actuators/Command')
periodic 1.0
end
}}}
At compile time, everything is fine. However, at runtime, orocos.rb
complains that the base/MotionCommand2D type is not defined.
The problem, it seems, is that the typekit for this project does not
include the base types. Disabling the default deployments do cause the
typekit to include these types (and running is fine).
It seems that the default deployments cause the base typekit to be loaded
at compile time BEFORE the project's typekit is generated, but not at
runtime.
--
Ticket URL: <https://rock.opendfki.de/ticket/259>
rock <https://rock.opendfki.de>
rock: the robot construction kit
More information about the Rock-dev
mailing list