Dx/Dy value not changing in Python

Currently I've linked up my Optical Flow sensor with APM 2.6 and i have followed the instruction from the arducopter wiki link. I have ensured my connection for the optical flow sensor based on looking at the Eagles file for APM and connect them accordingly.

http://copter.ardupilot.com/wiki/optical-flow-sensor/

I manage to see images captured by the mouse sensor using python. However it does not reflect any changes in x and y despite me moving the sensor around. The values are always zero.

Is there anything required to be change in the code?

You need to be a member of diydrones to add comments!

Join diydrones

Email me when people reply –

Replies

  • In your test sketch, is the data appearing on your serial monitor screen?

This reply was deleted.

Activity