Module: Syskit::ROS::Configuration
- Defined in:
- lib/syskit/ros/roby_app/configuration.rb
Instance Method Summary collapse
-
#use_ros_launcher(*names) ⇒ Object
Add the given launcher (referred to by its process name, that is the name given in the oroGen file) to the set of deployments the engine can use.
-
#use_ros_launchers_from(project_name, options = Hash.new) ⇒ Object
Add all the rosnodes defined and used in the given launch file and associated oroGen projects.
Instance Method Details
#use_ros_launcher(*names) ⇒ Object
Add the given launcher (referred to by its process name, that is the name given in the oroGen file) to the set of deployments the engine can use.
18 19 20 21 22 23 24 |
# File 'lib/syskit/ros/roby_app/configuration.rb', line 18 def use_ros_launcher(*names) if !names.last.kind_of?(Hash) names << Hash.new end names[-1] = Hash[:on => 'ros'].merge(names[-1]) use_deployment(*names) end |
#use_ros_launchers_from(project_name, options = Hash.new) ⇒ Object
Add all the rosnodes defined and used in the given launch file and associated oroGen projects
8 9 10 |
# File 'lib/syskit/ros/roby_app/configuration.rb', line 8 def use_ros_launchers_from(project_name, = Hash.new) use_deployments_from(project_name, Hash[:on => 'ros'].merge()) end |