Silas Gruen 99f66d9b63 Add cleanup test hai 11 meses
..
config d0f28c040b Connect robot movements to controller hai 11 meses
src 605d74f48d Add test camera and make vision test work hai 11 meses
tests 99f66d9b63 Add cleanup test hai 11 meses
README.md ca651d637a Add initial project structure with configuration, and control logic hai 11 meses
requirements.txt 8b32c0aa36 Enhance project configuration and testing setup hai 11 meses
setup.py 8b32c0aa36 Enhance project configuration and testing setup hai 11 meses

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