AR Drone 2, PaparazziUAV, and image tracking.

classic Classic list List threaded Threaded
5 messages Options
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

AR Drone 2, PaparazziUAV, and image tracking.

Justin
CONTENTS DELETED
The author has deleted this message.
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

Re: AR Drone 2, PaparazziUAV, and image tracking.

flixr
Administrator
Hi Justin,

was hoping that someone with experience with the ARDrone2 would answer...

In any case it seems to me like the first (and maybe most difficult) step is to get OpenCV running on the ARDrone2 itself...
Also calling python functions from the flight plan is quite hard...

If you want to stick with python and OpenCV, then reading that data (video stream) on the ground would probably be easier... although with the drawbacks of not having it onboard...
For commanding the drone from the ground you could e.g. switch to guided mode and command new positions/velocites.
You might want to take a look at the simple example: https://github.com/paparazzi/paparazzi/blob/master/sw/ground_segment/python/guided_mode_example.py

Hope that helps,
Felix

On Sat, Apr 2, 2016 at 9:39 PM, Justin <[hidden email]> wrote:
Hello everyone,

My team is currently working on a project with an AR Drone 2. We are trying
to use paparazziuav with image tracking code. The concept is to create a
flight plan where we have the drone fly to a waypoint. Once at the waypoint,
have the drone run our code where it detects a specific object and
autonomously follows it around for a set amount of time. When it is
finished, have the drone fly back home. None of us are very familiar with
xml at the moment. The object tracking and following code is in python, and
uses OpenCV.

My question is whether or not our concept seems possible.

We also tried running the tracking code and then paparazzi, and found out
about how ports work after the tracking code crashed once paparazzi code was
uploaded. We had wanted to have a window displaying the video stream with
the code. I saw from the wiki about the gstreamer option, which I am looking
into further.

Thanks for your time.
Justin



--
View this message in context: http://lists.paparazziuav.org/AR-Drone-2-PaparazziUAV-and-image-tracking-tp17846.html
Sent from the paparazzi-devel mailing list archive at Nabble.com.

_______________________________________________
Paparazzi-devel mailing list
[hidden email]
https://lists.nongnu.org/mailman/listinfo/paparazzi-devel


_______________________________________________
Paparazzi-devel mailing list
[hidden email]
https://lists.nongnu.org/mailman/listinfo/paparazzi-devel
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

Re: AR Drone 2, PaparazziUAV, and image tracking.

Christophe De Wagter
In reply to this post by Justin

If your vision code is not too heavy, this sounds possible.

Look at the videothread, cv

We also cross compiled part of opencv for bebop/ardrone in github.com/tudelft/opencvbebop. That is C++ and not python though.

I recommend making a new module like cv-color.XML and calling opencv c++ functions.

Hello everyone,

My team is currently working on a project with an AR Drone 2. We are trying
to use paparazziuav with image tracking code. The concept is to create a
flight plan where we have the drone fly to a waypoint. Once at the waypoint,
have the drone run our code where it detects a specific object and
autonomously follows it around for a set amount of time. When it is
finished, have the drone fly back home. None of us are very familiar with
xml at the moment. The object tracking and following code is in python, and
uses OpenCV.

My question is whether or not our concept seems possible.

We also tried running the tracking code and then paparazzi, and found out
about how ports work after the tracking code crashed once paparazzi code was
uploaded. We had wanted to have a window displaying the video stream with
the code. I saw from the wiki about the gstreamer option, which I am looking
into further.

Thanks for your time.
Justin



--
View this message in context: http://lists.paparazziuav.org/AR-Drone-2-PaparazziUAV-and-image-tracking-tp17846.html
Sent from the paparazzi-devel mailing list archive at Nabble.com.

_______________________________________________
Paparazzi-devel mailing list
[hidden email]
https://lists.nongnu.org/mailman/listinfo/paparazzi-devel

_______________________________________________
Paparazzi-devel mailing list
[hidden email]
https://lists.nongnu.org/mailman/listinfo/paparazzi-devel
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

Re: AR Drone 2, PaparazziUAV, and image tracking.

Roland Meertens
Dear Robin, 

To help you kickstart your project you can follow our course here: mavlabcourse.tk

Good luck!

- Roland

2016-04-06 23:49 GMT+02:00 Christophe De Wagter <[hidden email]>:

If your vision code is not too heavy, this sounds possible.

Look at the videothread, cv

We also cross compiled part of opencv for bebop/ardrone in github.com/tudelft/opencvbebop. That is C++ and not python though.

I recommend making a new module like cv-color.XML and calling opencv c++ functions.

Hello everyone,

My team is currently working on a project with an AR Drone 2. We are trying
to use paparazziuav with image tracking code. The concept is to create a
flight plan where we have the drone fly to a waypoint. Once at the waypoint,
have the drone run our code where it detects a specific object and
autonomously follows it around for a set amount of time. When it is
finished, have the drone fly back home. None of us are very familiar with
xml at the moment. The object tracking and following code is in python, and
uses OpenCV.

My question is whether or not our concept seems possible.

We also tried running the tracking code and then paparazzi, and found out
about how ports work after the tracking code crashed once paparazzi code was
uploaded. We had wanted to have a window displaying the video stream with
the code. I saw from the wiki about the gstreamer option, which I am looking
into further.

Thanks for your time.
Justin



--
View this message in context: http://lists.paparazziuav.org/AR-Drone-2-PaparazziUAV-and-image-tracking-tp17846.html
Sent from the paparazzi-devel mailing list archive at Nabble.com.

_______________________________________________
Paparazzi-devel mailing list
[hidden email]
https://lists.nongnu.org/mailman/listinfo/paparazzi-devel

_______________________________________________
Paparazzi-devel mailing list
[hidden email]
https://lists.nongnu.org/mailman/listinfo/paparazzi-devel



_______________________________________________
Paparazzi-devel mailing list
[hidden email]
https://lists.nongnu.org/mailman/listinfo/paparazzi-devel
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

Re: AR Drone 2, PaparazziUAV, and image tracking.

Justin
In reply to this post by Justin
CONTENTS DELETED
The author has deleted this message.
Loading...