Final Project for Artificial Intelligence 2016-1 class at UNICAMP.
Local navigation of the bibed robot NAO on a V-REP simulation using reinforcement learning (Q-Learning). The desired behavior is for the robot to use its sensors to avoid walls and attempt to get as close as possible to a tag placed at the kitchen.
This project has some dependencies that are not managed by pip. They must, therefore, be installed manually:
- V-REP simulator
- Choregraphe Suite
- Aldebaran NAO Python SDK
Finally, install MazeRunner:
python setup.py install --user
-
First, start
Choregraph
:/opt/Aldebaran\ Robotics/Choregraphe\ Suite\ 2.1/bin/naoqi-bin -p 5000
-
Open the V-REP simulator:
/path/to/vrep/vrep.sh
Then open one of the scenes in
mazerunner/scenes
folder and run it. -
You have two options now:
-
- Train a navigator by executing
python mazerunner/examples/train_navigator.py
. This script will move the agent and train it to achieve the goal set (kitchen, by default).
- Train a navigator by executing
-
- Navigate using a previously-learned behavior by executing
python mazerunner/examples/navigate_with_trained_agent.py
- Navigate using a previously-learned behavior by executing