ArduCopter IR Sensors

Hi all,

I have a question regarding IR Sensors on the ArduCopter. I have uploaded the ArduCopter NG and included the Rangefinder libraries for Altitude hold and Obstacle Avoidance. Sonar for Altitude hold works fantastic, however im not too sure if the IR sesors are giving input to the APM. The IR sensors themselves are working as i have tested them wih the test code, only when flying doesn't seem to move in the correct direction when it detects something or not sure if its moving at all.

 

I tried to look at this:

  http://diydrones.com/profiles/blogs/arduimu-quadcopter-part-iii?id=705844%3ABlogPost%3A161346&page=10#comments

 

and implement its but the code is totally different. The 4 Ir sensors on my Quad are connected to Analog inputs 2-5 and the Grnd and +5v are tapped onto the apm's Grnd & +5v.

 

Any help would be great!

 

Thanks

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

Join diydrones

Email me when people reply –

Replies

  • Hi,

     

    I am trying to implement something like this as well. Have you get any help for this yet?

     

    Thanks,

    GY

This reply was deleted.

Activity