Optic Flow Module:

The optic flow module understands the drone’s movement via processing the images of the ground. In this way, drone can stay in the same location or it can move autonomously.

 

Optical Flow Module Connection:

 

 

Note: Module direction is important. It should be connected as the picture.

Optic Flow Blocks:

1-) Get altitude:

This block will return drone ESPcopter altitude data that come from the altitude sensor which is vl53l0x. The range of the sensor data is 0 – 1200mm.

2-) Get Optical Motion X:

This block will return drone ESPcopter optical flow sensor motion data on the x-axis.  

3-) Get Optical Motion Y:

This block will return drone ESPcopter optical flow sensor motion data on the x-axis.