D7 – ROSjava – Fuzzy Gates

Better than classical crisp logic, the use of fuzzy logic can be more convenient in many cases. This demo shows usage of simple ROS nodes implementing Fuzzy Logic Gates.

The source files are located under the project logic/gates and show also relatively extensive JUnit tests for both, correct operation of ROS nodes and correct communication (registering to master/checking for subscribers&publishers/sending data) over the ROS network.

Starting the Simulation

The demo can be launched by running:


run  nr-demo/gates/logic_fuzzy_gates.py

This script does the similar thing to the one in previous demo:

  • Launch several logic gates
  • Connect them to the function generators
  • Connect their outputs to neural ensembles

fuzzyA

The resulting simulation:

fuzzyB

Ros Graph

The corresponding ROS Graph:

fuzzy_gates

Advertisements