GithubHelp home page GithubHelp logo

ecobot's Introduction

Ecobot - Autonomous Agent For Custom Microprocessor Hardware

Just a bit of fun with robots

Robots

Autonomous Agent Brain Architecture

The Automous Agent Executive (The Brain) was build with the objective of allowing the robot to move freely; learn it's environment and make decisions based on pluggable strategies. The agent builds a belief map that contains data about it's environment. Then it employs a strategy to find the highest yielding next best action. Upon taking this action sensors re-feedback data about the environment that influence the next roudn of decision making.

Based on diagrams from Peter Norvigs book - Artificial Intelligence: A Modern Approach (https://en.wikipedia.org/wiki/Artificial_Intelligence:_A_Modern_Approach)

![Agent Orient Software] (https://raw.githubusercontent.com/rsiwicki/ecobot/master/images/eco_brain.jpg)

It will run on board like this

![Yun] (https://www.arduino.cc/en/uploads/Main/A000008_featured.jpg)

![Yun] (https://www.arduino.cc/en/uploads/Guide/YunParts.png)

These are the base files for ecobot.

To build just run

git clone https://github.com/neuralnet/ecobot.git

make

Run the diagnostic with

./Agent

To run in the Arduino go to the Thresholds.h file and change the ARDUINO define to 1. Changing this setting will ensure that the compiler does not include code that the compile does not include superflous code such as the test diagnostic and data types are correct.

The MAXPOINTS define in Thresholds.h controls the number of data points that the ecobot will retain in working memory. It is planned that when this threshold is reached the ecobot runs a KNN algorithm over the data points in working memory to create a sparse representation of the its world. This is not yet implemenented. The KNN code is in KTree.cpp.

Currently the ecobot supports two strategies for navigating its world. The first is the COLLISION AVOIDANCE strategy. When using this strategy ecobot will attempt to detect an obstacle and any impending collision. The collision threshold is stored in Thresholds.h and is assumed to be in centimetres. The distance ecobot moves for each iteration is controlled by the STRIDE define, also in Thresholds.h. Ideally STRIDE should be smaller than the collision threshold.

The second strategy is the HIGHEST YIELD strategy. The highest yield strategy will apply a KNN like strategy to determine areas that have the highest interest or yield. Currently the yield is fixed to an area that ecobot has not visited before but could use any sensor reading such as temperature.

TODO

Need to change the belief map storage to a KDTree. Instead of building a list or a separate KTree integrating the two will save memory and allow for the O(log N) generation of KNN instead of a niave O (N*N) implementation..


                    • 1 - - - - - - - - - - - - - - ^ - - - - - - - - - - - - - - 1 - - - - - - - - - -




                    • 1 - - - - - - - - - - - - - - - - - - - - - - - - - - - - - 1 - - - - - - - - - -









                    • 1 - - - - - - - - - - - - - - - - - - - - - - - - - - - - - 1 - - - - - - - - - -









                    • 1 - - - - - - - - - - - - - - 0 - - - - - - - - - - - - - - 1 - - - - - - - - - -

























ecobot's People

Contributors

rsiwicki avatar

Stargazers

Michael Ernest avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.