An open API service indexing awesome lists of open source software.

https://github.com/televisionninja/hunter-killer-drone

Firmware and simulation of a hunter killer drone
https://github.com/televisionninja/hunter-killer-drone

ai autonomous computer-vision drone fpv-drones gazebo kamikaze kamikazedrone opencv px4 python ros simulation yolov8

Last synced: 2 months ago
JSON representation

Firmware and simulation of a hunter killer drone

Awesome Lists containing this project

README

        

# hunter-killer-drone
Firmware and simulation of a hunter killer drone

Dependencies
- ROS 2 Humble
- PX4
- Micro XRCE-DDS Agent
- OpenCV
- Ultralytics YOLOv8
- ros_gz

## Results
### AI Tracking and Drone Control
![gazebo_tracking_gif](./images/tracking_gazebo.gif) ![gazebo_targeting_gif](./images/targeting.gif)

https://github.com/TelevisionNinja/hunter-killer-drone/assets/41529985/9603c2c8-03e6-4fad-9373-9c04c8ed0ef4
### Depth Camera
![depth](./images/depth_frame.png) ![depth_gif](./images/tracking_depth.gif)
### Camera
![detect](./images/detected_frame.png)
### RViz Path Visualization
![rviz](./images/rviz.png) ![rviz_gif](./images/tracking_rviz.gif)

## Installation

Clone the repo
```bash
git clone https://github.com/TelevisionNinja/hunter-killer-drone.git
```

Go to the scripts folder and make everything executable
```bash
cd ./hunter-killer-drone/scripts
chmod +x *
```

Setup Ubuntu
```bash
./ubuntuSetup.sh
```

Build the repo
```bash
./build.sh
```

Launch the simulation
```bash
./launch.sh
```

## Controls

W: Pitch Up

S: Pitch Down

A: Yaw Left

D: Yaw Right

Q: Up

E: Down

Up Arrow: Move Forward

Down Arrow: Move Backward

Left Arrow: Move Left

Right Arrow: Move Right

SPACE: Arm/disarm the drone

R: Enable AI tracking