Skip to content

pegasus0069/BongomarineAlpha

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 

Repository files navigation

BongomarineAlpha

Description

This codebase for IUB Bongomarine Alpha which utilizes pyserial, flask, and jsonify libraries.

Directory Details

  1. "control_system" folder contains the microcontroller and tethered remote controlling software. Where "main-mega-aid-Auto" folder is the current working codebase.

  2. "sauvc_objectdetection" folder contains the autonomous controlling codebase. Where "mqualify.py" is the currect working file.

Installation

To install the required dependencies, follow the steps below:

  1. Make sure you have Python installed on your system. You can download it from the official Python website: https://www.python.org/downloads/

  2. Open a terminal or command prompt and navigate to the project directory.

  3. Create a virtual environment by running the following command: (Optional)

    python -m venv venv
    
  4. Activate the virtual environment: (Optional)

    • On Windows:
      venv\Scripts\activate
      
    • On macOS and Linux:
      source venv/bin/activate
      
  5. Install the required dependencies using pip:

    pip install pyserial flask jsonify
    pip install pyuac pypiwin32 (If using windows)
    

Usage

To run the application, follow the steps below:

  1. Make sure you have activated the virtual environment (if not already activated). (It is optional, only do it if you've created a virtual environment)

  2. Run the check_camera.py file to identify the Camera index for opencv.

  3. Change the camera = cv2.VideoCapture(1) in the runme.py file (Change 1 to your camera index).

  4. (MUST DO) Add the required data parameters in the header array to add headers of the csv file.

  5. Run the main script:

    Run "python data.py" if you want to run only the sensor data collection  and controller app.
    
    Run "python runme.py" if you want to run the sensor and video data collection and controller app.
    
    
  6. Access the application in your web browser at http://localhost:5000.

License

This project is licensed under the GNU License.

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Python 67.2%
  • C 16.1%
  • MATLAB 13.0%
  • C++ 2.0%
  • HTML 1.3%
  • CSS 0.4%