This class contains the methods to run the nodes on local and remote
machines in a screen terminal.
|
|
(request object, response object)
|
callService(self,
service_uri,
service,
service_type,
service_args=[])
Calls the service and return the response. |
source code
|
|
|
kill(self,
host,
pid,
auto_pw_request=False,
user=None,
pw=None)
Kills the process with given process id on given host. |
source code
|
|
|
|
|
poweroff(self,
host,
auto_pw_request=False,
user=None,
pw=None)
poweroff given host. |
source code
|
|
|
rosclean(self,
host,
auto_pw_request=False,
user=None,
pw=None)
rosclean purge on given host. |
source code
|
|
Inherited from object :
__delattr__ ,
__format__ ,
__getattribute__ ,
__hash__ ,
__new__ ,
__reduce__ ,
__reduce_ex__ ,
__repr__ ,
__setattr__ ,
__sizeof__ ,
__str__ ,
__subclasshook__
|
|
runNode(cls,
runcfg)
Start the node with given name from the given configuration. |
source code
|
|
|
runNodeWithoutConfig(cls,
host,
package,
binary,
name,
args=[],
masteruri=None,
auto_pw_request=False,
user=None,
pw=None)
Start a node with using a launch configuration. |
source code
|
|
dict(param:value, ...)
|
getGlobalParams(cls,
roscfg)
Return the parameter of the configuration file, which are not
associated with any nodes in the configuration. |
source code
|
|
|
get_log_path(cls,
host,
nodes=[],
auto_pw_request=False,
user=None,
pw=None) |
source code
|
|
bool
|
openLog(cls,
nodename,
host,
user=None,
only_screen=False)
Opens the log file associated with the given node in a new terminal. |
source code
|
|
|
deleteLog(cls,
nodename,
host,
auto_pw_request=False,
user=None,
pw=None)
Deletes the log file associated with the given node. |
source code
|
|
|
transfer_files(cls,
host,
path,
auto_pw_request=False,
user=None,
pw=None)
Copies the given file to the remote host. |
source code
|
|
bool
|
ntpdate(cls,
host,
cmd,
user=None,
pw=None)
Opens the log file associated with the given node in a new terminal. |
source code
|
|