Silas Gruen 86b35eda21 add error handling for serial connection failures to GRBLHandler преди 10 месеца
..
config a85a33c826 refactor logging configuration; update max file size and backup count; improve logging messages and add throttling filter преди 10 месеца
src 86b35eda21 add error handling for serial connection failures to GRBLHandler преди 10 месеца
tests cb68fb5225 add position tracking in wait_until_idle; update tests for new position handling преди 10 месеца
README.md ca651d637a Add initial project structure with configuration, and control logic преди 11 месеца
requirements.txt da0612bdf6 refactor logging; refactor exception handling преди 10 месеца
setup.py 8b32c0aa36 Enhance project configuration and testing setup преди 11 месеца

README.md

Robot Control Project

This project implements a 2D portal robot capable of picking battery cells, reading data matrices, managing measurement requests via a REST API, and sorting cells based on measurement results.

Project Structure

  • src/: Contains the main application code.

    • api/: Handles the REST API for managing robot tasks.
    • robot/: Contains the robot's control logic and movement.
    • vision/: Manages the vision-related functionalities, including data matrix reading.
    • main.py: The entry point of the application.
  • tests/: Contains unit tests for the application modules.

  • requirements.txt: Lists the dependencies required for the project.

Features

  • REST API for starting measurements and managing robot tasks.
  • Robot control for picking, inserting, and sorting battery cells.
  • Navigation and movement logic for the robot.
  • Vision capabilities for reading data matrices from battery cells.

Installation

  1. Clone the repository.
  2. Navigate to the project directory.
  3. Install the required dependencies:

    pip install -r requirements.txt
    

Usage

Run the application using:

python src/main.py

Testing

To run the tests, use:

pytest