From 9771d3e9da77fe9a31f3ca559687a486016d8b91 Mon Sep 17 00:00:00 2001 From: Pascal Serrarens Date: Fri, 29 May 2026 12:14:17 +0200 Subject: [PATCH] Updated documentation --- Documentation/html/annotated.html | 18 +- ..._braitenberg_1_1_light_sensor-members.html | 103 + ...tenberg_1_1_light_sensor-members.html.meta | 7 + ...rain_1_1_braitenberg_1_1_light_sensor.html | 211 ++ ...1_1_braitenberg_1_1_light_sensor.html.meta | 7 + ...brain_1_1_braitenberg_1_1_light_sensor.png | Bin 0 -> 452 bytes ..._1_1_braitenberg_1_1_light_sensor.png.meta | 117 + ...in_1_1_braitenberg_1_1_sensor-members.html | 100 + ...1_braitenberg_1_1_sensor-members.html.meta | 7 + ...nano_brain_1_1_braitenberg_1_1_sensor.html | 168 + ...brain_1_1_braitenberg_1_1_sensor.html.meta | 7 + ..._nano_brain_1_1_braitenberg_1_1_sensor.png | Bin 0 -> 461 bytes ..._brain_1_1_braitenberg_1_1_sensor.png.meta | 117 + .../class_nano_brain_1_1_cluster-members.html | 56 +- .../html/class_nano_brain_1_1_cluster.html | 80 +- ...ss_nano_brain_1_1_memory_cell-members.html | 26 +- .../class_nano_brain_1_1_memory_cell.html | 79 +- .../class_nano_brain_1_1_neuron-members.html | 26 +- .../html/class_nano_brain_1_1_neuron.html | 74 +- ..._braitenberg_1_1_light_sensor-members.html | 99 + ...tenberg_1_1_light_sensor-members.html.meta | 7 + ...nity_1_1_braitenberg_1_1_light_sensor.html | 204 ++ ...1_1_braitenberg_1_1_light_sensor.html.meta | 7 + ...unity_1_1_braitenberg_1_1_light_sensor.png | Bin 0 -> 452 bytes ..._1_1_braitenberg_1_1_light_sensor.png.meta | 117 + ...ity_1_1_braitenberg_1_1_motor-members.html | 96 + ..._1_braitenberg_1_1_motor-members.html.meta | 7 + ...n_1_1_unity_1_1_braitenberg_1_1_motor.html | 163 + ..._unity_1_1_braitenberg_1_1_motor.html.meta | 7 + ...ty_1_1_braitenberg_1_1_sensor-members.html | 97 + ...1_braitenberg_1_1_sensor-members.html.meta | 7 + ..._1_1_unity_1_1_braitenberg_1_1_sensor.html | 190 ++ ...unity_1_1_braitenberg_1_1_sensor.html.meta | 7 + ...n_1_1_unity_1_1_braitenberg_1_1_sensor.png | Bin 0 -> 650 bytes ..._unity_1_1_braitenberg_1_1_sensor.png.meta | 117 + ..._braitenberg_1_1_touch_sensor-members.html | 98 + ...nity_1_1_braitenberg_1_1_touch_sensor.html | 200 ++ ...unity_1_1_braitenberg_1_1_touch_sensor.png | Bin 0 -> 420 bytes ...y_1_1_braitenberg_1_1_vehicle-members.html | 95 + ..._braitenberg_1_1_vehicle-members.html.meta | 7 + ...1_1_unity_1_1_braitenberg_1_1_vehicle.html | 151 + ...nity_1_1_braitenberg_1_1_vehicle.html.meta | 7 + ..._1_1_unity_1_1_cluster_prefab-members.html | 3 +- ...no_brain_1_1_unity_1_1_cluster_prefab.html | 55 +- Documentation/html/classes.html | 21 +- .../dir_4f6666a8f2ab10bc970eb7559668f031.html | 6 - .../dir_6902d065a4bcc42dfdaacd21d5856271.html | 93 + ...6902d065a4bcc42dfdaacd21d5856271.html.meta | 7 + .../dir_808dff6625150393f03ff62cbe95dc03.html | 87 + ...808dff6625150393f03ff62cbe95dc03.html.meta | 7 + Documentation/html/functions.html | 50 +- Documentation/html/functions_func.html | 26 +- Documentation/html/functions_prop.html | 4 +- Documentation/html/functions_vars.html | 76 +- Documentation/html/hierarchy.html | 9 +- Documentation/html/menudata.js | 21 +- .../namespace_nano_brain_1_1_braitenberg.html | 99 + ...space_nano_brain_1_1_braitenberg.html.meta | 7 + .../html/namespace_nano_brain_1_1_unity.html | 3 - ..._nano_brain_1_1_unity_1_1_braitenberg.html | 108 + ..._brain_1_1_unity_1_1_braitenberg.html.meta | 7 + ...brain_1_1_braitenberg_1_1_light_sensor.png | Bin 0 -> 452 bytes ..._1_1_braitenberg_1_1_light_sensor.png.meta | 117 + ..._nano_brain_1_1_braitenberg_1_1_sensor.png | Bin 0 -> 461 bytes ..._brain_1_1_braitenberg_1_1_sensor.png.meta | 117 + ...unity_1_1_braitenberg_1_1_light_sensor.png | Bin 0 -> 452 bytes ..._1_1_braitenberg_1_1_light_sensor.png.meta | 117 + ...n_1_1_unity_1_1_braitenberg_1_1_sensor.png | Bin 0 -> 650 bytes ..._unity_1_1_braitenberg_1_1_sensor.png.meta | 117 + ...unity_1_1_braitenberg_1_1_touch_sensor.png | Bin 0 -> 420 bytes Documentation/html/rtf/refman.rtf | 2430 ++++++++------ Documentation/html/search/all_1.js | 7 +- Documentation/html/search/all_10.js | 10 +- Documentation/html/search/all_11.js | 6 +- Documentation/html/search/all_12.js | 3 +- Documentation/html/search/all_2.js | 7 +- Documentation/html/search/all_3.js | 8 +- Documentation/html/search/all_5.js | 2 +- Documentation/html/search/all_6.js | 5 +- Documentation/html/search/all_7.js | 10 +- Documentation/html/search/all_8.js | 7 +- Documentation/html/search/all_9.js | 8 +- Documentation/html/search/all_a.js | 9 +- Documentation/html/search/all_b.js | 15 +- Documentation/html/search/all_c.js | 12 +- Documentation/html/search/all_d.js | 16 +- Documentation/html/search/all_e.js | 25 +- Documentation/html/search/all_f.js | 14 +- Documentation/html/search/classes_0.js | 3 +- Documentation/html/search/classes_1.js | 3 +- Documentation/html/search/classes_2.js | 3 +- Documentation/html/search/classes_4.js | 3 +- Documentation/html/search/classes_5.js | 2 +- Documentation/html/search/classes_6.js | 4 + Documentation/html/search/classes_7.js | 4 + Documentation/html/search/functions_0.js | 5 +- Documentation/html/search/functions_1.js | 8 +- Documentation/html/search/functions_2.js | 9 +- Documentation/html/search/functions_3.js | 6 +- Documentation/html/search/functions_4.js | 2 +- Documentation/html/search/functions_5.js | 6 +- Documentation/html/search/functions_6.js | 2 +- Documentation/html/search/functions_7.js | 7 +- Documentation/html/search/functions_8.js | 6 +- Documentation/html/search/functions_9.js | 3 +- Documentation/html/search/functions_a.js | 9 +- Documentation/html/search/namespaces_0.js | 4 +- Documentation/html/search/properties_1.js | 3 +- Documentation/html/search/properties_5.js | 9 +- Documentation/html/search/properties_7.js | 3 +- Documentation/html/search/properties_8.js | 4 + Documentation/html/search/searchdata.js | 10 +- Documentation/html/search/variables_1.js | 3 +- Documentation/html/search/variables_2.js | 4 +- Documentation/html/search/variables_5.js | 7 +- Documentation/html/search/variables_6.js | 6 +- Documentation/html/search/variables_7.js | 3 +- Documentation/html/search/variables_8.js | 5 +- Documentation/html/search/variables_9.js | 10 + Documentation/html/search/variables_9.js.meta | 7 + Documentation/html/search/variables_a.js | 5 + Documentation/html/search/variables_a.js.meta | 7 + Documentation/html/search/variables_b.js | 4 + Documentation/html/search/variables_b.js.meta | 7 + Documentation/html/search/variables_c.js | 4 + Documentation/html/search/variables_c.js.meta | 7 + Documentation/html/search/variables_d.js | 6 + DoxyWarnLogfile.txt | 25 + DoxyWarnLogfile.txt.meta | 7 + Runtime/Scripts/Core/Cluster.cs | 5 + Runtime/Scripts/Core/Neuron.cs | 5 +- .../ScriptableObjects/ClusterPrefab.cs | 5 +- .../Braitenberg/Brains/Braitenberg 4a.asset | 2 +- Samples/Braitenberg/Braitenberg.unity | 2798 ++++++++++++++++- Samples/Braitenberg/Scripts/LightSensor.cs | 18 +- Samples/Braitenberg/Scripts/Motor.cs | 60 +- .../Scripts/NewMonoBehaviourScript.cs | 16 + .../Scripts/NewMonoBehaviourScript.cs.meta | 2 + Samples/Braitenberg/Scripts/Sensor.cs | 58 +- Samples/Braitenberg/Scripts/TouchSensor.cs | 26 +- Samples/Braitenberg/Scripts/Vehicle.cs | 33 +- html.meta | 8 + html/rtf.meta | 8 + html/search.meta | 8 + 144 files changed, 8377 insertions(+), 1547 deletions(-) create mode 100644 Documentation/html/class_nano_brain_1_1_braitenberg_1_1_light_sensor-members.html create mode 100644 Documentation/html/class_nano_brain_1_1_braitenberg_1_1_light_sensor-members.html.meta create mode 100644 Documentation/html/class_nano_brain_1_1_braitenberg_1_1_light_sensor.html create mode 100644 Documentation/html/class_nano_brain_1_1_braitenberg_1_1_light_sensor.html.meta create mode 100644 Documentation/html/class_nano_brain_1_1_braitenberg_1_1_light_sensor.png create mode 100644 Documentation/html/class_nano_brain_1_1_braitenberg_1_1_light_sensor.png.meta create mode 100644 Documentation/html/class_nano_brain_1_1_braitenberg_1_1_sensor-members.html create mode 100644 Documentation/html/class_nano_brain_1_1_braitenberg_1_1_sensor-members.html.meta create mode 100644 Documentation/html/class_nano_brain_1_1_braitenberg_1_1_sensor.html create mode 100644 Documentation/html/class_nano_brain_1_1_braitenberg_1_1_sensor.html.meta create mode 100644 Documentation/html/class_nano_brain_1_1_braitenberg_1_1_sensor.png create mode 100644 Documentation/html/class_nano_brain_1_1_braitenberg_1_1_sensor.png.meta create mode 100644 Documentation/html/class_nano_brain_1_1_unity_1_1_braitenberg_1_1_light_sensor-members.html create mode 100644 Documentation/html/class_nano_brain_1_1_unity_1_1_braitenberg_1_1_light_sensor-members.html.meta create mode 100644 Documentation/html/class_nano_brain_1_1_unity_1_1_braitenberg_1_1_light_sensor.html create mode 100644 Documentation/html/class_nano_brain_1_1_unity_1_1_braitenberg_1_1_light_sensor.html.meta create mode 100644 Documentation/html/class_nano_brain_1_1_unity_1_1_braitenberg_1_1_light_sensor.png create mode 100644 Documentation/html/class_nano_brain_1_1_unity_1_1_braitenberg_1_1_light_sensor.png.meta create mode 100644 Documentation/html/class_nano_brain_1_1_unity_1_1_braitenberg_1_1_motor-members.html create mode 100644 Documentation/html/class_nano_brain_1_1_unity_1_1_braitenberg_1_1_motor-members.html.meta create mode 100644 Documentation/html/class_nano_brain_1_1_unity_1_1_braitenberg_1_1_motor.html create mode 100644 Documentation/html/class_nano_brain_1_1_unity_1_1_braitenberg_1_1_motor.html.meta create mode 100644 Documentation/html/class_nano_brain_1_1_unity_1_1_braitenberg_1_1_sensor-members.html create mode 100644 Documentation/html/class_nano_brain_1_1_unity_1_1_braitenberg_1_1_sensor-members.html.meta create mode 100644 Documentation/html/class_nano_brain_1_1_unity_1_1_braitenberg_1_1_sensor.html create mode 100644 Documentation/html/class_nano_brain_1_1_unity_1_1_braitenberg_1_1_sensor.html.meta create mode 100644 Documentation/html/class_nano_brain_1_1_unity_1_1_braitenberg_1_1_sensor.png create mode 100644 Documentation/html/class_nano_brain_1_1_unity_1_1_braitenberg_1_1_sensor.png.meta create mode 100644 Documentation/html/class_nano_brain_1_1_unity_1_1_braitenberg_1_1_touch_sensor-members.html create mode 100644 Documentation/html/class_nano_brain_1_1_unity_1_1_braitenberg_1_1_touch_sensor.html create mode 100644 Documentation/html/class_nano_brain_1_1_unity_1_1_braitenberg_1_1_touch_sensor.png create mode 100644 Documentation/html/class_nano_brain_1_1_unity_1_1_braitenberg_1_1_vehicle-members.html create mode 100644 Documentation/html/class_nano_brain_1_1_unity_1_1_braitenberg_1_1_vehicle-members.html.meta create mode 100644 Documentation/html/class_nano_brain_1_1_unity_1_1_braitenberg_1_1_vehicle.html create mode 100644 Documentation/html/class_nano_brain_1_1_unity_1_1_braitenberg_1_1_vehicle.html.meta create mode 100644 Documentation/html/dir_6902d065a4bcc42dfdaacd21d5856271.html create mode 100644 Documentation/html/dir_6902d065a4bcc42dfdaacd21d5856271.html.meta create mode 100644 Documentation/html/dir_808dff6625150393f03ff62cbe95dc03.html create mode 100644 Documentation/html/dir_808dff6625150393f03ff62cbe95dc03.html.meta create mode 100644 Documentation/html/namespace_nano_brain_1_1_braitenberg.html create mode 100644 Documentation/html/namespace_nano_brain_1_1_braitenberg.html.meta create mode 100644 Documentation/html/namespace_nano_brain_1_1_unity_1_1_braitenberg.html create mode 100644 Documentation/html/namespace_nano_brain_1_1_unity_1_1_braitenberg.html.meta create mode 100644 Documentation/html/rtf/class_nano_brain_1_1_braitenberg_1_1_light_sensor.png create mode 100644 Documentation/html/rtf/class_nano_brain_1_1_braitenberg_1_1_light_sensor.png.meta create mode 100644 Documentation/html/rtf/class_nano_brain_1_1_braitenberg_1_1_sensor.png create mode 100644 Documentation/html/rtf/class_nano_brain_1_1_braitenberg_1_1_sensor.png.meta create mode 100644 Documentation/html/rtf/class_nano_brain_1_1_unity_1_1_braitenberg_1_1_light_sensor.png create mode 100644 Documentation/html/rtf/class_nano_brain_1_1_unity_1_1_braitenberg_1_1_light_sensor.png.meta create mode 100644 Documentation/html/rtf/class_nano_brain_1_1_unity_1_1_braitenberg_1_1_sensor.png create mode 100644 Documentation/html/rtf/class_nano_brain_1_1_unity_1_1_braitenberg_1_1_sensor.png.meta create mode 100644 Documentation/html/rtf/class_nano_brain_1_1_unity_1_1_braitenberg_1_1_touch_sensor.png create mode 100644 Documentation/html/search/classes_6.js create mode 100644 Documentation/html/search/classes_7.js create mode 100644 Documentation/html/search/properties_8.js create mode 100644 Documentation/html/search/variables_9.js create mode 100644 Documentation/html/search/variables_9.js.meta create mode 100644 Documentation/html/search/variables_a.js create mode 100644 Documentation/html/search/variables_a.js.meta create mode 100644 Documentation/html/search/variables_b.js create mode 100644 Documentation/html/search/variables_b.js.meta create mode 100644 Documentation/html/search/variables_c.js create mode 100644 Documentation/html/search/variables_c.js.meta create mode 100644 Documentation/html/search/variables_d.js create mode 100644 DoxyWarnLogfile.txt create mode 100644 DoxyWarnLogfile.txt.meta create mode 100644 Samples/Braitenberg/Scripts/NewMonoBehaviourScript.cs create mode 100644 Samples/Braitenberg/Scripts/NewMonoBehaviourScript.cs.meta create mode 100644 html.meta create mode 100644 html/rtf.meta create mode 100644 html/search.meta diff --git a/Documentation/html/annotated.html b/Documentation/html/annotated.html index 4a9ea0d..00b5b79 100644 --- a/Documentation/html/annotated.html +++ b/Documentation/html/annotated.html @@ -75,15 +75,19 @@ $(function() {
Here are the classes, structs, unions and interfaces with brief descriptions:
-
[detail level 123]
+
[detail level 1234]
- - - - - - + + + + + + + + + +
 NNanoBrainThe Nanobrain namespace
 NUnity
 CBrainA NanoBrain which can be used to control a gameobject
 CClusterPrefabThe Unity ScriptableObject to implement re-usable Cluster Prefabs
 CClusterA Cluster combines a collection of Nuclei to implement reusable behaviour
 CMemoryCellA MemoryCell stored its value for one update
 CNeuronA neuron is a basic Nucleus
 CPresetsThe curve presets for the activation functions
 NBraitenberg
 CLightSensorA light sensor
 CMotorA powered wheel collider, controlled by a NanoBrain::Neuron
 CSensorA non-directional sensor
 CTouchSensorA sensor which can detect contacts with static GameObjects or Rigidbodies
 CVehicleA Braitenberg style vehicle with two sensors and two motors, powered by a Nanobrain
 CClusterPrefabThe Unity ScriptableObject to implement re-usable Cluster Prefabs
 CClusterA Cluster combines a collection of Nuclei to implement reusable behaviour
 CMemoryCellA MemoryCell stored its value for one update
 CNeuronA neuron is a basic Nucleus
 CNucleusA Nucleus is a basic element in a brain cluster
 CSynapseA Synapse connects the ouput of a Neuron to another Neuron
diff --git a/Documentation/html/class_nano_brain_1_1_braitenberg_1_1_light_sensor-members.html b/Documentation/html/class_nano_brain_1_1_braitenberg_1_1_light_sensor-members.html new file mode 100644 index 0000000..ddde3ad --- /dev/null +++ b/Documentation/html/class_nano_brain_1_1_braitenberg_1_1_light_sensor-members.html @@ -0,0 +1,103 @@ + + + + + + + +Nano Brain for Unity: Member List + + + + + + + + + + +
+
+ + + + + + + +
+
Nano Brain for Unity v0.1 +
+
+
+ + + + + + + + +
+
+ + +
+
+
+
+
+
Loading...
+
Searching...
+
No Matches
+
+
+
+
+ + +
+
+
LightSensor Member List
+
+
+ +

This is the complete list of members for LightSensor, including all inherited members.

+ + + + + + + + + + + + + + +
_output (defined in Sensor)Sensor
Awake() (defined in Sensor)Sensorprotectedvirtual
brain (defined in Sensor)Sensorprotected
multiplier (defined in LightSensor)LightSensor
outputSensor
sampleInterval (defined in Sensor)Sensor
SampleSensor() (defined in LightSensor)LightSensorprotectedvirtual
senseLayerSensor
sensitivityAngle (defined in LightSensor)LightSensor
sensorRangeSensor
sensoryNeuron (defined in Sensor)Sensor
useOcclusion (defined in LightSensor)LightSensor
vehicle (defined in Sensor)Sensorprotected
+ + + + diff --git a/Documentation/html/class_nano_brain_1_1_braitenberg_1_1_light_sensor-members.html.meta b/Documentation/html/class_nano_brain_1_1_braitenberg_1_1_light_sensor-members.html.meta new file mode 100644 index 0000000..82b55d9 --- /dev/null +++ b/Documentation/html/class_nano_brain_1_1_braitenberg_1_1_light_sensor-members.html.meta @@ -0,0 +1,7 @@ +fileFormatVersion: 2 +guid: cfad91a8e096a9c928ce2e7215d18178 +TextScriptImporter: + externalObjects: {} + userData: + assetBundleName: + assetBundleVariant: diff --git a/Documentation/html/class_nano_brain_1_1_braitenberg_1_1_light_sensor.html b/Documentation/html/class_nano_brain_1_1_braitenberg_1_1_light_sensor.html new file mode 100644 index 0000000..2fc5343 --- /dev/null +++ b/Documentation/html/class_nano_brain_1_1_braitenberg_1_1_light_sensor.html @@ -0,0 +1,211 @@ + + + + + + + +Nano Brain for Unity: LightSensor Class Reference + + + + + + + + + + +
+
+ + + + + + + +
+
Nano Brain for Unity v0.1 +
+
+
+ + + + + + + + +
+
+ + +
+
+
+
+
+
Loading...
+
Searching...
+
No Matches
+
+
+
+
+ + +
+ +
+

Description

+

A light sensor.

+
+Inheritance diagram for LightSensor:
+
+
+ + +Sensor + +
+ + + + + + + + + + + + + + + + + + + + +

+Public Attributes

+bool useOcclusion = true
 
+float sensitivityAngle = 180f
 
+float multiplier = 1f
 
+float sensorRange = 10f
 Maximum distance the sensor detects anything.
 
+float sampleInterval = 0.1f
 
LayerMask senseLayer
 Unity Layer for the light objects.
 
+float _output
 
+Neuron sensoryNeuron
 
+ + + + + +

+Protected Member Functions

override float SampleSensor ()
 
+virtual void Awake ()
 
+ + + + + +

+Protected Attributes

+Vehicle vehicle
 
+Cluster brain
 
+ + + + +

+Properties

+float output [get]
 Output value of the sensor.
 
+

Member Function Documentation

+ +

◆ SampleSensor()

+ +
+
+ + + + + +
+ + + + + + + +
override float SampleSensor ()
+
+protectedvirtual
+
+ +

Reimplemented from Sensor.

+ +
+
+

Member Data Documentation

+ +

◆ senseLayer

+ +
+
+ + + + + +
+ + + + +
LayerMask senseLayer
+
+inherited
+
+ +

Unity Layer for the light objects.

+

This is used to improve performance

+ +
+
+
+ + + + diff --git a/Documentation/html/class_nano_brain_1_1_braitenberg_1_1_light_sensor.html.meta b/Documentation/html/class_nano_brain_1_1_braitenberg_1_1_light_sensor.html.meta new file mode 100644 index 0000000..902ffd4 --- /dev/null +++ b/Documentation/html/class_nano_brain_1_1_braitenberg_1_1_light_sensor.html.meta @@ -0,0 +1,7 @@ +fileFormatVersion: 2 +guid: 479f293c11a2f0c8ea54dbcbd35380bf +TextScriptImporter: + externalObjects: {} + userData: + assetBundleName: + assetBundleVariant: diff --git a/Documentation/html/class_nano_brain_1_1_braitenberg_1_1_light_sensor.png b/Documentation/html/class_nano_brain_1_1_braitenberg_1_1_light_sensor.png new file mode 100644 index 0000000000000000000000000000000000000000..b1d8f9403f0bde6cc5d293652ad1dddfb78be9fb GIT binary patch literal 452 zcmV;#0XzPQP)W7Dir#LVva2S`&=)l0h|NsB9NT2)w000SeQchC<|NsC0|NsC0Hv*f~0003` zNkl8lFKE$@a3H8@<@Ar=H+?|4)yd+5MYYD@aa`0l1xuT& zB6)mgJ@P&8+pU}=fAQH@HBMjo{hjr-B`EbJ$(D6~Nz%{qk))r^7h{a`0DwEZ0AM1M zeXrMC;bh;Yn<|{``}+DW9{~J;)Sv~;h5JCtOL6D?rET1I# zDZaX?JNCLs(hXXl87WQrc2n5Pw}nZTJ=C78sE(M&K$=$i_Rf(nSu$mTvX&h2M zzNX33y90&?z8oxVu8QRGo%OJfxS9OHXJRzIc3|u?o5}SxrLncFOHk^2c|P2SrsK2m uCFv2peD_b6B-O0{KS}cQ555pWn8y!-bU}FUwx&n`0000 + + + + + + +Nano Brain for Unity: Member List + + + + + + + + + + +
+
+ + + + + + + +
+
Nano Brain for Unity v0.1 +
+
+
+ + + + + + + + +
+
+ + +
+
+
+
+
+
Loading...
+
Searching...
+
No Matches
+
+
+
+
+ + +
+
+
Sensor Member List
+
+
+ +

This is the complete list of members for Sensor, including all inherited members.

+ + + + + + + + + + + +
_output (defined in Sensor)Sensor
Awake() (defined in Sensor)Sensorprotectedvirtual
brain (defined in Sensor)Sensorprotected
outputSensor
sampleInterval (defined in Sensor)Sensor
SampleSensor() (defined in Sensor)Sensorprotectedvirtual
senseLayerSensor
sensorRangeSensor
sensoryNeuron (defined in Sensor)Sensor
vehicle (defined in Sensor)Sensorprotected
+ + + + diff --git a/Documentation/html/class_nano_brain_1_1_braitenberg_1_1_sensor-members.html.meta b/Documentation/html/class_nano_brain_1_1_braitenberg_1_1_sensor-members.html.meta new file mode 100644 index 0000000..ca3f790 --- /dev/null +++ b/Documentation/html/class_nano_brain_1_1_braitenberg_1_1_sensor-members.html.meta @@ -0,0 +1,7 @@ +fileFormatVersion: 2 +guid: c55f4a038bf9e341999a77369247fa57 +TextScriptImporter: + externalObjects: {} + userData: + assetBundleName: + assetBundleVariant: diff --git a/Documentation/html/class_nano_brain_1_1_braitenberg_1_1_sensor.html b/Documentation/html/class_nano_brain_1_1_braitenberg_1_1_sensor.html new file mode 100644 index 0000000..c9985be --- /dev/null +++ b/Documentation/html/class_nano_brain_1_1_braitenberg_1_1_sensor.html @@ -0,0 +1,168 @@ + + + + + + + +Nano Brain for Unity: Sensor Class Reference + + + + + + + + + + +
+
+ + + + + + + +
+
Nano Brain for Unity v0.1 +
+
+
+ + + + + + + + +
+
+ + +
+
+
+
+
+
Loading...
+
Searching...
+
No Matches
+
+
+
+
+ + +
+ +
+

Description

+

A non-directional sensor.

+

The sensor has a field of view, but the signal returned does not include a direction

+
+Inheritance diagram for Sensor:
+
+
+ + +LightSensor + +
+ + + + + + + + + + + + + + +

+Public Attributes

+float sensorRange = 10f
 Maximum distance the sensor detects anything.
 
+float sampleInterval = 0.1f
 
LayerMask senseLayer
 Unity Layer for the light objects.
 
+float _output
 
+Neuron sensoryNeuron
 
+ + + + + +

+Protected Member Functions

+virtual void Awake ()
 
+virtual float SampleSensor ()
 
+ + + + + +

+Protected Attributes

+Vehicle vehicle
 
+Cluster brain
 
+ + + + +

+Properties

+float output [get]
 Output value of the sensor.
 
+

Member Data Documentation

+ +

◆ senseLayer

+ +
+
+ + + + +
LayerMask senseLayer
+
+ +

Unity Layer for the light objects.

+

This is used to improve performance

+ +
+
+
+ + + + diff --git a/Documentation/html/class_nano_brain_1_1_braitenberg_1_1_sensor.html.meta b/Documentation/html/class_nano_brain_1_1_braitenberg_1_1_sensor.html.meta new file mode 100644 index 0000000..7697a58 --- /dev/null +++ b/Documentation/html/class_nano_brain_1_1_braitenberg_1_1_sensor.html.meta @@ -0,0 +1,7 @@ +fileFormatVersion: 2 +guid: 5d166b26461f5928e8fb47c55d684725 +TextScriptImporter: + externalObjects: {} + userData: + assetBundleName: + assetBundleVariant: diff --git a/Documentation/html/class_nano_brain_1_1_braitenberg_1_1_sensor.png b/Documentation/html/class_nano_brain_1_1_braitenberg_1_1_sensor.png new file mode 100644 index 0000000000000000000000000000000000000000..0dbc4bb56a0b25d863c1867aef8a45845c5e166c GIT binary patch literal 461 zcmV;;0W$uHP)W7Dir#LVva2S`&=)l0h|NsB9NT2)w000SeQchC<|NsC0|NsC0Hv*f~00044 zNklG+OHNz&J}eX-3YeDS56@$yW2eW&G`Gkg2Z-ksyB{G7BW_Ue&>m5OSO&h2=qZwwYU zS4Hypu6m@tdwMCCq#u0tRVSw}KYv$!%M#@JO45_{{z{Uc<&z{oyDx+g<^cdBYydEk z$-ZryE1c}xbyJ12eSf~b%Lf3zVEF*R&+-9)pXCDpKg$OIewGga8km_4u$h?+03*q1 zEFVew$-YpX>V~i%Bssv-cOSPe{u&gv^6g=wahbZtXDme$cP00000NkvXXu0mjf DP}SnC literal 0 HcmV?d00001 diff --git a/Documentation/html/class_nano_brain_1_1_braitenberg_1_1_sensor.png.meta b/Documentation/html/class_nano_brain_1_1_braitenberg_1_1_sensor.png.meta new file mode 100644 index 0000000..f0cc25c --- /dev/null +++ b/Documentation/html/class_nano_brain_1_1_braitenberg_1_1_sensor.png.meta @@ -0,0 +1,117 @@ +fileFormatVersion: 2 +guid: 78dfd1381522e2ea596795755001de1a +TextureImporter: + internalIDToNameTable: [] + externalObjects: {} + serializedVersion: 13 + mipmaps: + mipMapMode: 0 + enableMipMap: 1 + sRGBTexture: 1 + linearTexture: 0 + fadeOut: 0 + borderMipMap: 0 + mipMapsPreserveCoverage: 0 + alphaTestReferenceValue: 0.5 + mipMapFadeDistanceStart: 1 + mipMapFadeDistanceEnd: 3 + bumpmap: + convertToNormalMap: 0 + externalNormalMap: 0 + heightScale: 0.25 + normalMapFilter: 0 + flipGreenChannel: 0 + isReadable: 0 + streamingMipmaps: 0 + streamingMipmapsPriority: 0 + vTOnly: 0 + ignoreMipmapLimit: 0 + grayScaleToAlpha: 0 + generateCubemap: 6 + cubemapConvolution: 0 + seamlessCubemap: 0 + textureFormat: 1 + maxTextureSize: 2048 + textureSettings: + serializedVersion: 2 + filterMode: 1 + aniso: 1 + mipBias: 0 + wrapU: 0 + wrapV: 0 + wrapW: 0 + nPOTScale: 1 + lightmap: 0 + compressionQuality: 50 + spriteMode: 0 + spriteExtrude: 1 + spriteMeshType: 1 + alignment: 0 + spritePivot: {x: 0.5, y: 0.5} + spritePixelsToUnits: 100 + spriteBorder: {x: 0, y: 0, z: 0, w: 0} + spriteGenerateFallbackPhysicsShape: 1 + alphaUsage: 1 + alphaIsTransparency: 0 + spriteTessellationDetail: -1 + textureType: 0 + textureShape: 1 + singleChannelComponent: 0 + flipbookRows: 1 + flipbookColumns: 1 + maxTextureSizeSet: 0 + compressionQualitySet: 0 + textureFormatSet: 0 + ignorePngGamma: 0 + applyGammaDecoding: 0 + swizzle: 50462976 + cookieLightType: 0 + platformSettings: + - serializedVersion: 4 + buildTarget: DefaultTexturePlatform + maxTextureSize: 2048 + resizeAlgorithm: 0 + textureFormat: -1 + textureCompression: 1 + compressionQuality: 50 + crunchedCompression: 0 + allowsAlphaSplitting: 0 + overridden: 0 + ignorePlatformSupport: 0 + androidETC2FallbackOverride: 0 + forceMaximumCompressionQuality_BC6H_BC7: 0 + - serializedVersion: 4 + buildTarget: Standalone + maxTextureSize: 2048 + resizeAlgorithm: 0 + textureFormat: -1 + textureCompression: 1 + compressionQuality: 50 + crunchedCompression: 0 + allowsAlphaSplitting: 0 + overridden: 0 + ignorePlatformSupport: 0 + androidETC2FallbackOverride: 0 + forceMaximumCompressionQuality_BC6H_BC7: 0 + spriteSheet: + serializedVersion: 2 + sprites: [] + outline: [] + customData: + physicsShape: [] + bones: [] + spriteID: + internalID: 0 + vertices: [] + indices: + edges: [] + weights: [] + secondaryTextures: [] + spriteCustomMetadata: + entries: [] + nameFileIdTable: {} + mipmapLimitGroupName: + pSDRemoveMatte: 0 + userData: + assetBundleName: + assetBundleVariant: diff --git a/Documentation/html/class_nano_brain_1_1_cluster-members.html b/Documentation/html/class_nano_brain_1_1_cluster-members.html index 7f0c43a..4423c85 100644 --- a/Documentation/html/class_nano_brain_1_1_cluster-members.html +++ b/Documentation/html/class_nano_brain_1_1_cluster-members.html @@ -85,35 +85,37 @@ $(function() { AddInstance()Cluster AddInstance(ClusterPrefab prefab)Cluster baseNameCluster - Cluster(ClusterPrefab prefab, Cluster parent)Cluster - Cluster(ClusterPrefab prefab, ClusterPrefab parent=null)Cluster - CollectReceivers(bool removeDuplicates=false)Clustervirtual - CollectSynapsesTo(Cluster otherCluster)Cluster - computeOrdersCluster - defaultOutputCluster - DeleteNucleus(Nucleus nucleus)Cluster + Cluster() (defined in Cluster)Cluster + Cluster(ClusterPrefab prefab, Cluster parent)Cluster + Cluster(ClusterPrefab prefab, ClusterPrefab parent=null)Cluster + CollectReceivers(bool removeDuplicates=false)Clustervirtual + CollectSynapsesTo(Cluster otherCluster)Cluster + computeOrdersCluster + defaultOutputCluster + DeleteNucleus(Nucleus nucleus)Cluster + GetCluster(string clusterName)Cluster GetNeuron(string neuronName)Cluster GetNeuron(int thingId, string neuronName, string thingName=null)Cluster - GetNucleus(string nucleusName)Cluster - GetNucleusIndex(List< Nucleus > nuclei, Nucleus nucleus)Clusterstatic - GetNucleusIndex(List< Nucleus > nuclei, string nucleusName)Clusterstatic - instanceCountCluster - instancesCluster - nameNucleus - nucleiCluster - outputsCluster - parentNucleus - prefabCluster - Refresh()Cluster - RefreshComputeOrders()Cluster - RefreshOutputs()Cluster - RemoveInstance()Cluster - ShallowCloneTo(Cluster parent)Cluster - thingClustersCluster - TryGetNucleus(string nucleusName, out Nucleus foundNucleus)Cluster - Type enum nameNucleus - UpdateFromNucleus(Nucleus startNucleus)Cluster - UpdateStateIsolated()Cluster + GetNucleusIndex(List< Nucleus > nuclei, Nucleus nucleus)Clusterstatic + GetNucleusIndex(List< Nucleus > nuclei, string nucleusName)Clusterstatic + instanceCountCluster + instancesCluster + nameNucleus + nucleiCluster + outputsCluster + parentNucleus + prefabCluster + Refresh()Cluster + RefreshComputeOrders()Cluster + RefreshOutputs()Cluster + RemoveInstance()Cluster + ShallowCloneTo(Cluster parent)Cluster + thingClustersCluster + TryGetNucleus(string nucleusName, out Nucleus foundNucleus)Cluster + Type enum nameNucleus + UpdateFromNucleus(Nucleus startNucleus)Cluster + UpdateStateIsolated()Cluster + versionCluster
- - -

◆ GetNucleus()

- -
-
- - - - - - - - -
Nucleus GetNucleus (string nucleusName)
-
- -

Get a nucleus in this cluster.

-
Parameters
- - -
nucleusNameThe name of the nucleus to find
-
-
-
Returns
The found nucleus or null when it is not found
-
@@ -561,6 +537,33 @@ virtual Neuron 
Returns
The found neuron or null when it is not found
+ + + +

◆ GetCluster()

+ +
+
+ + + + + + + + +
Cluster GetCluster (string clusterName)
+
+ +

Get a subcluster in this cluster.

+
Parameters
+ + +
clusterNameThe name of the cluster to find
+
+
+
Returns
The found cluster or null when it is not found
+
@@ -779,6 +782,23 @@ virtual Neuron The prefab used to create this cluster.

Cluster should always be created from prefabs

+ + + +

◆ version

+ +
+
+ + + + +
int version
+
+ +

The version number of this cluster instance.

+

This is used to detect changes in the prefab which require this Cluster instance to be updated

+
diff --git a/Documentation/html/class_nano_brain_1_1_memory_cell-members.html b/Documentation/html/class_nano_brain_1_1_memory_cell-members.html index eceba19..67c406d 100644 --- a/Documentation/html/class_nano_brain_1_1_memory_cell-members.html +++ b/Documentation/html/class_nano_brain_1_1_memory_cell-members.html @@ -102,19 +102,17 @@ $(function() { AddReceiver(Nucleus receiverToAdd, float weight=1)Neuronvirtual AddSynapse(Neuron sendingNucleus, float weight=1)Neuron biasNeuron - CloneFields(Neuron clone)Neuronprotectedvirtual - Combinator(float3 bias, List< Synapse > synapses)Neuronprotected - Combinator(Vector3 bias, List< Synapse > synapses)Neuronprotected - combinatorNeuron - CombinatorProduct(float3 bias, List< Synapse > synapses)Neuronstatic - CombinatorProduct(Vector3 bias, List< Synapse > synapses)Neuronstatic - CombinatorSum(float3 bias, List< Synapse > synapses)Neuronstatic - CombinatorSum(Vector3 bias, List< Synapse > synapses)Neuronstatic - CombinatorType enum nameNeuron - curveNeuron - curveMaxNeuron - Delete(Nucleus nucleus)Neuronstatic - GenerateCurve()Neuron + breakOnUpdateNeuron + CloneFields(Neuron clone)Neuronprotectedvirtual + Combinator(float3 bias, List< Synapse > synapses)Neuronprotected + Combinator(Vector3 bias, List< Synapse > synapses)Neuronprotected + combinatorNeuron + CombinatorProduct(float3 bias, List< Synapse > synapses)Neuronstatic + CombinatorProduct(Vector3 bias, List< Synapse > synapses)Neuronstatic + CombinatorSum(float3 bias, List< Synapse > synapses)Neuronstatic + CombinatorSum(Vector3 bias, List< Synapse > synapses)Neuronstatic + CombinatorType enum nameNeuron + Delete(Nucleus nucleus)Neuronstatic GetSynapse(Nucleus sender)Neuron isFiringNeuron isSleepingNeuron @@ -136,7 +134,7 @@ $(function() { ShallowCloneTo(Cluster parent)MemoryCell SleepCheck()Neuron synapsesNeuron - timeToSleepNeuron + timeToSleepNeuronstatic Type enum nameNucleus UpdateStateIsolated()MemoryCell WhenFiringNeuron diff --git a/Documentation/html/class_nano_brain_1_1_memory_cell.html b/Documentation/html/class_nano_brain_1_1_memory_cell.html index 4069a31..d894ff5 100644 --- a/Documentation/html/class_nano_brain_1_1_memory_cell.html +++ b/Documentation/html/class_nano_brain_1_1_memory_cell.html @@ -80,6 +80,7 @@ $(function() { Public Member Functions | Static Public Member Functions | Public Attributes | +Static Public Attributes | Protected Member Functions | Protected Attributes | Properties | @@ -154,9 +155,6 @@ Public Member Functions virtual void SetBias (Vector3 inputValue)  Set the bias, recalculate the output and update all Nuclei receiving from this Nucleus.
  -AnimationCurve GenerateCurve () - Generate the curve for the current activation function.
-  void SleepCheck ()  Check if the neuron is sleeping.
  @@ -201,14 +199,6 @@ Public Attributes ActivationType _activator  The activation function.
  - -AnimationCurve curve - The curve representing the activation function.
-  - -float curveMax = 1.0f - The maximum value of the curve.
Action WhenFiring  An action which is called every time the neuron is updated and is firing.
@@ -221,10 +211,9 @@ bool persistOutput = f float lastUpdate = 0  The time at which the last update has been done.
  - -readonly float timeToSleep = 1f - Time in seconds after the last update the neuron can go to sleep.
-  +bool breakOnUpdate = false + When true, Unity will pause exection when this neuron is updated.
string name  The name of the Nucleus.
@@ -234,6 +223,13 @@ string name  The cluster instance in which the nucleus is located.
  + + + + +

+Static Public Attributes

+static readonly float timeToSleep = 0.5f
 Time in seconds after the last update the neuron can go to sleep.
 
@@ -600,34 +596,6 @@ virtual List< Nucleus< - - - -

◆ GenerateCurve()

- -
-
-

Protected Member Functions

virtual void CloneFields (Neuron clone)
- - - - -
- - - - - - - -
AnimationCurve GenerateCurve ()
-
-inherited
-
- -

Generate the curve for the current activation function.

-
Returns
The curve
-
@@ -1594,6 +1562,31 @@ virtual List< Nucleus<

The bias.

The bias which a value which is always added to the combined value of the neuron It does not have a synapse and therefore no weight of source nucleus

+ + +
+

◆ breakOnUpdate

+ +
+
+ + + + + +
+ + + + +
bool breakOnUpdate = false
+
+inherited
+
+ +

When true, Unity will pause exection when this neuron is updated.

+

Pausing is implemented using Debug.Break()

+
diff --git a/Documentation/html/class_nano_brain_1_1_neuron-members.html b/Documentation/html/class_nano_brain_1_1_neuron-members.html index 701cbcb..2890ba2 100644 --- a/Documentation/html/class_nano_brain_1_1_neuron-members.html +++ b/Documentation/html/class_nano_brain_1_1_neuron-members.html @@ -102,19 +102,17 @@ $(function() { AddReceiver(Nucleus receiverToAdd, float weight=1)Neuronvirtual AddSynapse(Neuron sendingNucleus, float weight=1)Neuron biasNeuron - CloneFields(Neuron clone)Neuronprotectedvirtual - combinatorNeuron - Combinator(float3 bias, List< Synapse > synapses)Neuronprotected - Combinator(Vector3 bias, List< Synapse > synapses)Neuronprotected - CombinatorProduct(float3 bias, List< Synapse > synapses)Neuronstatic - CombinatorProduct(Vector3 bias, List< Synapse > synapses)Neuronstatic - CombinatorSum(float3 bias, List< Synapse > synapses)Neuronstatic - CombinatorSum(Vector3 bias, List< Synapse > synapses)Neuronstatic - CombinatorType enum nameNeuron - curveNeuron - curveMaxNeuron - Delete(Nucleus nucleus)Neuronstatic - GenerateCurve()Neuron + breakOnUpdateNeuron + CloneFields(Neuron clone)Neuronprotectedvirtual + combinatorNeuron + Combinator(float3 bias, List< Synapse > synapses)Neuronprotected + Combinator(Vector3 bias, List< Synapse > synapses)Neuronprotected + CombinatorProduct(float3 bias, List< Synapse > synapses)Neuronstatic + CombinatorProduct(Vector3 bias, List< Synapse > synapses)Neuronstatic + CombinatorSum(float3 bias, List< Synapse > synapses)Neuronstatic + CombinatorSum(Vector3 bias, List< Synapse > synapses)Neuronstatic + CombinatorType enum nameNeuron + Delete(Nucleus nucleus)Neuronstatic GetSynapse(Nucleus sender)Neuron isFiringNeuron isSleepingNeuron @@ -135,7 +133,7 @@ $(function() { ShallowCloneTo(Cluster parent)Neuron SleepCheck()Neuron synapsesNeuron - timeToSleepNeuron + timeToSleepNeuronstatic Type enum nameNucleus UpdateStateIsolated()Neuron WhenFiringNeuron diff --git a/Documentation/html/class_nano_brain_1_1_neuron.html b/Documentation/html/class_nano_brain_1_1_neuron.html index 6af007b..0f64588 100644 --- a/Documentation/html/class_nano_brain_1_1_neuron.html +++ b/Documentation/html/class_nano_brain_1_1_neuron.html @@ -76,11 +76,11 @@ $(function() {
-Classes | Public Types | Public Member Functions | Static Public Member Functions | Public Attributes | +Static Public Attributes | Protected Member Functions | Protected Attributes | Properties | @@ -92,8 +92,8 @@ $(function() {

A neuron is a basic Nucleus.

A neuron combines the weighted input from other neurons and applies an activation function to it to compute the output value:

Vector3 combination = NanoBrain::Neuron::Combinator(bias, synapses);
Vector3 output = NanoBrain::Neuron::Activator(combination);
-
float3 Combinator(float3 bias, List< Synapse > synapses)
The combinator which combines the bias with the values from all synapses.
Definition Neuron.cs:463
-
float3 Activator(float3 inputValue)
Apply the activation function to the input.
Definition Neuron.cs:560
+
float3 Combinator(float3 bias, List< Synapse > synapses)
The combinator which combines the bias with the values from all synapses.
Definition Neuron.cs:341
+
float3 Activator(float3 inputValue)
Apply the activation function to the input.
Definition Neuron.cs:441

The synapses are connections to other neurons. Each connection has a weight which is used to multiply the output of that other neuron before it is used by the combinator.

Inheritance diagram for Neuron:
@@ -106,12 +106,6 @@ Inheritance diagram for Neuron:
- - - - -

-Classes

class  Presets
 The curve presets for the activation functions. More...
 
- - - @@ -211,14 +202,6 @@ Public AttributesActivationType  - - - - - - @@ -231,10 +214,9 @@ bool  - - - + + + @@ -244,6 +226,13 @@ string 

Public Types

enum  CombinatorType { Sum @@ -158,9 +152,6 @@ Public Member Functions
virtual void SetBias (Vector3 inputValue)
 Set the bias, recalculate the output and update all Nuclei receiving from this Nucleus.
 
AnimationCurve GenerateCurve ()
 Generate the curve for the current activation function.
 
void SleepCheck ()
 Check if the neuron is sleeping.
 
_activator
 The activation function.
 
-AnimationCurve curve
 The curve representing the activation function.
 
-float curveMax = 1.0f
 The maximum value of the curve.
 
Action WhenFiring
 An action which is called every time the neuron is updated and is firing.
persistOutput = f float lastUpdate = 0
 The time at which the last update has been done.
 
-readonly float timeToSleep = 1f
 Time in seconds after the last update the neuron can go to sleep.
 
bool breakOnUpdate = false
 When true, Unity will pause exection when this neuron is updated.
 
string name
 The name of the Nucleus.
name
 The cluster instance in which the nucleus is located.
 
+ + + + +

+Static Public Attributes

+static readonly float timeToSleep = 0.5f
 Time in seconds after the last update the neuron can go to sleep.
 
@@ -532,26 +521,6 @@ virtual List< Nucleus< - - - -

◆ GenerateCurve()

- -
-
-

Protected Member Functions

virtual void CloneFields (Neuron clone)
- - - - - - -
AnimationCurve GenerateCurve ()
-
- -

Generate the curve for the current activation function.

-
Returns
The curve
-
@@ -1548,6 +1517,23 @@ virtual List< Nucleus<

The bias.

The bias which a value which is always added to the combined value of the neuron It does not have a synapse and therefore no weight of source nucleus

+ + +
+

◆ breakOnUpdate

+ +
+
+ + + + +
bool breakOnUpdate = false
+
+ +

When true, Unity will pause exection when this neuron is updated.

+

Pausing is implemented using Debug.Break()

+
diff --git a/Documentation/html/class_nano_brain_1_1_unity_1_1_braitenberg_1_1_light_sensor-members.html b/Documentation/html/class_nano_brain_1_1_unity_1_1_braitenberg_1_1_light_sensor-members.html new file mode 100644 index 0000000..3bda7a5 --- /dev/null +++ b/Documentation/html/class_nano_brain_1_1_unity_1_1_braitenberg_1_1_light_sensor-members.html @@ -0,0 +1,99 @@ + + + + + + + +Nano Brain for Unity: Member List + + + + + + + + + + +
+
+ + + + + + + +
+
Nano Brain for Unity v0.1 +
+
+
+ + + + + + + + +
+
+ + +
+
+
+
+
+
Loading...
+
Searching...
+
No Matches
+
+
+
+
+ + +
+
+
LightSensor Member List
+
+
+ +

This is the complete list of members for LightSensor, including all inherited members.

+ + + + + + + + + + +
Awake()Sensorprotectedvirtual
outputSensor
sampleIntervalSensor
SampleSensor()LightSensorprotectedvirtual
senseLayerSensor
sensitivityAngleLightSensor
sensorRangeSensor
sensoryNeuronSensor
useOcclusionLightSensor
+ + + + diff --git a/Documentation/html/class_nano_brain_1_1_unity_1_1_braitenberg_1_1_light_sensor-members.html.meta b/Documentation/html/class_nano_brain_1_1_unity_1_1_braitenberg_1_1_light_sensor-members.html.meta new file mode 100644 index 0000000..1ce48fc --- /dev/null +++ b/Documentation/html/class_nano_brain_1_1_unity_1_1_braitenberg_1_1_light_sensor-members.html.meta @@ -0,0 +1,7 @@ +fileFormatVersion: 2 +guid: a70307dcf2fb39216ba86ee875ec2474 +TextScriptImporter: + externalObjects: {} + userData: + assetBundleName: + assetBundleVariant: diff --git a/Documentation/html/class_nano_brain_1_1_unity_1_1_braitenberg_1_1_light_sensor.html b/Documentation/html/class_nano_brain_1_1_unity_1_1_braitenberg_1_1_light_sensor.html new file mode 100644 index 0000000..f3b8e02 --- /dev/null +++ b/Documentation/html/class_nano_brain_1_1_unity_1_1_braitenberg_1_1_light_sensor.html @@ -0,0 +1,204 @@ + + + + + + + +Nano Brain for Unity: LightSensor Class Reference + + + + + + + + + + +
+
+ + + + + + + +
+
Nano Brain for Unity v0.1 +
+
+
+ + + + + + + + +
+
+ + +
+
+
+
+
+
Loading...
+
Searching...
+
No Matches
+
+
+
+
+ + +
+
+ +
LightSensor Class Reference
+
+
+

Description

+

A light sensor.

+
+Inheritance diagram for LightSensor:
+
+
+ + +Sensor + +
+ + + + + + + + + + + + + + + + + + + + +

+Public Attributes

+bool useOcclusion = true
 If true, perform occlusion checks with raycasts.
 
+float sensitivityAngle = 180f
 Angle in degrees for directional sensitivity; >= 180: omnidirectional.
 
+float sensorRange = 10f
 Maximum distance the sensor detects anything.
 
+float sampleInterval = 0.1f
 Time between samples in seconds.
 
LayerMask senseLayer
 Unity Layer for the light objects.
 
+Neuron sensoryNeuron
 The NanoBrain::Neuron which is stimulated by this sensor.
 
+ + + + + + + +

+Protected Member Functions

override float SampleSensor ()
 Performs a sampling function to retrieve a new sensor output value.
 
+virtual void Awake ()
 Unity calls Awake when loading an instance of a script component.
 
+ + + + +

+Properties

+float output [get, protected set]
 Output value of the sensor.
 
+

Member Function Documentation

+ +

◆ SampleSensor()

+ +
+
+ + + + + +
+ + + + + + + +
override float SampleSensor ()
+
+protectedvirtual
+
+ +

Performs a sampling function to retrieve a new sensor output value.

+
Returns
Sensor output value
+ +

Reimplemented from Sensor.

+ +
+
+

Member Data Documentation

+ +

◆ senseLayer

+ +
+
+ + + + + +
+ + + + +
LayerMask senseLayer
+
+inherited
+
+ +

Unity Layer for the light objects.

+

This is used to improve performance

+ +
+
+
+ + + + diff --git a/Documentation/html/class_nano_brain_1_1_unity_1_1_braitenberg_1_1_light_sensor.html.meta b/Documentation/html/class_nano_brain_1_1_unity_1_1_braitenberg_1_1_light_sensor.html.meta new file mode 100644 index 0000000..f78b35f --- /dev/null +++ b/Documentation/html/class_nano_brain_1_1_unity_1_1_braitenberg_1_1_light_sensor.html.meta @@ -0,0 +1,7 @@ +fileFormatVersion: 2 +guid: 525ddfb02b978148db0e11e3e51a07f6 +TextScriptImporter: + externalObjects: {} + userData: + assetBundleName: + assetBundleVariant: diff --git a/Documentation/html/class_nano_brain_1_1_unity_1_1_braitenberg_1_1_light_sensor.png b/Documentation/html/class_nano_brain_1_1_unity_1_1_braitenberg_1_1_light_sensor.png new file mode 100644 index 0000000000000000000000000000000000000000..b1d8f9403f0bde6cc5d293652ad1dddfb78be9fb GIT binary patch literal 452 zcmV;#0XzPQP)W7Dir#LVva2S`&=)l0h|NsB9NT2)w000SeQchC<|NsC0|NsC0Hv*f~0003` zNkl8lFKE$@a3H8@<@Ar=H+?|4)yd+5MYYD@aa`0l1xuT& zB6)mgJ@P&8+pU}=fAQH@HBMjo{hjr-B`EbJ$(D6~Nz%{qk))r^7h{a`0DwEZ0AM1M zeXrMC;bh;Yn<|{``}+DW9{~J;)Sv~;h5JCtOL6D?rET1I# zDZaX?JNCLs(hXXl87WQrc2n5Pw}nZTJ=C78sE(M&K$=$i_Rf(nSu$mTvX&h2M zzNX33y90&?z8oxVu8QRGo%OJfxS9OHXJRzIc3|u?o5}SxrLncFOHk^2c|P2SrsK2m uCFv2peD_b6B-O0{KS}cQ555pWn8y!-bU}FUwx&n`0000 + + + + + + +Nano Brain for Unity: Member List + + + + + + + + + + +
+
+ + + + + + + +
+
Nano Brain for Unity v0.1 +
+
+
+ + + + + + + + +
+
+ + +
+
+
+
+
+
Loading...
+
Searching...
+
No Matches
+
+
+
+
+ + +
+
+
Motor Member List
+
+
+ +

This is the complete list of members for Motor, including all inherited members.

+ + + + + + + +
Awake()Motorprotectedvirtual
maxTorqueMotor
motorNeuronMotor
outputNeuronNameMotor
speedMotor
wheelColliderMotor
+ + + + diff --git a/Documentation/html/class_nano_brain_1_1_unity_1_1_braitenberg_1_1_motor-members.html.meta b/Documentation/html/class_nano_brain_1_1_unity_1_1_braitenberg_1_1_motor-members.html.meta new file mode 100644 index 0000000..e425577 --- /dev/null +++ b/Documentation/html/class_nano_brain_1_1_unity_1_1_braitenberg_1_1_motor-members.html.meta @@ -0,0 +1,7 @@ +fileFormatVersion: 2 +guid: 850377fe98d6e89989894d97e5e3f0a7 +TextScriptImporter: + externalObjects: {} + userData: + assetBundleName: + assetBundleVariant: diff --git a/Documentation/html/class_nano_brain_1_1_unity_1_1_braitenberg_1_1_motor.html b/Documentation/html/class_nano_brain_1_1_unity_1_1_braitenberg_1_1_motor.html new file mode 100644 index 0000000..6083f7b --- /dev/null +++ b/Documentation/html/class_nano_brain_1_1_unity_1_1_braitenberg_1_1_motor.html @@ -0,0 +1,163 @@ + + + + + + + +Nano Brain for Unity: Motor Class Reference + + + + + + + + + + +
+
+ + + + + + + +
+
Nano Brain for Unity v0.1 +
+
+
+ + + + + + + + +
+
+ + +
+
+
+
+
+
Loading...
+
Searching...
+
No Matches
+
+
+
+
+ + +
+ +
+

Description

+

A powered wheel collider, controlled by a NanoBrain::Neuron.

+
+

Inherits MonoBehaviour.

+ + + + + + + + + + + + + + +

+Public Attributes

string outputNeuronName
 The name of the NanoBrain::Neuron to control this wheel.
 
+float maxTorque = 1
 The maximum torque used to drive the wheel collider.
 
WheelCollider wheelCollider
 The wheel collider used to drive the car.
 
+Neuron motorNeuron
 The NanoBrain::Neuron to control this wheel.
 
+ + + + +

+Protected Member Functions

+virtual void Awake ()
 Unity calls Awake when loading an instance of a script component.
 
+ + + + +

+Properties

+float speed [get, protected set]
 The speed of the motor in rotations per second.
 
+

Member Data Documentation

+ +

◆ outputNeuronName

+ +
+
+ + + + +
string outputNeuronName
+
+ +

The name of the NanoBrain::Neuron to control this wheel.

+

This is used to connect the motor to the right output neuron of the Vehicle::brain

+ +
+
+ +

◆ wheelCollider

+ +
+
+ + + + +
WheelCollider wheelCollider
+
+ +

The wheel collider used to drive the car.

+
See also
Unity WheelCollider
+ +
+
+
+ + + + diff --git a/Documentation/html/class_nano_brain_1_1_unity_1_1_braitenberg_1_1_motor.html.meta b/Documentation/html/class_nano_brain_1_1_unity_1_1_braitenberg_1_1_motor.html.meta new file mode 100644 index 0000000..ede8294 --- /dev/null +++ b/Documentation/html/class_nano_brain_1_1_unity_1_1_braitenberg_1_1_motor.html.meta @@ -0,0 +1,7 @@ +fileFormatVersion: 2 +guid: 7b43cac2e86f4a6ca92ad6b17e293981 +TextScriptImporter: + externalObjects: {} + userData: + assetBundleName: + assetBundleVariant: diff --git a/Documentation/html/class_nano_brain_1_1_unity_1_1_braitenberg_1_1_sensor-members.html b/Documentation/html/class_nano_brain_1_1_unity_1_1_braitenberg_1_1_sensor-members.html new file mode 100644 index 0000000..02316a4 --- /dev/null +++ b/Documentation/html/class_nano_brain_1_1_unity_1_1_braitenberg_1_1_sensor-members.html @@ -0,0 +1,97 @@ + + + + + + + +Nano Brain for Unity: Member List + + + + + + + + + + +
+
+ + + + + + + +
+
Nano Brain for Unity v0.1 +
+
+
+ + + + + + + + +
+
+ + +
+
+
+
+
+
Loading...
+
Searching...
+
No Matches
+
+
+
+
+ + +
+
+
Sensor Member List
+
+
+ +

This is the complete list of members for Sensor, including all inherited members.

+ + + + + + + + +
Awake()Sensorprotectedvirtual
outputSensor
sampleIntervalSensor
SampleSensor()Sensorprotectedvirtual
senseLayerSensor
sensorRangeSensor
sensoryNeuronSensor
+ + + + diff --git a/Documentation/html/class_nano_brain_1_1_unity_1_1_braitenberg_1_1_sensor-members.html.meta b/Documentation/html/class_nano_brain_1_1_unity_1_1_braitenberg_1_1_sensor-members.html.meta new file mode 100644 index 0000000..91aa3f0 --- /dev/null +++ b/Documentation/html/class_nano_brain_1_1_unity_1_1_braitenberg_1_1_sensor-members.html.meta @@ -0,0 +1,7 @@ +fileFormatVersion: 2 +guid: 404be041e96da404eaeca1d8907d59b2 +TextScriptImporter: + externalObjects: {} + userData: + assetBundleName: + assetBundleVariant: diff --git a/Documentation/html/class_nano_brain_1_1_unity_1_1_braitenberg_1_1_sensor.html b/Documentation/html/class_nano_brain_1_1_unity_1_1_braitenberg_1_1_sensor.html new file mode 100644 index 0000000..ba8e5e3 --- /dev/null +++ b/Documentation/html/class_nano_brain_1_1_unity_1_1_braitenberg_1_1_sensor.html @@ -0,0 +1,190 @@ + + + + + + + +Nano Brain for Unity: Sensor Class Reference + + + + + + + + + + +
+
+ + + + + + + +
+
Nano Brain for Unity v0.1 +
+
+
+ + + + + + + + +
+
+ + +
+
+
+
+
+
Loading...
+
Searching...
+
No Matches
+
+
+
+
+ + +
+ +
+

Description

+

A non-directional sensor.

+

The sensor has a field of view, but the signal returned does not include a direction

+
+Inheritance diagram for Sensor:
+
+
+ + +LightSensor +TouchSensor + +
+ + + + + + + + + + + + + + +

+Public Attributes

+float sensorRange = 10f
 Maximum distance the sensor detects anything.
 
+float sampleInterval = 0.1f
 Time between samples in seconds.
 
LayerMask senseLayer
 Unity Layer for the light objects.
 
+Neuron sensoryNeuron
 The NanoBrain::Neuron which is stimulated by this sensor.
 
+ + + + + + + +

+Protected Member Functions

+virtual void Awake ()
 Unity calls Awake when loading an instance of a script component.
 
virtual float SampleSensor ()
 Performs a sampling function to retrieve a new sensor output value.
 
+ + + + +

+Properties

+float output [get, protected set]
 Output value of the sensor.
 
+

Member Function Documentation

+ +

◆ SampleSensor()

+ +
+
+ + + + + +
+ + + + + + + +
virtual float SampleSensor ()
+
+protectedvirtual
+
+ +

Performs a sampling function to retrieve a new sensor output value.

+
Returns
Sensor output value
+ +

Reimplemented in LightSensor, and TouchSensor.

+ +
+
+

Member Data Documentation

+ +

◆ senseLayer

+ +
+
+ + + + +
LayerMask senseLayer
+
+ +

Unity Layer for the light objects.

+

This is used to improve performance

+ +
+
+
+ + + + diff --git a/Documentation/html/class_nano_brain_1_1_unity_1_1_braitenberg_1_1_sensor.html.meta b/Documentation/html/class_nano_brain_1_1_unity_1_1_braitenberg_1_1_sensor.html.meta new file mode 100644 index 0000000..0ca40d7 --- /dev/null +++ b/Documentation/html/class_nano_brain_1_1_unity_1_1_braitenberg_1_1_sensor.html.meta @@ -0,0 +1,7 @@ +fileFormatVersion: 2 +guid: be8ea5a481932bc5e95e087083758228 +TextScriptImporter: + externalObjects: {} + userData: + assetBundleName: + assetBundleVariant: diff --git a/Documentation/html/class_nano_brain_1_1_unity_1_1_braitenberg_1_1_sensor.png b/Documentation/html/class_nano_brain_1_1_unity_1_1_braitenberg_1_1_sensor.png new file mode 100644 index 0000000000000000000000000000000000000000..8d0af325ff2db84739c06915663873f8f325773b GIT binary patch literal 650 zcmV;50(Jd~P)W7Dir#LVva2S`&=)l0h|NsB9NT2)w000SeQchC<|NsC0|NsC0Hv*f~0006N zNklrq@IQ(~N+B0lEkwgcATbmtbag zI4%xQ$HmQT3l|5dvnxKG4Q6I!K*~SBtNkb7|i^^I4dgRrwO};_~g{=^S5A zm3%*@Q^m}zhQB!h>bSU>ZQS%Mt+D-{db30Z+9fAiPvT_f9f!=ReZmDUa`g`dlesNKI={un97ibd(`C7F#jyw zn{GCUuLGn9xeeEoWJi3~T}U%Ylgb;`=Itl1#n%DKOMjAm@u$nurP`43hIrAtIZ223 zQib`E74tt*yg5m$_?q-*i4GL+N%G4YuZll6yeVEL=uJ|JXOCz(RkD4WZ|-udqz&J4 z9Hw!KQ>A=aG$eWP=InXjNK(O7ul(mHFG*coCB8lwNqURR#3ku3xVR+MaB)d_xVR+M k7{z0Z@pv-v7-Kx1f7NPTfy-kIV*mgE07*qoM6N<$f;Htc?EnA( literal 0 HcmV?d00001 diff --git a/Documentation/html/class_nano_brain_1_1_unity_1_1_braitenberg_1_1_sensor.png.meta b/Documentation/html/class_nano_brain_1_1_unity_1_1_braitenberg_1_1_sensor.png.meta new file mode 100644 index 0000000..de60532 --- /dev/null +++ b/Documentation/html/class_nano_brain_1_1_unity_1_1_braitenberg_1_1_sensor.png.meta @@ -0,0 +1,117 @@ +fileFormatVersion: 2 +guid: 62ae8af123a6f12dabfc5b2d3c3d4e21 +TextureImporter: + internalIDToNameTable: [] + externalObjects: {} + serializedVersion: 13 + mipmaps: + mipMapMode: 0 + enableMipMap: 1 + sRGBTexture: 1 + linearTexture: 0 + fadeOut: 0 + borderMipMap: 0 + mipMapsPreserveCoverage: 0 + alphaTestReferenceValue: 0.5 + mipMapFadeDistanceStart: 1 + mipMapFadeDistanceEnd: 3 + bumpmap: + convertToNormalMap: 0 + externalNormalMap: 0 + heightScale: 0.25 + normalMapFilter: 0 + flipGreenChannel: 0 + isReadable: 0 + streamingMipmaps: 0 + streamingMipmapsPriority: 0 + vTOnly: 0 + ignoreMipmapLimit: 0 + grayScaleToAlpha: 0 + generateCubemap: 6 + cubemapConvolution: 0 + seamlessCubemap: 0 + textureFormat: 1 + maxTextureSize: 2048 + textureSettings: + serializedVersion: 2 + filterMode: 1 + aniso: 1 + mipBias: 0 + wrapU: 0 + wrapV: 0 + wrapW: 0 + nPOTScale: 1 + lightmap: 0 + compressionQuality: 50 + spriteMode: 0 + spriteExtrude: 1 + spriteMeshType: 1 + alignment: 0 + spritePivot: {x: 0.5, y: 0.5} + spritePixelsToUnits: 100 + spriteBorder: {x: 0, y: 0, z: 0, w: 0} + spriteGenerateFallbackPhysicsShape: 1 + alphaUsage: 1 + alphaIsTransparency: 0 + spriteTessellationDetail: -1 + textureType: 0 + textureShape: 1 + singleChannelComponent: 0 + flipbookRows: 1 + flipbookColumns: 1 + maxTextureSizeSet: 0 + compressionQualitySet: 0 + textureFormatSet: 0 + ignorePngGamma: 0 + applyGammaDecoding: 0 + swizzle: 50462976 + cookieLightType: 0 + platformSettings: + - serializedVersion: 4 + buildTarget: DefaultTexturePlatform + maxTextureSize: 2048 + resizeAlgorithm: 0 + textureFormat: -1 + textureCompression: 1 + compressionQuality: 50 + crunchedCompression: 0 + allowsAlphaSplitting: 0 + overridden: 0 + ignorePlatformSupport: 0 + androidETC2FallbackOverride: 0 + forceMaximumCompressionQuality_BC6H_BC7: 0 + - serializedVersion: 4 + buildTarget: Standalone + maxTextureSize: 2048 + resizeAlgorithm: 0 + textureFormat: -1 + textureCompression: 1 + compressionQuality: 50 + crunchedCompression: 0 + allowsAlphaSplitting: 0 + overridden: 0 + ignorePlatformSupport: 0 + androidETC2FallbackOverride: 0 + forceMaximumCompressionQuality_BC6H_BC7: 0 + spriteSheet: + serializedVersion: 2 + sprites: [] + outline: [] + customData: + physicsShape: [] + bones: [] + spriteID: + internalID: 0 + vertices: [] + indices: + edges: [] + weights: [] + secondaryTextures: [] + spriteCustomMetadata: + entries: [] + nameFileIdTable: {} + mipmapLimitGroupName: + pSDRemoveMatte: 0 + userData: + assetBundleName: + assetBundleVariant: diff --git a/Documentation/html/class_nano_brain_1_1_unity_1_1_braitenberg_1_1_touch_sensor-members.html b/Documentation/html/class_nano_brain_1_1_unity_1_1_braitenberg_1_1_touch_sensor-members.html new file mode 100644 index 0000000..4f7b7a6 --- /dev/null +++ b/Documentation/html/class_nano_brain_1_1_unity_1_1_braitenberg_1_1_touch_sensor-members.html @@ -0,0 +1,98 @@ + + + + + + + +Nano Brain for Unity: Member List + + + + + + + + + + +
+
+ + + + + + + +
+
Nano Brain for Unity v0.1 +
+
+
+ + + + + + + + +
+
+ + +
+
+
+
+
+
Loading...
+
Searching...
+
No Matches
+
+
+
+
+ + +
+
+
TouchSensor Member List
+
+
+ +

This is the complete list of members for TouchSensor, including all inherited members.

+ + + + + + + + + +
Awake()Sensorprotectedvirtual
outputSensor
sampleIntervalSensor
SampleSensor()TouchSensorprotectedvirtual
senseLayerSensor
sensorRangeSensor
sensoryNeuronSensor
touchingTouchSensor
+ + + + diff --git a/Documentation/html/class_nano_brain_1_1_unity_1_1_braitenberg_1_1_touch_sensor.html b/Documentation/html/class_nano_brain_1_1_unity_1_1_braitenberg_1_1_touch_sensor.html new file mode 100644 index 0000000..533e916 --- /dev/null +++ b/Documentation/html/class_nano_brain_1_1_unity_1_1_braitenberg_1_1_touch_sensor.html @@ -0,0 +1,200 @@ + + + + + + + +Nano Brain for Unity: TouchSensor Class Reference + + + + + + + + + + +
+
+ + + + + + + +
+
Nano Brain for Unity v0.1 +
+
+
+ + + + + + + + +
+
+ + +
+
+
+
+
+
Loading...
+
Searching...
+
No Matches
+
+
+
+
+ + +
+
+ +
TouchSensor Class Reference
+
+
+

Description

+

A sensor which can detect contacts with static GameObjects or Rigidbodies.

+
+Inheritance diagram for TouchSensor:
+
+
+ + +Sensor + +
+ + + + + + + + + + + + + + +

+Public Attributes

+float sensorRange = 10f
 Maximum distance the sensor detects anything.
 
+float sampleInterval = 0.1f
 Time between samples in seconds.
 
LayerMask senseLayer
 Unity Layer for the light objects.
 
+Neuron sensoryNeuron
 The NanoBrain::Neuron which is stimulated by this sensor.
 
+ + + + + + + +

+Protected Member Functions

override float SampleSensor ()
 Returns the current touching state.
 
+virtual void Awake ()
 Unity calls Awake when loading an instance of a script component.
 
+ + + + + + + +

+Properties

+bool touching [get, protected set]
 Is the sensor touching something?
 
+float output [get, protected set]
 Output value of the sensor.
 
+

Member Function Documentation

+ +

◆ SampleSensor()

+ +
+
+ + + + + +
+ + + + + + + +
override float SampleSensor ()
+
+protectedvirtual
+
+ +

Returns the current touching state.

+
Returns
1.0 when touching something, 0.0 otherwise
+ +

Reimplemented from Sensor.

+ +
+
+

Member Data Documentation

+ +

◆ senseLayer

+ +
+
+ + + + + +
+ + + + +
LayerMask senseLayer
+
+inherited
+
+ +

Unity Layer for the light objects.

+

This is used to improve performance

+ +
+
+
+ + + + diff --git a/Documentation/html/class_nano_brain_1_1_unity_1_1_braitenberg_1_1_touch_sensor.png b/Documentation/html/class_nano_brain_1_1_unity_1_1_braitenberg_1_1_touch_sensor.png new file mode 100644 index 0000000000000000000000000000000000000000..9143ac78f2a63b2f1964a03d0b9cfe02363789d8 GIT binary patch literal 420 zcmV;V0bBlwP)W7Dir#LVva2S`&=)l0h|NsB9NT2)w000SeQchC<|NsC0|NsC0Hv*f~0003m zNkl;!8ZIxN-0ec5;ODd3htkA zY5g%XpHiQjnWw=YxavC(i~IW2ZF?IZeuu_i^*yq!sC%Bnys1%(a(f+orVsUyjpjo; zi&wZcZyNi;*iD$3cQwX!-9>Jz-&zkgRjnSFnfDa;LvSC?O(~`O1puR30APY9ahGKd zcoKKTP65y2KCT{u8(aXd7Tn+l7XZA18{B`xB_f(2kci0b3hwW4HH#u5Th;0Q3K0<} zg**h8M+s?mIC zXYmTRF4&&pCtPD`hwHilZp&*)?4~+Q?tQ9SJ;ePGToDnk2Xcvs?$;MoPe_9*Tw3@5 O0000 + + + + + + +Nano Brain for Unity: Member List + + + + + + + + + + +
+
+ + + + + + + +
+
Nano Brain for Unity v0.1 +
+
+
+ + + + + + + + +
+
+ + +
+
+
+
+
+
Loading...
+
Searching...
+
No Matches
+
+
+
+
+ + +
+
+
Vehicle Member List
+
+
+ +

This is the complete list of members for Vehicle, including all inherited members.

+ + + + + + +
brainVehicle
motorLeftVehicle
motorRightVehicle
sensorLeftVehicle
sensorRightVehicle
+ + + + diff --git a/Documentation/html/class_nano_brain_1_1_unity_1_1_braitenberg_1_1_vehicle-members.html.meta b/Documentation/html/class_nano_brain_1_1_unity_1_1_braitenberg_1_1_vehicle-members.html.meta new file mode 100644 index 0000000..ef75f23 --- /dev/null +++ b/Documentation/html/class_nano_brain_1_1_unity_1_1_braitenberg_1_1_vehicle-members.html.meta @@ -0,0 +1,7 @@ +fileFormatVersion: 2 +guid: 3dc9df1f01744523aa1383337875c299 +TextScriptImporter: + externalObjects: {} + userData: + assetBundleName: + assetBundleVariant: diff --git a/Documentation/html/class_nano_brain_1_1_unity_1_1_braitenberg_1_1_vehicle.html b/Documentation/html/class_nano_brain_1_1_unity_1_1_braitenberg_1_1_vehicle.html new file mode 100644 index 0000000..5a40c74 --- /dev/null +++ b/Documentation/html/class_nano_brain_1_1_unity_1_1_braitenberg_1_1_vehicle.html @@ -0,0 +1,151 @@ + + + + + + + +Nano Brain for Unity: Vehicle Class Reference + + + + + + + + + + +
+
+ + + + + + + +
+
Nano Brain for Unity v0.1 +
+
+
+ + + + + + + + +
+
+ + +
+
+
+
+
+
Loading...
+
Searching...
+
No Matches
+
+
+
+
+ + +
+
+ +
Vehicle Class Reference
+
+
+

Description

+

A Braitenberg style vehicle with two sensors and two motors, powered by a Nanobrain.

+
+

Inherits MonoBehaviour.

+ + + + + + + + + + + + + + + + + +

+Public Attributes

+Cluster brain
 The NanoBrain::Cluster controlling the vehicle.
 
+Motor motorLeft
 The left motor.
 
+Motor motorRight
 The right motor.
 
Sensor sensorLeft
 The front-left sensor.
 
Sensor sensorRight
 The front-right sensor.
 
+

Member Data Documentation

+ +

◆ sensorLeft

+ +
+
+ + + + +
Sensor sensorLeft
+
+ +

The front-left sensor.

+

When the vehicle has only one sensor, this can be used as the single sensor

+ +
+
+ +

◆ sensorRight

+ +
+
+ + + + +
Sensor sensorRight
+
+ +

The front-right sensor.

+

When the vehicle has only one sensor, this can be set to null

+ +
+
+
+ + + + diff --git a/Documentation/html/class_nano_brain_1_1_unity_1_1_braitenberg_1_1_vehicle.html.meta b/Documentation/html/class_nano_brain_1_1_unity_1_1_braitenberg_1_1_vehicle.html.meta new file mode 100644 index 0000000..f31fe2f --- /dev/null +++ b/Documentation/html/class_nano_brain_1_1_unity_1_1_braitenberg_1_1_vehicle.html.meta @@ -0,0 +1,7 @@ +fileFormatVersion: 2 +guid: 57b5a248720e6d416b03796ec83dcfd1 +TextScriptImporter: + externalObjects: {} + userData: + assetBundleName: + assetBundleVariant: diff --git a/Documentation/html/class_nano_brain_1_1_unity_1_1_cluster_prefab-members.html b/Documentation/html/class_nano_brain_1_1_unity_1_1_cluster_prefab-members.html index 9766221..1aeb596 100644 --- a/Documentation/html/class_nano_brain_1_1_unity_1_1_cluster_prefab-members.html +++ b/Documentation/html/class_nano_brain_1_1_unity_1_1_cluster_prefab-members.html @@ -82,8 +82,7 @@ $(function() {

This is the complete list of members for ClusterPrefab, including all inherited members.

- - +
clusterClusterPrefab
EnsureInitialization()ClusterPrefab
GetNucleus(string nucleusName)ClusterPrefab
versionClusterPrefab