2d-walking with reinforcement learning and development
This project aims to create a 2D walking model for robotics using reinforcement learning. The goal is to explore different types of walking and integrate them into this model. The project includes the implementation of a Soft Actor-Critic (SAC) agent to achieve digital walking.
-
Clone the repository:
git clone https://github.com/VishwamAirobotics/2d-robots.git cd 2d-robots
-
Create a virtual environment:
python3 -m venv venv source venv/bin/activate
-
Install the required packages:
pip install -r requirements.txt
-
Train the agent:
python agents/train_agent.py
-
Evaluate the agent:
python agents/evaluate_agent.py
To run the tests locally, use the following command:
pytest
This project uses GitHub Actions for Continuous Integration (CI). The CI workflow is defined in the .github/workflows/ci.yml
file. It includes the following steps:
- Set up Python environment
- Install dependencies
- Lint the code with flake8
- Run tests with pytest
Contributions are welcome! Please fork the repository and create a pull request with your changes.
This project is licensed under the MIT License.