org.ros
Class RosCore
java.lang.Object
org.ros.RosCore
public class RosCore
- extends java.lang.Object
RosCore
is a collection of nodes and programs that are pre-requisites
of a ROS-based system. You must have a RosCore
(either this
implementation or the default Python implementation distributed with ROS)
running in order for ROS nodes to communicate.
- See Also:
- roscore documentation
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
newPublic
public static RosCore newPublic(java.lang.String host,
int port)
newPublic
public static RosCore newPublic(int port)
newPublic
public static RosCore newPublic()
newPrivate
public static RosCore newPrivate(int port)
newPrivate
public static RosCore newPrivate()
start
public void start()
getUri
public java.net.URI getUri()
awaitStart
public void awaitStart()
throws java.lang.InterruptedException
- Throws:
java.lang.InterruptedException
awaitStart
public boolean awaitStart(long timeout,
java.util.concurrent.TimeUnit unit)
throws java.lang.InterruptedException
- Throws:
java.lang.InterruptedException
shutdown
public void shutdown()
getMasterServer
public MasterServer getMasterServer()