Class: OroGen::ROS::DefaultLoader

Inherits:
Loader show all
Defined in:
lib/orogen/ros/default_loader.rb

Overview

A ROS loader that loads oroGen's built-in default definitions for ROS

Instance Attribute Summary

Attributes inherited from Loader

#orogen_to_ros_mappings, #package_paths, #packs, #ros_to_orogen_mappings, #search_path, #spec_file_suffix

Attributes inherited from Loaders::Base

#interface_typelist, #loaded_deployment_models, #loaded_projects, #loaded_task_models, #loaded_typekits, #project_load_callbacks, #registry, #root_loader, #typekit_load_callbacks, #typekits_by_type_name

Instance Method Summary collapse

Methods inherited from Loader

#compatible_message_type?, #find_all_types_for, #find_project_file_from_name, #find_rosmap_by_package_name, #has_project?, #has_typekit?, #initialize, #load_all_rosmaps, #load_rosmap_by_package_name, #map_message_type_to_orogen, #project_model_from_name, #project_model_text_from_name, #register_package_path, #roslaunch_find, #rospack_find, #to_s, #typekit_model_text_from_name

Methods inherited from Loaders::Base

#added_child, #define_dummy_types?, #deployed_task_model_from_name, #deployment_model_from_name, #each_available_project_name, #find_deployments_from_deployed_task_name, #find_project_from_deployment_name, #find_task_library_from_task_model_name, #has_loaded_project?, #has_project?, #has_typekit?, #imported_typekits_for, #initialize, #inspect, #interface_type?, #intermediate_type?, #intermediate_type_for, #m_type?, #on_project_load, #on_typekit_load, #opaque_type_for, #project_model_from_name, #project_model_from_text, #project_model_text_from_name, #register_deployment_model, #register_project_model, #register_task_context_model, #register_type_model, #register_typekit_model, #remove_project_load_callback, #resolve_interface_type, #resolve_type, #task_library_model_from_name, #task_model_from_name, #typekit_model_from_name, #typekit_model_text_from_name, #typelib_type_for

Constructor Details

This class inherits a constructor from OroGen::ROS::Loader

Instance Method Details

#clearObject


5
6
7
8
9
10
11
# File 'lib/orogen/ros/default_loader.rb', line 5

def clear
    super
    if !search_path.include?(OroGen::ROS::OROGEN_ROS_LIB_DIR)
        search_path << OroGen::ROS::OROGEN_ROS_LIB_DIR
    end
    project_model_from_name 'ros'
end