Class: Orocos::ROS::ROSSlave
- Inherits:
-
ROS_XMLRPC
- Object
- ROS_XMLRPC
- Orocos::ROS::ROSSlave
- Defined in:
- lib/orocos/ros/rpc.rb
Overview
Access to a remote ROS slave
Instance Attribute Summary
Attributes inherited from ROS_XMLRPC
Instance Method Summary collapse
-
#master_uri ⇒ Object
- String
-
the URI of the master that manages this slave.
-
#pid ⇒ Object
- String
-
the URI of the master that manages this slave.
-
#publications ⇒ Object
- Array<Array<(String,String)>>
-
the list of publications as [topic_name, topic_type_name] pairs.
-
#subscriptions ⇒ Object
- Array<Array<(String,String)>>
-
the list of subscriptions as [topic_name, topic_type_name] pairs.
Methods inherited from ROS_XMLRPC
Constructor Details
This class inherits a constructor from Orocos::ROS::ROS_XMLRPC
Instance Method Details
#master_uri ⇒ Object
- String
-
the URI of the master that manages this slave
100 101 102 |
# File 'lib/orocos/ros/rpc.rb', line 100 def master_uri call('getMasterUri', caller_id) end |
#pid ⇒ Object
- String
-
the URI of the master that manages this slave
95 96 97 |
# File 'lib/orocos/ros/rpc.rb', line 95 def pid call('getPid', caller_id) end |
#publications ⇒ Object
- Array<Array<(String,String)>>
-
the list of publications as
- topic_name, topic_type_name
-
pairs
90 91 92 |
# File 'lib/orocos/ros/rpc.rb', line 90 def publications call('getPublications', caller_id) end |
#subscriptions ⇒ Object
- Array<Array<(String,String)>>
-
the list of subscriptions as
- topic_name, topic_type_name
-
pairs
84 85 86 |
# File 'lib/orocos/ros/rpc.rb', line 84 def subscriptions call('getSubscriptions', caller_id) end |