Skip to content

carlomerola/FAIKR1_NAO_Planning

Repository files navigation

NAO Challenge 2023


Master of Artificial Intelligence - Fundamentals of Artificial Intelligence and Knowledge Representation

Team:
Jana Nikolovska unibo email | github profile
Carlo Merola unibo email | github profile

img

▶️ Run the program

  1. Install python2.7
  2. Install Choregraphe and PythonSDK (Naoqi)
  3. Create and activate a virtual environment
python2.7 -m pip install virtualenv
python2.7 -m virtualenv guskaNao
guskaNao\Scripts\activate
  1. Clone the repository and run the following code in the project directory:
pip install -r requirements.txt
  1. Open Choreoraphe and connect to a virtual robot. Get the IP and PORT values img1 img2
  2. Run the program in command line using the IP and PORT as arguments (see example below 👇)
    Default values for IP and PORT are specified in the config.ini file
python main.py ip port
📌 Example
python main.py "127.0.0.1" 53860

📝 Repository Structure

  • main.py - run main program
  • nao.py - define classes and search problem
  • utils.py - helper functions
  • find_conflicts.py - attempt to find move preconditions/postconditions automatically
  • meta_data
  • create_metafile.py - create a metadata file with details about moves (duration, mandatory, pre- and post-conditionsp)
  • dance_moves
  • aima - Code for Artificial Intelligence: A Modern Approach (AIMA) 4th edition by Peter Norvig and Stuart Russel.
  • tequila.mp3 - music choice
  • requirements.txt
  • config.ini

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages