01 / 07
Event-camera obstacle avoidance on FPGA
- Status
- 2026 · In development
- Target
- Artix-7 FPGA
- Languages
- SystemVerilog, C++, Python
- Tools
- Vivado, Verilator, cocotb, Gazebo, ROS 2
- Source
- mantis on GitHub
An FPGA obstacle-avoidance pipeline targeting an Artix-7 board for a simulated drone. SystemVerilog RTL turns a simulated 128×128 event camera stream and gyro data into brake and dodge commands, flying a Gazebo quadrotor in closed loop through a C++ ROS 2 bridge.
The valid/ready pipeline is designed for 100 MHz: an event FIFO with drop counting, noise filtering, gyro-based rotation compensation, a time-to-contact detector, and a control FSM that brakes within 10 ms if a sensor goes silent. Still in active development—currently verified in simulation and cocotb/Verilator against a bit-exact fixed-point Python model, with Vivado synthesis and Artix-7 board bring-up ahead.
- Compared 3 detector candidates across 22 event recordings before writing RTL; the fixed-point model alarms on the same tick as floating point in every run.
- Designed around 9 numbered requirements for Artix-7 at 100 MHz, including 2.7 million events/s with no drops, 20 μs latency, and a 10 ms failsafe brake.
- Closed-loop Gazebo + ROS 2 flight runs with RTL verified in cocotb on Verilator; hardware synthesis and on-board validation on Artix-7 are ongoing.






















