I'm in urgent need of some help for a project deadline due next week, please can someone help?

We are using a raspberry Pi to perform image recognition from a UAV. The Idea is that the raspberry Pi is connected to a PixHawk, and will send a 1 if there is a person in the picture and a 0 if not. Configuring the pixhawk through missionplanner has not been a problem, but extracting the data is is receiving from the Pi (TELEM2) on a ground station is proving difficult for us (we're mechanical engineers way out of our depth). Please can someone help?

Is missionplanner the correct interface to extract this data? Is there a simple solution?

My email is eayjn1@nottingham.ac.uk - please don't  hesitate to contact me there.

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

Join diydrones

Email me when people reply –

Replies

  • Hi Josh,

    SONAR Sends its distance info. via an analog voltage while the Telem. port requires serial data. If you want to connect the Pi to the Telem. directly then I think this example may be what you're looking for:

    http://ardupilot.org/dev/docs/raspberry-pi-via-mavlink.html

    Cheers!



    Josh Nightingale said:

    Thanks for replying so fast! 

    That's really helpful, giving it a try today! One question - will it be possible to use the SONAR function through the telemetry port or is it necessary to use the 3V ADC do you know? 

    Again thanks so much.


    Crady von Pawlak said:

    I haven't personally tried what you're attempting but there are ways to read inputs as one thing when it's actually something else.  For instance you could tell the Pixhawk your input was from a SONAR module

    http://ardupilot.org/copter/docs/common-rangefinder-maxbotix-analog...

    Or, if your Rx has an unused RSSI input you could drive that directly.  In both cases I believe the voltage would need to be limited to 3.3V

    Communicating with Raspberry Pi via MAVLink — Dev documentation
  • Thanks for replying so fast! 

    That's really helpful, giving it a try today! One question - will it be possible to use the SONAR function through the telemetry port or is it necessary to use the 3V ADC do you know? 

    Again thanks so much.


    Crady von Pawlak said:

    I haven't personally tried what you're attempting but there are ways to read inputs as one thing when it's actually something else.  For instance you could tell the Pixhawk your input was from a SONAR module

    http://ardupilot.org/copter/docs/common-rangefinder-maxbotix-analog...

    Or, if your Rx has an unused RSSI input you could drive that directly.  In both cases I believe the voltage would need to be limited to 3.3V

  • I haven't personally tried what you're attempting but there are ways to read inputs as one thing when it's actually something else.  For instance you could tell the Pixhawk your input was from a SONAR module

    http://ardupilot.org/copter/docs/common-rangefinder-maxbotix-analog...

    Or, if your Rx has an unused RSSI input you could drive that directly.  In both cases I believe the voltage would need to be limited to 3.3V

    Maxbotix Analog Sonar — Copter documentation
This reply was deleted.

Activity