Static Public Member Functions | Static Package Attributes
edu.tum.cs.ias.knowrob.utils.ros.RosUtilities Class Reference

List of all members.

Static Public Member Functions

static void kill (String handle)
static String rospackFind (String pkg)
static String rosrun (String pkg, String binary, String[] arg) throws IOException

Static Package Attributes

static HashMap< String, ProcessprocessMap = new HashMap<String, Process>()

Detailed Description

Definition at line 10 of file RosUtilities.java.


Member Function Documentation

static void edu.tum.cs.ias.knowrob.utils.ros.RosUtilities.kill ( String  handle) [inline, static]

Kill a process based on its UUID (which has been returned by the RosUtilities.rosrun() method

Parameters:
UUIDof the process to be killed
binaryname of the binary

Definition at line 88 of file RosUtilities.java.

static String edu.tum.cs.ias.knowrob.utils.ros.RosUtilities.rospackFind ( String  pkg) [inline, static]

Finds a ROS package using rospack and returns its path.

Parameters:
nameof the ROS package
Returns:
path to the package - if it was found
null - otherwise

Definition at line 20 of file RosUtilities.java.

static String edu.tum.cs.ias.knowrob.utils.ros.RosUtilities.rosrun ( String  pkg,
String  binary,
String[]  arg 
) throws IOException [inline, static]

Finds a ROS package using rospack and returns its path.

Parameters:
pkgname of the ROS package
binaryname of the binary
argsArguments
Returns:
Handle to this process
Exceptions:
IOException

Definition at line 63 of file RosUtilities.java.


Member Data Documentation

HashMap<String, Process> edu.tum.cs.ias.knowrob.utils.ros.RosUtilities.processMap = new HashMap<String, Process>() [static, package]

Definition at line 12 of file RosUtilities.java.


The documentation for this class was generated from the following file:


knowrob_common
Author(s): Moritz Tenorth
autogenerated on Sat Dec 28 2013 17:09:28