diff --git a/.gitignore b/.gitignore
index 433de33..59e85e3 100644
--- a/.gitignore
+++ b/.gitignore
@@ -1,2 +1,2 @@
-doxygen/html
-doxygen/html.meta
+Documentation/DoxyWarnLogfile.txt
+Documentation/DoxyWarnLogfile.txt.meta
diff --git a/Documentation/DoxyWarnLogfile.txt b/Documentation/DoxyWarnLogfile.txt
deleted file mode 100644
index e69de29..0000000
diff --git a/Documentation/Installation.md b/Documentation/Installation.md
index c89f3d1..7a3383a 100644
--- a/Documentation/Installation.md
+++ b/Documentation/Installation.md
@@ -1,14 +1,16 @@
Package Installation
====================
-You can import the NanoBrain Ant package in Unity directly with the Package Manager git package importer.
+You can import the NanoBrain package in Unity directly with the Package Manager git package importer.
See Unity: [Installing from a Git URL](https://docs.unity3d.com/Manual/upm-ui-giturl.html)
-Use the link from 'Clone with HTTP' (for example: https://git.passer.life/CreatureControl/Ant.git) In this way you can always retrieve the latest version by pressing the Update button in the Package Manager.
+Import the package in the Package Manager by clicking on the `+` button and then `Install package from git URL...`
-Optionally, you can use a tag to retrieve a specific version. For example: https://git.passer.life/CreatureControl/Ant.git#0.1.0. This will give you a stable version which does not change. Updating can be done by retrieving the package with a link to a new release.
+Use the link from 'Clone with HTTP' (for example: https://git.passer.life/NanoBrain/NanoBrain-unitypackage.git) In this way you can always retrieve the latest version by pressing the Update button in the Package Manager.
+
+Optionally, you can use a tag to retrieve a specific version. For example: https://git.passer.life/NanoBrain/NanoBrain-unitypackage.git#0.1.0. This will give you a stable version which does not change. Updating can be done by retrieving the package with a link to a new release.
Samples Installation
--------------------
-In the Unity Package manager, select the NanoBrain Ant package and look for the `Samples` tab in the details pane on the right. There you can import the `Models`.
\ No newline at end of file
+In the Unity Package manager, select the NanoBrain package and look for the `Samples` tab in the details pane on the right.
\ No newline at end of file
diff --git a/Documentation/ToC.md b/Documentation/ToC.md
index 527bac5..ac7b7b4 100644
--- a/Documentation/ToC.md
+++ b/Documentation/ToC.md
@@ -1,5 +1,11 @@
\mainpage
Table of Contents
------------------
+=================
- [Installation](Installation.md)
+
+Core classes
+------------
+- NanoBrain::Neuron
+- NanoBrain::Cluster
+- NanoBrain::MemoryCell
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 1 2 3 ]
+[detail level 1 2 3 4 ]
▼ N NanoBrain The Nanobrain namespace
▼ N Unity
- C Brain A NanoBrain which can be used to control a gameobject
- C ClusterPrefab The Unity ScriptableObject to implement re-usable Cluster Prefabs
- C Cluster A Cluster combines a collection of Nuclei to implement reusable behaviour
- C MemoryCell A MemoryCell stored its value for one update
- ▼ C Neuron A neuron is a basic Nucleus
- C Presets The curve presets for the activation functions
+ ▼ N Braitenberg
+ C LightSensor A light sensor
+ C Motor A powered wheel collider, controlled by a NanoBrain::Neuron
+ C Sensor A non-directional sensor
+ C TouchSensor A sensor which can detect contacts with static GameObjects or Rigidbodies
+ C Vehicle A Braitenberg style vehicle with two sensors and two motors, powered by a Nanobrain
+ C ClusterPrefab The Unity ScriptableObject to implement re-usable Cluster Prefabs
+ C Cluster A Cluster combines a collection of Nuclei to implement reusable behaviour
+ C MemoryCell A MemoryCell stored its value for one update
+ C Neuron A neuron is a basic Nucleus
C Nucleus A Nucleus is a basic element in a brain cluster
C Synapse A 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
+
+
+
+
+
+
+
+
+
+
+
This is the complete list of members for LightSensor , including all inherited members.
+
+
+
+
+
diff --git a/Documentation/DoxyWarnLogfile.txt.meta b/Documentation/html/class_nano_brain_1_1_braitenberg_1_1_light_sensor-members.html.meta
similarity index 75%
rename from Documentation/DoxyWarnLogfile.txt.meta
rename to Documentation/html/class_nano_brain_1_1_braitenberg_1_1_light_sensor-members.html.meta
index 353ba7c..82b55d9 100644
--- a/Documentation/DoxyWarnLogfile.txt.meta
+++ b/Documentation/html/class_nano_brain_1_1_braitenberg_1_1_light_sensor-members.html.meta
@@ -1,5 +1,5 @@
fileFormatVersion: 2
-guid: 7dc89c04dff68449ba4bedd238f53e26
+guid: cfad91a8e096a9c928ce2e7215d18178
TextScriptImporter:
externalObjects: {}
userData:
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
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+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
+
+
+
+override float SampleSensor ()
+
+
+virtual void Awake ()
+
+
+
+
+Vehicle vehicle
+
+
+Cluster brain
+
+
+
+
+float output [get]
+ Output value of the sensor.
+
+
+
+
+
◆ SampleSensor()
+
+
+
+
+
+
+
+
+ override float SampleSensor
+ (
+ )
+
+
+
+
+
+protected virtual
+
+
+
+
+
Reimplemented from Sensor .
+
+
+
+
+
+
◆ senseLayer
+
+
+
+
+
+
+
+
+ LayerMask senseLayer
+
+
+
+
+inherited
+
+
+
+
+
Unity Layer for the light objects.
+
This is used to improve performance
+
+
+
+
+
+
+
+
diff --git a/Samples/Clusters/Identity.asset.meta b/Documentation/html/class_nano_brain_1_1_braitenberg_1_1_light_sensor.html.meta
similarity index 52%
rename from Samples/Clusters/Identity.asset.meta
rename to Documentation/html/class_nano_brain_1_1_braitenberg_1_1_light_sensor.html.meta
index b2382a6..902ffd4 100644
--- a/Samples/Clusters/Identity.asset.meta
+++ b/Documentation/html/class_nano_brain_1_1_braitenberg_1_1_light_sensor.html.meta
@@ -1,8 +1,7 @@
fileFormatVersion: 2
-guid: 5f4d2ea0d0115b3549f8e9aa5e669163
-NativeFormatImporter:
+guid: 479f293c11a2f0c8ea54dbcbd35380bf
+TextScriptImporter:
externalObjects: {}
- mainObjectFileID: 11400000
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 0000000..b1d8f94
Binary files /dev/null and b/Documentation/html/class_nano_brain_1_1_braitenberg_1_1_light_sensor.png differ
diff --git a/Documentation/html/class_nano_brain_1_1_braitenberg_1_1_light_sensor.png.meta b/Documentation/html/class_nano_brain_1_1_braitenberg_1_1_light_sensor.png.meta
new file mode 100644
index 0000000..0f90e5d
--- /dev/null
+++ b/Documentation/html/class_nano_brain_1_1_braitenberg_1_1_light_sensor.png.meta
@@ -0,0 +1,117 @@
+fileFormatVersion: 2
+guid: 17a250fa222cfaa5caa6f6c01471476b
+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_braitenberg_1_1_sensor-members.html b/Documentation/html/class_nano_brain_1_1_braitenberg_1_1_sensor-members.html
new file mode 100644
index 0000000..bb11d7d
--- /dev/null
+++ b/Documentation/html/class_nano_brain_1_1_braitenberg_1_1_sensor-members.html
@@ -0,0 +1,100 @@
+
+
+
+
+
+
+
+Nano Brain for Unity: Member List
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ Nano Brain for Unity v0.1
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
Loading...
+
Searching...
+
No Matches
+
+
+
+
+
+
+
+
+
+
+
This is the complete list of members for Sensor , including all inherited members.
+
+
+
+
+
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
+
+
+
+
+
+
+
+
+
+
+
A non-directional sensor.
+
The sensor has a field of view, but the signal returned does not include a direction
+
+
+
+
+
+
+
+
+
+
+
+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
+
+
+
+
+virtual void Awake ()
+
+
+virtual float SampleSensor ()
+
+
+
+
+Vehicle vehicle
+
+
+Cluster brain
+
+
+
+
+float output [get]
+ Output value of the sensor.
+
+
+
+
+
◆ 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 0000000..0dbc4bb
Binary files /dev/null and b/Documentation/html/class_nano_brain_1_1_braitenberg_1_1_sensor.png differ
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
baseName Cluster
- Cluster (ClusterPrefab prefab, Cluster parent)Cluster
- Cluster (ClusterPrefab prefab, ClusterPrefab parent=null)Cluster
- CollectReceivers (bool removeDuplicates=false)Cluster virtual
- CollectSynapsesTo (Cluster otherCluster)Cluster
- computeOrders Cluster
- defaultOutput Cluster
- 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)Cluster virtual
+ CollectSynapsesTo (Cluster otherCluster)Cluster
+ computeOrders Cluster
+ defaultOutput Cluster
+ 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)Cluster static
- GetNucleusIndex (List< Nucleus > nuclei, string nucleusName)Cluster static
- instanceCount Cluster
- instances Cluster
- name Nucleus
- nuclei Cluster
- outputs Cluster
- parent Nucleus
- prefab Cluster
- Refresh ()Cluster
- RefreshComputeOrders ()Cluster
- RefreshOutputs ()Cluster
- RemoveInstance ()Cluster
- ShallowCloneTo (Cluster parent)Cluster
- thingClusters Cluster
- TryGetNucleus (string nucleusName, out Nucleus foundNucleus)Cluster
- Type enum nameNucleus
- UpdateFromNucleus (Nucleus startNucleus)Cluster
- UpdateStateIsolated ()Cluster
+ GetNucleusIndex (List< Nucleus > nuclei, Nucleus nucleus)Cluster static
+ GetNucleusIndex (List< Nucleus > nuclei, string nucleusName)Cluster static
+ instanceCount Cluster
+ instances Cluster
+ name Nucleus
+ nuclei Cluster
+ outputs Cluster
+ parent Nucleus
+ prefab Cluster
+ Refresh ()Cluster
+ RefreshComputeOrders ()Cluster
+ RefreshOutputs ()Cluster
+ RemoveInstance ()Cluster
+ ShallowCloneTo (Cluster parent)Cluster
+ thingClusters Cluster
+ TryGetNucleus (string nucleusName, out Nucleus foundNucleus)Cluster
+ Type enum nameNucleus
+ UpdateFromNucleus (Nucleus startNucleus)Cluster
+ UpdateStateIsolated ()Cluster
+ version Cluster
-
-
-◆ GetNucleus()
-
-
-
-
-
- Nucleus GetNucleus
- (
- string
- nucleusName )
-
-
-
-
-
-
Get a nucleus in this cluster.
-
Parameters
-
- nucleusName The 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
+
+ clusterName The 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
+
+
+
+
+
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)Neuron virtual
AddSynapse (Neuron sendingNucleus, float weight=1)Neuron
bias Neuron
- CloneFields (Neuron clone)Neuron protected virtual
- Combinator (float3 bias, List< Synapse > synapses)Neuron protected
- Combinator (Vector3 bias, List< Synapse > synapses)Neuron protected
- combinator Neuron
- CombinatorProduct (float3 bias, List< Synapse > synapses)Neuron static
- CombinatorProduct (Vector3 bias, List< Synapse > synapses)Neuron static
- CombinatorSum (float3 bias, List< Synapse > synapses)Neuron static
- CombinatorSum (Vector3 bias, List< Synapse > synapses)Neuron static
- CombinatorType enum nameNeuron
- curve Neuron
- curveMax Neuron
- Delete (Nucleus nucleus)Neuron static
- GenerateCurve ()Neuron
+ breakOnUpdate Neuron
+ CloneFields (Neuron clone)Neuron protected virtual
+ Combinator (float3 bias, List< Synapse > synapses)Neuron protected
+ Combinator (Vector3 bias, List< Synapse > synapses)Neuron protected
+ combinator Neuron
+ CombinatorProduct (float3 bias, List< Synapse > synapses)Neuron static
+ CombinatorProduct (Vector3 bias, List< Synapse > synapses)Neuron static
+ CombinatorSum (float3 bias, List< Synapse > synapses)Neuron static
+ CombinatorSum (Vector3 bias, List< Synapse > synapses)Neuron static
+ CombinatorType enum nameNeuron
+ Delete (Nucleus nucleus)Neuron static
GetSynapse (Nucleus sender)Neuron
isFiring Neuron
isSleeping Neuron
@@ -136,7 +134,7 @@ $(function() {
ShallowCloneTo (Cluster parent)MemoryCell
SleepCheck ()Neuron
synapses Neuron
- timeToSleep Neuron
+ timeToSleep Neuron static
Type enum nameNucleus
UpdateStateIsolated ()MemoryCell
WhenFiring Neuron
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 readonly float timeToSleep = 0.5f
+ Time in seconds after the last update the neuron can go to sleep.
+
+
virtual void CloneFields (Neuron clone)
@@ -600,34 +596,6 @@ virtual List< Nucleus<
-
-
-
-◆ GenerateCurve()
-
-
-
-
-
-
-
-
- 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)Neuron virtual
AddSynapse (Neuron sendingNucleus, float weight=1)Neuron
bias Neuron
- CloneFields (Neuron clone)Neuron protected virtual
- combinator Neuron
- Combinator (float3 bias, List< Synapse > synapses)Neuron protected
- Combinator (Vector3 bias, List< Synapse > synapses)Neuron protected
- CombinatorProduct (float3 bias, List< Synapse > synapses)Neuron static
- CombinatorProduct (Vector3 bias, List< Synapse > synapses)Neuron static
- CombinatorSum (float3 bias, List< Synapse > synapses)Neuron static
- CombinatorSum (Vector3 bias, List< Synapse > synapses)Neuron static
- CombinatorType enum nameNeuron
- curve Neuron
- curveMax Neuron
- Delete (Nucleus nucleus)Neuron static
- GenerateCurve ()Neuron
+ breakOnUpdate Neuron
+ CloneFields (Neuron clone)Neuron protected virtual
+ combinator Neuron
+ Combinator (float3 bias, List< Synapse > synapses)Neuron protected
+ Combinator (Vector3 bias, List< Synapse > synapses)Neuron protected
+ CombinatorProduct (float3 bias, List< Synapse > synapses)Neuron static
+ CombinatorProduct (Vector3 bias, List< Synapse > synapses)Neuron static
+ CombinatorSum (float3 bias, List< Synapse > synapses)Neuron static
+ CombinatorSum (Vector3 bias, List< Synapse > synapses)Neuron static
+ CombinatorType enum nameNeuron
+ Delete (Nucleus nucleus)Neuron static
GetSynapse (Nucleus sender)Neuron
isFiring Neuron
isSleeping Neuron
@@ -135,7 +133,7 @@ $(function() {
ShallowCloneTo (Cluster parent)Neuron
SleepCheck ()Neuron
synapses Neuron
- timeToSleep Neuron
+ timeToSleep Neuron static
Type enum nameNucleus
UpdateStateIsolated ()Neuron
WhenFiring Neuron
diff --git a/Documentation/html/class_nano_brain_1_1_neuron.html b/Documentation/html/class_nano_brain_1_1_neuron.html
index 6af007b..e0275ca 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() {
-
-class Presets
- The curve presets for the activation functions. More...
-
-
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.
@@ -211,14 +202,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.
@@ -231,10 +214,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.
@@ -244,6 +226,13 @@ string name
The cluster instance in which the nucleus is located.
+
+
+static readonly float timeToSleep = 0.5f
+ Time in seconds after the last update the neuron can go to sleep.
+
+
virtual void CloneFields (Neuron clone)
@@ -532,26 +521,6 @@ virtual List< Nucleus<
-
-
-
-◆ GenerateCurve()
-
-
-
-
-
- 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
+
+
+
+
+
+
+
+
+
+
+
This is the complete list of members for LightSensor , including all inherited members.
+
+
+
+
+
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..7241daa
--- /dev/null
+++ b/Documentation/html/class_nano_brain_1_1_unity_1_1_braitenberg_1_1_light_sensor.html
@@ -0,0 +1,205 @@
+
+
+
+
+
+
+
+Nano Brain for Unity: LightSensor Class Reference
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ Nano Brain for Unity v0.1
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
Loading...
+
Searching...
+
No Matches
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+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.
+
+
+
+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.
+
+
+
+
+float output [get, protected set]
+ Output value of the sensor.
+
+
+
+
+
◆ SampleSensor()
+
+
+
+
+
+
+
+
+ override float SampleSensor
+ (
+ )
+
+
+
+
+
+protected virtual
+
+
+
+
+
Performs a sampling function to retrieve a new sensor output value.
+
Returns 0.0
+
This is a dummy implementation which always returns 0.0 because this component is an abstract sensor
+
+
Reimplemented from Sensor .
+
+
+
+
+
+
◆ 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 0000000..b1d8f94
Binary files /dev/null and b/Documentation/html/class_nano_brain_1_1_unity_1_1_braitenberg_1_1_light_sensor.png differ
diff --git a/Documentation/html/class_nano_brain_1_1_unity_1_1_braitenberg_1_1_light_sensor.png.meta b/Documentation/html/class_nano_brain_1_1_unity_1_1_braitenberg_1_1_light_sensor.png.meta
new file mode 100644
index 0000000..d7deda7
--- /dev/null
+++ b/Documentation/html/class_nano_brain_1_1_unity_1_1_braitenberg_1_1_light_sensor.png.meta
@@ -0,0 +1,117 @@
+fileFormatVersion: 2
+guid: 86501ca8b68235dc4bd26fc75e906669
+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_motor-members.html b/Documentation/html/class_nano_brain_1_1_unity_1_1_braitenberg_1_1_motor-members.html
new file mode 100644
index 0000000..c809263
--- /dev/null
+++ b/Documentation/html/class_nano_brain_1_1_unity_1_1_braitenberg_1_1_motor-members.html
@@ -0,0 +1,96 @@
+
+
+
+
+
+
+
+Nano Brain for Unity: Member List
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ Nano Brain for Unity v0.1
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
Loading...
+
Searching...
+
No Matches
+
+
+
+
+
+
+
+
+
+
+
This is the complete list of members for Motor , including all inherited members.
+
+
+
+
+
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
+
+
+
+
+
+
+
+
+
+
+
A powered wheel collider, controlled by a NanoBrain::Neuron .
+
+
Inherits MonoBehaviour.
+
+
+
+virtual void Awake ()
+ Unity calls Awake when loading an instance of a script component.
+
+
+
+
+float speed [get, protected set]
+ The speed of the motor in rotations per second.
+
+
+
+
+
◆ 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
+
+
+
+
+
+
+
+
+
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
+
+
+
+
+
+
+
+
+
+
+
This is the complete list of members for Sensor , including all inherited members.
+
+
+
+
+
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..b03afcf
--- /dev/null
+++ b/Documentation/html/class_nano_brain_1_1_unity_1_1_braitenberg_1_1_sensor.html
@@ -0,0 +1,191 @@
+
+
+
+
+
+
+
+Nano Brain for Unity: Sensor Class Reference
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ Nano Brain for Unity v0.1
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
Loading...
+
Searching...
+
No Matches
+
+
+
+
+
+
+
+
+
+
+
A non-directional sensor.
+
The sensor has a field of view, but the signal returned does not include a direction
+
+
+
+
+
+
+
+
+
+
+
+
+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.
+
+
+
+
+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.
+
+
+
+
+float output [get, protected set]
+ Output value of the sensor.
+
+
+
+
+
◆ SampleSensor()
+
+
+
+
+
+
+
+
+ virtual float SampleSensor
+ (
+ )
+
+
+
+
+
+protected virtual
+
+
+
+
+
Performs a sampling function to retrieve a new sensor output value.
+
Returns 0.0
+
This is a dummy implementation which always returns 0.0 because this component is an abstract sensor
+
+
Reimplemented in LightSensor , and TouchSensor .
+
+
+
+
+
+
◆ 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 0000000..8d0af32
Binary files /dev/null and b/Documentation/html/class_nano_brain_1_1_unity_1_1_braitenberg_1_1_sensor.png differ
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
+
+
+
+
+
+
+
+
+
+
+
This is the complete list of members for TouchSensor , including all inherited members.
+
+
+
+
+
diff --git a/Documentation/html/class_nano_brain_1_1_unity_1_1_braitenberg_1_1_touch_sensor-members.html.meta b/Documentation/html/class_nano_brain_1_1_unity_1_1_braitenberg_1_1_touch_sensor-members.html.meta
new file mode 100644
index 0000000..2a9f580
--- /dev/null
+++ b/Documentation/html/class_nano_brain_1_1_unity_1_1_braitenberg_1_1_touch_sensor-members.html.meta
@@ -0,0 +1,7 @@
+fileFormatVersion: 2
+guid: a9c7f0b34010ecd7e91e6daf22bd48f7
+TextScriptImporter:
+ externalObjects: {}
+ userData:
+ assetBundleName:
+ assetBundleVariant:
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
+
+
+
+
+
+
+
+
+
+
+
A sensor which can detect contacts with static GameObjects or Rigidbodies.
+
+
+
+
+
+
+
+
+
+
+
+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.
+
+
+
+override float SampleSensor ()
+ Returns the current touching state.
+
+
+virtual void Awake ()
+ Unity calls Awake when loading an instance of a script component.
+
+
+
+
+bool touching [get, protected set]
+ Is the sensor touching something?
+
+
+float output [get, protected set]
+ Output value of the sensor.
+
+
+
+
+
◆ SampleSensor()
+
+
+
+
+
+
+
+
+ override float SampleSensor
+ (
+ )
+
+
+
+
+
+protected virtual
+
+
+
+
+
Returns the current touching state.
+
Returns 1.0 when touching something, 0.0 otherwise
+
+
Reimplemented from Sensor .
+
+
+
+
+
+
◆ 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.html.meta b/Documentation/html/class_nano_brain_1_1_unity_1_1_braitenberg_1_1_touch_sensor.html.meta
new file mode 100644
index 0000000..f8be7e4
--- /dev/null
+++ b/Documentation/html/class_nano_brain_1_1_unity_1_1_braitenberg_1_1_touch_sensor.html.meta
@@ -0,0 +1,7 @@
+fileFormatVersion: 2
+guid: 4e39f2f342374e237beb37f70f727762
+TextScriptImporter:
+ externalObjects: {}
+ userData:
+ assetBundleName:
+ assetBundleVariant:
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 0000000..9143ac7
Binary files /dev/null and b/Documentation/html/class_nano_brain_1_1_unity_1_1_braitenberg_1_1_touch_sensor.png differ
diff --git a/Documentation/html/class_nano_brain_1_1_unity_1_1_braitenberg_1_1_touch_sensor.png.meta b/Documentation/html/class_nano_brain_1_1_unity_1_1_braitenberg_1_1_touch_sensor.png.meta
new file mode 100644
index 0000000..0900dbb
--- /dev/null
+++ b/Documentation/html/class_nano_brain_1_1_unity_1_1_braitenberg_1_1_touch_sensor.png.meta
@@ -0,0 +1,117 @@
+fileFormatVersion: 2
+guid: 96024856ea208e4728e8e86944379590
+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_vehicle-members.html b/Documentation/html/class_nano_brain_1_1_unity_1_1_braitenberg_1_1_vehicle-members.html
new file mode 100644
index 0000000..7207a1c
--- /dev/null
+++ b/Documentation/html/class_nano_brain_1_1_unity_1_1_braitenberg_1_1_vehicle-members.html
@@ -0,0 +1,95 @@
+
+
+
+
+
+
+
+Nano Brain for Unity: Member List
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ Nano Brain for Unity v0.1
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
Loading...
+
Searching...
+
No Matches
+
+
+
+
+
+
+
+
+
+
+
This is the complete list of members for Vehicle , including all inherited members.
+
+
+
+
+
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
+
+
+
+
+
+
+
+
+
+
+
A Braitenberg style vehicle with two sensors and two motors, powered by a Nanobrain.
+
+
Inherits MonoBehaviour.
+
+
+
+
◆ sensorLeft
+
+
+
+
+
The front-left sensor.
+
When the vehicle has only one sensor, this can be used as the single 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.