Class: Orocos::ROS::ROSSlave

Inherits:
ROS_XMLRPC show all
Defined in:
lib/orocos/ros/rpc.rb

Overview

Access to a remote ROS slave

Instance Attribute Summary

Attributes inherited from ROS_XMLRPC

#caller_id, #server

Instance Method Summary collapse

Methods inherited from ROS_XMLRPC

#call, #initialize

Constructor Details

This class inherits a constructor from Orocos::ROS::ROS_XMLRPC

Instance Method Details

#master_uriObject

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

#pidObject

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

#publicationsObject

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

#subscriptionsObject

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