Extension added to the Roby remote shell interface (Roby::RemoteInterface) so that the models in Orocos::RobyPlugin get aliased to Orocos and the root namespace as well
# File lib/orocos/roby/shell.rb, line 9 def new_model(model_name, model) # Compositions, data services and deployments are already taken # care of by aliasing the Compositions, DataServices and # Deployments namespaces. Act only on the task models if model <= Orocos::RobyPlugin::TaskContext model_name = model_name.gsub('Orocos::RobyPlugin::', '') namespace_name, model_name = model_name.split('::') [Orocos, Object].each do |ns| ns = ns.define_or_reuse(namespace_name) { Module.new } ns.define_or_reuse(model_name, model) end end end