USA
Asked — Edited

Ai Software

I am looking for some information on AI software. I remember reading some were about Leaf and I have no clue about it. I would like to start some kind of AI software on my laptop just to play around with it. At some point (soon) I would like to build a robot that has AI and an on board computer (something real small). I don't know where to start? Can someone guide me on this?

Thanks

BC confused


ARC Pro

Upgrade to ARC Pro

Elevate your robot's capabilities to the next level with Synthiam ARC Pro, unlocking a world of possibilities in robot programming.

#25  

here is a Basic Script in C++ need to Check it out... gawd knows what it will do with no pramiters or Variables Probably Nothing:D :P ;) Script as Follows: // Member function definitions of the AI class. // For reference only 9/3/03

#include

#include "AI.h"

AI::AI() // Constructor { // Use extensible Array class here // rather than fixed size array

PsiAryPtr = new PsiStr[ARYSIZ]; EnAryPtr = new EnStr[ARYSIZ]; AudAryPtr = new AudStr[ARYSIZ]; }

AI::~AI() // Destructor { delete [] PsiAryPtr; delete [] EnAryPtr; delete [] AudAryPtr; }

// Member Functions

// set functions // Templates to be used for data base functions

BOOL AIsetEle( PsiStr *, const int ); // set concept array element BOOL AIsetEle( EnStr *, const int ); // set english lexicon element, element index BOOL AI::setEle( AudStr *, const int ); // set auditory memory element, element index

// get functions

BOOL AIgetEle( const int, PsiStr * ); // return concept array element BOOL AIgetEle( const int, EnStr * ); // return english lexicon element BOOL AI::getEle( const int, AudStr * ); // return auditory memory element

// delete functions

BOOL AIdelPsi( const int ); // delete concept array element, element index BOOL AIdelEn( const int ); // delete english lexicon element, element index BOOL AI::delAud( const int ); // delete auditory memory element, element index

// print functions

BOOL AIprintPsiElements(); // output BOOL AIprintEnElements(); // output BOOL AI::printAudElements(); // output

BOOL AI::setDefaults() { return (True); }

// Functions below to be classes that are members of // the AI class rather than functions

void AISecurity() // Human input module with AI attention void AISensorium() // AI Initial processing of Input void AIThink // AI Syntax and vocabulary of natural language void AIMotorium() // AI Output

void AI::Alife() { setDefaults(); while(True) { Security(); // Human input module with AI management Sensorium(); // AI Initial processing of Input Think(); // AI Syntax and vocabulary of natural language Motorium(); // AI Output }; }

void main(void) { AI AI1; AI1.Alife(); }


AI.H

// Declaration of the AI class. // Member functions defined in AI.cpp

// preprocessor directives that // prevent multiple inclusions of header file #ifndef AI_H #define AI_H

typedef int BOOL;

BOOL True = 1; BOOL False = 0;

#define ARYSIZ 1024

class AI {

public:

AI();
AI();

void Alife();

private:

typedef struct AudStrTag // Auditory Memory Array { int pho; // Phoneme int act; // Activation Level int pov; // Point of View int beg; // Beginning int ctu; // Continuation int psi; // Tag number to a concept } AudStr;

typedef struct EnStrTag // English Lexicon Array { int nen; // English concept number int act; // Activation Level int fex; // Mindcore Exit tag int pos; // Part of Speech int fin; // Mindcore In tag int aud; // Auditory Tag } EnStr;

typedef struct PsiStrTag // Mindcore Concept Array { int psi; // Mindcore concept number int act; // Activation level int jux; // Juxtaposed modifier int pre; // Previous associated int pos; // Part of Speech int seq; // Subsequent tag int enx; // Transfer to English } PsiStr;

AudStr * AudStrPtr;
EnStr  * EnStrPtr;
PsiStr * PsiStrPtr;

PsiStr * PsiAryPtr;
EnStr  * EnAryPtr;
AudStr * AudAryPtr;

// set functions

BOOL setEle( PsiStr *, const int ); // set concept array element, element index BOOL setEle( EnStr *, const int ); // set english lexicon element, element index BOOL setEle( AudStr *, const int ); // set auditory memory element, element index

// get functions

BOOL getEle( const int, PsiStr * ); // return concept array element BOOL getEle( const int, EnStr * ); // return english lexicon element BOOL getEle( const int, AudStr * ); // return auditory memory element

// delete functions

BOOL delPsi( const int ); // delete concept array element, element index BOOL delEn( const int ); // delete english lexicon element, element index BOOL delAud( const int ); // delete auditory memory element, element index

// print functions

BOOL printPsiElements(); // output BOOL printEnElements(); // output BOOL printAudElements(); // output

BOOL setDefaults();

void Security(); // Human input module with AI attention void Sensorium(); // AI Initial processing of Input void Think(); // AI Syntax and vocabulary of natural language void Motorium(); // AI Output

};

#endif

enjoy