2-wheels-1-arm
A genetic algorithm searching for solutions to move a simple robot straightforward in a virtual environment
Dependencies
- v-rep pro edu (virtual robot experimentation platform)
- node.js + npm + node-gyp
- g++ / clang++
- cmake + make
- boost libraries
Documentation
How to
/!\ Important note: npm
commands should be executed from repository root directory
Setup virtual environment
- Download and install v-rep
- Open v-rep then load
2w1a.ttt
Build and use sample code?
Available sample projects:
- v-rep remote api test with 2w1a in python and c++
- String finder genetic algorithm in c++
See sample code README
Use project?
Install
Launch
- v-rep virtual environment need to be setup
npm start
Development notes
How to launch server in dev mode?
- v-rep virtual environment need to be setup
npm run dev
Note: Server will automaticaly restart after file change
Note2: Works for node.js files, does not work for c++ files
How to build/rebuild C++ side?
Node.js algorithm module
npm run build_algo
npm run rebuild_algo
Executable development algorithm
npm run build_algo_dev
npm run rebuild_algo_dev
How to launch development executable algorithm?
- v-rep virtual environment need to be setup
- Execute
algorithm/build_dev/2w1a_dev
Config file
- You have to do your own config file using the config/base.example.json
cp config/base.example.json config/base.json