Tags: OpticalFlow
Permalink Reply by lot on June 23, 2012 at 7:58am Hi,
I have the same issue with APM2 and flow sensor.
I have the same error "Failed to initialise ADNS3080". When I print the config it says:
Config: 11111111,11111111
product id: FF (hex)
frame rate: 366 (manual)
resolution: 1600
shutter speed: 65535 (manual)
I tested the conectivity with a multimeter and all wires are connected properly.
Anybody with the same problem/solution?
I'm having the exact same problem. And I did comment out the APM1 line and uncommented the APM2 line in the test sketch. I uploaded the code directly to the APM2 with sensor attached exactly as described. HELP!
Permalink Reply by Aaron Curtis on July 8, 2012 at 4:07pm Ok, mine works now after the same initial problem that you had. After doing the line 22 / 23 commenting thing it seems that Arduino was still uploading the old version of the program. Not sure why -- it's like the equivalent of forgetting to do "make clean" or something! Anyway, I flashed a different program on the board, restarted Arduino, flashed the optical flow program, and then everything worked fine... Still confused about how this could happen, but glad it's working!
By the way, I am using Arduino 1.0, without the relax patch.
Permalink Reply by Christopher Cooper on June 23, 2012 at 10:50pm I'm having the same problem too. Connected to an APM2 as directed in the wiki, but fails to initialise.
Permalink Reply by Christopher Cooper on June 23, 2012 at 10:55pm AH HA! Just been poking around the comments on the wiki. Looks like for the APM2 you'll need to comment line 22 and uncomment line 23. Looks like it's doing something now.
Permalink Reply by Cool Dude on July 11, 2012 at 11:57pm This is embarrassing for me. It works fine now. I was connecting MISO at sensor side with MOSI at arduino side and vice versa. Once I fix the connection it works fine.
Thanks
Permalink Reply by Jesus Pestana on December 19, 2012 at 10:06am Hi Cool Dude and the others,
I am a newbie with arduino. I am trying to setup the Optical Flow sensor on an Arduino Uno Board. I believe this is really similar to your configuration, since the "Arduino mini pro" is a different version of the "Arduino Uno". I am trying to compile the "AP_OpticalFlow_test.pde", but I am having a lot of errors.
I have basically copied all the libraries from the "ardupilot_mega" folder to my arduino/libraries directory. This has corrected many compile errors, but I am still getting errors from the "SPI3" library.
How did you manage to compile get the "AP_OpticalFlow_test.pde" code working on the Arduino mini pro?
Thanks,
Season Two of the Trust Time Trial (T3) Contest has now begun. The fourth round is an accuracy round for multicopters, which requires contestants to fly a cube. The deadline is April 14th.1356 members
54 members
203 members
88 members
24 members
© 2013 Created by Chris Anderson.
Powered by
