Method: Roby::Application#robot

Defined in:
lib/roby/app.rb

#robot(name, type = nil) ⇒ Object

Sets up the name and type of the robot. This can be called only once in a given Roby controller.



1512
1513
1514
# File 'lib/roby/app.rb', line 1512

def robot(name, type = nil)
    @robot_name, @robot_type = robots.resolve(name, type)
end