Sensorium Module of First Working AGI

Sensorium module of the

First Working AGI Mind in JavaScript

MindForth for robots -- Ghost.pl for webservers

1. Diagram of Sensorium Mind-Module

 _______________________________________________________________
|                             The Environment                   |
|                ____________                _____________      |
|  _____________| The Senses |______________| The Muscles |___  |
| |                \ \ \ \ \      The Body     | | | | |      | |
| |         ________\ \ \ \ \__________________|_|_|_|_|____  | |
| |        |         \ \ \ \ \       |      Cerebellum     || | |
| |        |          \ \ \ \ \      | (Motor Habituation) || | |
| |        |           \ \ \ \ \      \___________________/ | | |
| |        |            \ \ \ \ \            / / / / /      | | |
| Feature Extraction:   | | | | | The Brain / / / / /       | | |
| |        |------------+-+-+-+-+----------+-+-+-+-+--------| | |
| | Oldest |Memories:  S| |M| |C| |||||||| |M| |M| |C       | | |
| |        |           e| |e| |h| |Concept |o| |e| |h       | | |
| |        |           n| |m| |a| |||||||| |t| |m| |a       | | |
| |        |           s| |o| |n| |Fibers| |o| |o| |n       | | |
| |        |           o| |r| |n| |||||||| |r| |r| |n       | | |
| |        |           r| |y| |e| |as the| | | |y| |e       | | |
| | Newest |Memories:  y| | | |l| |||||||| | | | | |l       | | |
| |        |            | | | |s| | Core | | | | | |        | | |
| |        |            | | | | | |||||||| | | | | |        | | |
| |        |            | | | | | |of the| | | | | |        | | |
| |        |            | | | | | |||||||| | | | | |        | | |
| |        |            | | | | | | Mind | | | | | |        | | |
| |(Future |Memories:)  | | | | | |||||||| | | | | |        | | |
| |        |________________________________________________| | |
| |___________________________________________________________| |
|_______________________________________________________________|


2. Algorithm


3. Code of Sensorium() from ghost.pl First Working AGI in Perl

sub Sensorium() {  # http://ai.neocities.org/Sensorium.html
  $finlen = 0;     # 2017-12-26: reset for safety.
  $len = 0;        # 2017-03-31: [MindForth] let other modules increase len(gth
  $verbcon = 0;    # 2017-06-25: a reset moved to here from AudInput().
  print "\n  Human: $homo \n";  # 2017-03-25: for human-computer interface
  $msg = "";  # 2017-03-31: prevent spurious carry-over of input message.
  if ($dunnocon==1) {  # 2017-11-25:
    $output = "I DO NOT KNOW"; # 2017-11-25:
    $dunnocon = 0;  # 2017-11-25: reset for safety. 
  }  # 2017-11-25: TEST
  print "\n  Ghost: $output \n";  # 2017-12-08: array-display; output; input...
  if ($chaincon == 0) {  # 2016apr15: if no chain of thought in progress...
    AudInput();    # 2015apr25: Calling the sense of audition. 
    $krt = $t;     # 2017-03-29: KR time after input
    $len = 0;      # 2017-03-29: reset to prevent carry-over during reentry.
    $text = "";    # 2017-11-27: reset to prevent build-up.
    $tvb = 0;  # 2018-07-05: reset to prevent false $tkb-values on verbs. 
  }  # 2016apr15: end of test for an internal chain of thought.
# FileInput();     # 2016jan10: Inputting from file, not keyboard.
# GusRecog();      # http://mind.sourceforge.net/gusrecog.html
# OlfRecog();      # http://mind.sourceforge.net/olfrecog.html
# TacRecog();      # http://mind.sourceforge.net/tacrecog.html
# VisRecog();      # 2015apr26: Opportunity to add vision.
# http://en.wikipedia.org/wiki/Symbol_grounding_problem
  $pov = 1;  # 2017-12-08: during thinking; prevents duplicate line of display.
} # Sensorium() module returns to MainLoop.


4. Troubleshooting and Robotic Psychosurgery

4.1.a. Symptom: (Something goes wrong.)
4.1.b. Solution: (AI Mind Maintainer devises solution.)

5. Variables

$pho -- a "phoneme" or character of auditory input.


6. Please see

http://mind.sourceforge.net/sesorium.html


7. AiTree of First Working AGI Mind-Modules



Return to top; or to
javascript subreddit for AI Mind discussion;
Forth subreddit and robotics subreddit for MindForth discussion;
Perl subreddit for ghost.pl AI Mind Maintainers.