Skip to content

cweekiat/ecal-common

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

247 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

eCAL Common Headers and Definitions

This repository includes schema definitions for serialization.

3D Drone Detection Model

This repository contains a 3D drone detection model designed for target drone detection, tracking, position estimation, and velocity estimation.

Features

The code in this repository provides the following functionalities:

  1. Target Drone Detection:

    • Utilizes advanced computer vision techniques and deep learning to identify and locate drones in a 3D space.
  2. Target Drone Tracking:

    • Implements tracking algorithms to follow the movement of identified drones over time.
  3. Target Drone Position Estimation:

    • Utilizes the detected features to estimate the precise position of the target drone in a 3D coordinate system.
  4. Target Drone Velocity Estimation:

    • Calculates the velocity of the target drone based on its movement patterns.

Usage

Follow the steps below to use the 3D drone detection model:

  1. Install MiniConda3

    • Download Miniconda package here
    cd ~/Downloads
    bash Miniconda3-latest-Linux-aarch64.sh
  2. Install Ecal In a new terminal

    sudo add-apt-repository ppa:ecal/ecal-5.11
    sudo apt-get update
    sudo apt-get install ecal
    
    sudo apt install python3-ecal5
  3. Create Conda Environment

    cd ecal-common/python
    conda create -n vilota python=3.9
  4. Install Dependencies:

    conda activate vilota
    pip install matplotlib==3.5.1 numpy==1.25.0 pycapnp==1.3.0 ultralytics==8.0.220 protobuf
  5. Running Detection Program:

    python3 test_detection3d.py
  6. If you face this error

    import ecal.core.core as ecal_core
    ModuleNotFoundError: No module named 'ecal'
    1. Open test_detection3d.py
    2. Add these lines to the top of the python file
      import sys
      sys.path.append('/usr/local/lib/python3.8/dist-packages')
      print(sys.path)

Watch Demo 1

Watch Demo 2

License

This project is licensed under the MIT License. Feel free to use, modify, and distribute the code for both non-commercial and commercial purposes.

Happy coding!

About

Common headers and definitions for eCAL-based nodes

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages

  • Python 76.7%
  • C++ 16.8%
  • Cap'n Proto 4.9%
  • CMake 1.6%