sakuraclamp / arducopter

Automatically exported from code.google.com/p/arducopter
0 stars 0 forks source link

New feature request: Fly a route, let the copter log the waypoints, then replay/refly the route with autopilot #249

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
Hello,

today I was out with my brother to fly the new firmware 2.0.25 on my quad.

A good friend came along with his Canon (7d I think...a very expensive one) to 
take some pictures. My brother had the idea of us standing tall and the copter 
flying over our heads.

Then he asked something I guess could be a great next feature for the 
Arducopter.

He wanted to know if I could just fly a route/hight, log this path and then let 
the copter fly this track again, but on its own. So that we all could be on the 
picture while the copter flies above our heads.

I was amazed by this Idea. I know the copter can already log all the data 
necessary. Why not re-fly it?

What do you guys and Jason think about this Idea?

I just love it.

CyberCrash

Original issue reported on code.google.com by medifra...@gmail.com on 2 Oct 2011 at 10:49

GoogleCodeExporter commented 8 years ago
CyberCrash, that's an excellent idea, major option for video producers!

Litterally instruct the copter to do a route, then have it refly it as many 
time as necessary to have actors around in perfect shot (for a movie with 
costly cascades ie)

Also perfect to quickly setup a security/surveillance tour around any building, 
area, without having each time to pay attention to that tree, that pole, those 
electric lines etc..

+1 for this core feature, and lets spice up the challenge will ya CyberCrash ;) 
: make the speed flight controlable at any time all the way long (keep route 
and altitude, but be able to slow/fastfoward fly)

Of course each time, the copter would have to start from the same place, in the 
same orientation or go to that location, orient itself and start its mission 
cycle

Original comment by Nielse...@gmail.com on 2 Oct 2011 at 11:27

GoogleCodeExporter commented 8 years ago
and if it could also log cam and replay with it pitch/roll .. that would be wow

Original comment by Nielse...@gmail.com on 2 Oct 2011 at 11:29

GoogleCodeExporter commented 8 years ago
Love it!

Original comment by jasonshort on 3 Oct 2011 at 3:51

GoogleCodeExporter commented 8 years ago
Brilliant!!!!

Original comment by daniel.s...@gmail.com on 4 Oct 2011 at 2:57

GoogleCodeExporter commented 8 years ago
So to get this done you need to save the points. I was thinking about saving 
special points, and overwriting the current points. You would save a dummy 
mission and start writing directly afterwards. We would use a compressed format 
of ints for position. The ints would be an offset of home or the first real 
point of the mission. The Yaw would be saved as an int, and camera control 
could be compressed into bytes.
The key is a small size, and a limited number of points. We only have 1-3 
meters of accuracy anyway, so better to go a little corse at first.

Original comment by jasonshort on 4 Oct 2011 at 6:00

GoogleCodeExporter commented 8 years ago
Just thinking about this more and we should disable logging when this feature 
is used and fill up the flash. We could have ten+ minutes of high resolution 
data.

Original comment by jasonshort on 4 Oct 2011 at 4:25

GoogleCodeExporter commented 8 years ago
10minutes sounds really great. So Jason, do you think this feature would be 
possible?

We would need some additional "AUTO" mode to change between refly of the saved 
route and "normal" waypoint navigation.

Maybe even export the recorded flight path later on to the pc so that the 
flight can be repeated the next day.

Then we need to think about how to enable this flight-recorder (Black box   ... 
like in airplanes) mode. So we need a mode "record" and a mode "play".

Would the saved data be still there the next day/week?

Original comment by medifra...@gmail.com on 4 Oct 2011 at 4:35

GoogleCodeExporter commented 8 years ago
Sure. It would survive power on of off. 
I think this would be cake.
Jason

Original comment by jasonshort on 4 Oct 2011 at 4:36

GoogleCodeExporter commented 8 years ago
;-)   This wouldn't just be cake ... it would be awesome.

Thanks for making this idea come to life.

Original comment by medifra...@gmail.com on 4 Oct 2011 at 4:38

GoogleCodeExporter commented 8 years ago
Wow guys, im unable to help but im watching and will be newbie beta testing for 
sure! 

Original comment by Nielse...@gmail.com on 5 Oct 2011 at 12:54

GoogleCodeExporter commented 8 years ago

Original comment by jasonshort on 15 Oct 2011 at 11:36

GoogleCodeExporter commented 8 years ago
The trajectory recording idea is brilliant, and very useful when prooved 
reliable.
I suggest the recording flight may be flown using different and changing flight 
modes.
Maybe starting out in stable, switching to loiter, various alt hold modes and 
so on.

Original comment by tomas.so...@gmail.com on 30 Nov 2011 at 10:51

GoogleCodeExporter commented 8 years ago
We have a working implementation is WP recording, although it's manual 
recording. You need to flip CH7 high for one second to record the WP. It works 
great though!
Jason

Original comment by jasonshort on 30 Nov 2011 at 11:11

GoogleCodeExporter commented 8 years ago
Jason,
     I think we can close this one 'cuz we're close enough with the CH7 feature.  what do you think?

Original comment by rmackay...@gmail.com on 14 Feb 2012 at 1:38

GoogleCodeExporter commented 8 years ago
Hello Jason,
yes, sure. I think we can close it.

I am really thankful that you took on the challenge to make this feature 
possible.

Thanks
Best Regards
Kai

Original comment by medifra...@gmail.com on 14 Feb 2012 at 1:48

GoogleCodeExporter commented 8 years ago

Original comment by rmackay...@gmail.com on 14 Feb 2012 at 1:56