I have given the connections given in the WIKI page and now my optical flow sensor is working well. Even I'm able to grab the images and motion values using python test program.
I just finished wiring one up on my APM2.5. I have gone through the testing and it seems to be working. I am about to post a couple of questions regarding 'focus' of the sensor and the python script dying.
I made a couple of suggestions at the bottom of the document comments regarding waiting for the board to reply with a menu before you ask it for images. Seems obvious in retrospect, but it wasn't at the time.
So for 'Load the AP_Opti...." instruction was missing something key. This is an Arduino sketch you load onto your APM. It is included with the APM code you can download. You have to have the Arduino IDE installed and running.
One more thing....make sure you take the lens cap off. ;)
Replies
I have given the connections given in the WIKI page and now my optical flow sensor is working well. Even I'm able to grab the images and motion values using python test program.
Thanks
I just finished wiring one up on my APM2.5. I have gone through the testing and it seems to be working. I am about to post a couple of questions regarding 'focus' of the sensor and the python script dying.
I made a couple of suggestions at the bottom of the document comments regarding waiting for the board to reply with a menu before you ask it for images. Seems obvious in retrospect, but it wasn't at the time.
So for 'Load the AP_Opti...." instruction was missing something key. This is an Arduino sketch you load onto your APM. It is included with the APM code you can download. You have to have the Arduino IDE installed and running.
One more thing....make sure you take the lens cap off. ;)
Did you ever get it to work? I installed as well and did not see anything happen...
In trying to follow the instructions on http://code.google.com/p/arducopter/wiki/AC2_OptFlow
I'm not sure how to do this....
"Load the AP_OpticalFlow_test.pde sketch to your APM"