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.Modifier and Type | Method and Description |
---|---|
void |
awaitStart() |
boolean |
awaitStart(long timeout,
java.util.concurrent.TimeUnit unit) |
MasterServer |
getMasterServer() |
java.net.URI |
getUri() |
static RosCore |
newPrivate() |
static RosCore |
newPrivate(int port) |
static RosCore |
newPublic() |
static RosCore |
newPublic(int port) |
static RosCore |
newPublic(java.lang.String host,
int port) |
void |
shutdown() |
void |
start() |
public static RosCore newPublic(java.lang.String host, int port)
public static RosCore newPublic(int port)
public static RosCore newPublic()
public static RosCore newPrivate(int port)
public static RosCore newPrivate()
public void start()
public java.net.URI getUri()
public void awaitStart() throws java.lang.InterruptedException
java.lang.InterruptedException
public boolean awaitStart(long timeout, java.util.concurrent.TimeUnit unit) throws java.lang.InterruptedException
java.lang.InterruptedException
public void shutdown()
public MasterServer getMasterServer()