D3 – Ignore Time

This demo shows how the NengoRos can be setup to use its own simulation time and ROS nodes to use WallTime.

The demo is similar to the `basic/minmax.py` (starts one external ROS node) and almost identical to the previous demo.

Launching the Script

Demo can be started by the following script typed into the Nengo console:


run nr-demo/basic/timeIgnore.py

How does it Work

In this case, the `RosUtils.setTimeIgnore()` was called in the Jython script.

The same demo, but with now Nengo and all other ROS nodes ignore SimulatedTime and use WallTime instead (Nengo uses own time).

In the following figure, it can be seen that no time sharing is explicitly defined. Instead, the Nengo simulator uses own time and ROS nodes do not require time Running.

Time sharing is ignored, nobody is subscribed to the /clock topic.

Time sharing is ignored, nobody is subscribed to the /clock topic.

Advertisements