public class RosTimeUtilFactory
extends java.lang.Object
Modifier and Type | Field and Description |
---|---|
static java.lang.String |
defaultParameterHandler |
static java.lang.String |
defaultTimeMaster |
static java.lang.String |
defaultTimeSlave |
static org.ros.node.NodeMainExecutor |
nme |
static java.lang.String |
noSimTime |
static java.lang.String |
simTime |
static java.lang.String |
time |
Constructor and Description |
---|
RosTimeUtilFactory() |
Modifier and Type | Method and Description |
---|---|
static RosTimeUtil |
getTimeIgnoringUtil()
Returns thing which ignores time completely.
|
static RosTimeUtil |
startDefaultTimeMaster(java.util.ArrayList<JavaNodeContainer> utilNodes)
Launches default time master node.
|
static RosTimeUtil |
startDefaultTimeSlave(java.util.ArrayList<JavaNodeContainer> utilNodes)
Launches the default time slave node.
|
static ParamHandler |
startParamHandler(java.util.ArrayList<JavaNodeContainer> utilNodes)
Start the parameter handler for Nengo, this does not listen to the simulation time, so
bug in the Rosjava (where timeProvider not started, the getCurrentTime and getLog throw NLP)
will not affect it.
|
static void |
stopNME() |
public static final org.ros.node.NodeMainExecutor nme
public static final java.lang.String time
public static final java.lang.String simTime
public static final java.lang.String noSimTime
public static final java.lang.String defaultTimeMaster
public static final java.lang.String defaultTimeSlave
public static final java.lang.String defaultParameterHandler
public static RosTimeUtil startDefaultTimeMaster(java.util.ArrayList<JavaNodeContainer> utilNodes)
utilNodes
- ArrayList of utility nodes, which are all shutdown before exiting the app.public static RosTimeUtil startDefaultTimeSlave(java.util.ArrayList<JavaNodeContainer> utilNodes)
public static RosTimeUtil getTimeIgnoringUtil()
public static void stopNME()
public static ParamHandler startParamHandler(java.util.ArrayList<JavaNodeContainer> utilNodes)
utilNodes
- arrayList of utility nodes that should be stopped before application exits