Robot with GPT as the brain.
Install dependencies:
pip install -r requirements.txt
Run the script:
# Set your OpenAI API key
export OPENAI_API_KEY="your_openai_api_key"
# Run the script
python -m robot_gpt.main
# Install dev dependencies
pip install -r requirements-dev.txt
# Run camera tests (require a connected camera)
pytest -m 'camera'
# Run GPT API tests (Warning: The GPT API will be actually called. The API Key is required.)
pytest -s -m 'gpt'
# Run servo moter tests (require connected servo motors)
pytest -m 'servo'
# Run the all tests
pytest -m ''