8000 GitHub - gregora/Robot-Arm-AI: A project for training a neural network to control a robotic arm
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content

gregora/Robot-Arm-AI

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

53 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Robot-Arm-AI

A project for training a neural network to control a robotic arm.

Problem

Solving inverse kinematics can often be challenging in complex robots. This project tries to illustrate how neural networks can be taught to solve such problems. The robot is a simple planar arm with 3 sections and the whole project is simply a proof of concept.

Results

1000 generations were needed for great results. However, I think the method has proven itself - at least for simple robots.

1000_420p.mp4

Accompanying Youtube video: https://youtu.be/oZJqmPPVW6Q?si=ku-KLPI7Qgqxm4LI

Dependencies

Compiling

Linux

Make sure you have SFML installed. If not, you can do that by running sudo apt-get install libsfml-dev.

Run make command.

Running

Linux

Training

To train your network you need to run a command ./main.out -population [population] -generatons [generations].

Your networks will be saved every 10 generations into the networks/ folder.

To load a saved generation simply add -load [generation] to your command line arguments.

Loading already trained networks

To load a network you must run a command ./main.out -display [generation] -population [population].

There are already pretrained networks of 1000th generation in the networks/ folder, that you can run with ./main.out -display 1000 -population 100.

About

A project for training a neural network to control a robotic arm

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

0