Coder Social home page Coder Social logo

sailorxt / ga_mamdani_fuzzy_controller_reversing_car Goto Github PK

View Code? Open in Web Editor NEW

This project forked from cpowei/ga_mamdani_fuzzy_controller_reversing_car

0.0 1.0 0.0 63 KB

Train fuzzy controller with Genetic Algorithm for reversing car

License: MIT License

MATLAB 100.00%

ga_mamdani_fuzzy_controller_reversing_car's Introduction

GA in reversing car with mamdani type fuzzy controller

Train fuzzy controller with Genetic Algorithm for reversing car

Introduction :

  1. Here is mamdani type fuzzy control model.
  2. The file called “MAMDANIwithGA.m” is the main code.
  3. Following the main code guide, the GA will start to evolve our fuzzy controller to reach our goal!

Our goal :

  1. The goal is reversing the car(represented as a triangle, the sharp angle is the head of the car) to the location around
    (50,100) with the angle "phi"(calculated from the x-axis to the axis that crosses the head and the tail of the car) around 90 degrees.

  2. Minimizing "docking_error", which is defined as below: alt tag

    X_f is equals to 50, Y_f is equals to 100 and Phi_f is equals to 90 degrees.

  3. You can find there are a "trajectory_error" in the code, which is only used for seeing how efficiency of the car reversing.alt tag

Parameter :

  1. X is ranges from 0 to 100
  2. Y is ranges from 0 to 100
  3. Phi is ranges from -90 to 270 degrees
  4. Theta(represented as the angle of the tire can rotate) is ranges from -30 to 30 degrees

Insight :

  1. The probability of mutation should be high. Otherwise, every gene will be same as each other when evolving.
  2. Always retaining the outsanding gene seems to be a good way.

Learning Curve : alt tag  

ga_mamdani_fuzzy_controller_reversing_car's People

Contributors

cpowei 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.