DIY flight recorder for less than $50

Router, repeater (extender), GPS unit, antenna, tablet, FPV goggle, HD battery, charger, carrying case... etc.
cherrybombas
Ready for take off
Posts: 18
Joined: 16 Sep 2013, 18:40
Drone Type: AR.Drone 2

Re: DIY flight recorder for less than $50

Post by cherrybombas » 29 Sep 2013, 23:42

one more question, how I get data from the gps using sdk?
thank you!!!!

ShellDude
Batterys getting low
Posts: 957
Joined: 04 Jan 2011, 20:10
Drone Type: Bebop
Location: Philadelphia, PA USA
Contact:

Re: DIY flight recorder for less than $50

Post by ShellDude » 30 Sep 2013, 03:16

see here: https://github.com/paparazzi/paparazzi/ ... e/at_com.h" onclick="window.open(this.href);return false;

you're interested in _navdata_gps_t

add the structure to navdata_common.h and define the key at the end of navdata_keys.h, recompile the sdk and voila!

cherrybombas
Ready for take off
Posts: 18
Joined: 16 Sep 2013, 18:40
Drone Type: AR.Drone 2

Re: DIY flight recorder for less than $50

Post by cherrybombas » 30 Sep 2013, 17:22

ShellDude wrote:see here: https://github.com/paparazzi/paparazzi/ ... e/at_com.h" onclick="window.open(this.href);return false;" onclick="window.open(this.href);return false;

you're interested in _navdata_gps_t

add the structure to navdata_common.h and define the key at the end of navdata_keys.h, recompile the sdk and voila!
something like that!!!, can you explain more, please?.
Which program I can compile this code? thanks you

pawelsky
Serious flight time
Posts: 1272
Joined: 02 Aug 2012, 22:01
Drone Type: Bebop
Location: Poland
Contact:

Re: DIY flight recorder for less than $50

Post by pawelsky » 30 Sep 2013, 18:07

cherrybombas wrote:can you explain more, please?.
Which program I can compile this code? thanks you
Would you mind creating a separate thread for the SDK/navdata related stuff (or maybe even joining this one)? :)

Would be nice to keep this thread focused on the DIY FlightRecorder hardware.

cherrybombas
Ready for take off
Posts: 18
Joined: 16 Sep 2013, 18:40
Drone Type: AR.Drone 2

Re: DIY flight recorder for less than $50

Post by cherrybombas » 26 Nov 2013, 23:44

well, I change the AR.Drone 2, I uploaded firmware 2.4.1, I connected the Flight Recorder (gps) and with Iphone it's worked ok, but I can't connect with QGroundControl and it does not have gps.log, gps.verbose and gps.brick. Do you know what happen?

pawelsky
Serious flight time
Posts: 1272
Joined: 02 Aug 2012, 22:01
Drone Type: Bebop
Location: Poland
Contact:

Re: DIY flight recorder for less than $50

Post by pawelsky » 27 Nov 2013, 00:10

cherrybombas wrote:well, I change the AR.Drone 2, I uploaded firmware 2.4.1, I connected the Flight Recorder (gps) and with Iphone it's worked ok, but I can't connect with QGroundControl
Can you connect to QGC without the FR?
cherrybombas wrote:and it does not have gps.log, gps.verbose and gps.brick. Do you know what happen?
How do you know that?

cherrybombas
Ready for take off
Posts: 18
Joined: 16 Sep 2013, 18:40
Drone Type: AR.Drone 2

Re: DIY flight recorder for less than $50

Post by cherrybombas » 27 Nov 2013, 00:21

Sorry, FR is france??, I use putty to go in to ar drone.

pawelsky
Serious flight time
Posts: 1272
Joined: 02 Aug 2012, 22:01
Drone Type: Bebop
Location: Poland
Contact:

Re: DIY flight recorder for less than $50

Post by pawelsky » 27 Nov 2013, 01:37

cherrybombas wrote:Sorry, FR is france??, I use putty to go in to ar drone.
FR = Flight Recorder

You telnet to Drone and then what? How do you tell the gps.xxx flags are not working?

cherrybombas
Ready for take off
Posts: 18
Joined: 16 Sep 2013, 18:40
Drone Type: AR.Drone 2

Re: DIY flight recorder for less than $50

Post by cherrybombas » 27 Nov 2013, 05:33

jaja, sorry.
the last Ar.Drone, I connected the AR.Drone with my computer (wifi) and open QGC, wait 10 seconds, it show me position of ar drone, with this ardrone never connect with QGC but other programs like processing working ok.

pawelsky
Serious flight time
Posts: 1272
Joined: 02 Aug 2012, 22:01
Drone Type: Bebop
Location: Poland
Contact:

Re: DIY flight recorder for less than $50

Post by pawelsky » 27 Nov 2013, 10:26

cherrybombas wrote:jaja, sorry.
the last Ar.Drone, I connected the AR.Drone with my computer (wifi) and open QGC, wait 10 seconds, it show me position of ar drone, with this ardrone never connect with QGC but other programs like processing working ok.
If you cannot connect to QGC regardless of whether the FR connected or not then I'm afraid I can't help. Ask in QGC related threads.

cherrybombas
Ready for take off
Posts: 18
Joined: 16 Sep 2013, 18:40
Drone Type: AR.Drone 2

Re: DIY flight recorder for less than $50

Post by cherrybombas » 29 Nov 2013, 00:16

I telneting the drone, I did this:

Code: Select all

killall -9 program.elf
/bin/program.elf -360p.slices 0 -live.tcp -gps.verbose -gps.log &
and it return me this
You do not have the required permissions to view the files attached to this post.

pawelsky
Serious flight time
Posts: 1272
Joined: 02 Aug 2012, 22:01
Drone Type: Bebop
Location: Poland
Contact:

Re: DIY flight recorder for less than $50

Post by pawelsky » 29 Nov 2013, 00:34

cherrybombas wrote:I telneting the drone, I did this:

Code: Select all

killall -9 program.elf
/bin/program.elf -360p.slices 0 -live.tcp -gps.verbose -gps.log &
Which firmware?

cherrybombas
Ready for take off
Posts: 18
Joined: 16 Sep 2013, 18:40
Drone Type: AR.Drone 2

Re: DIY flight recorder for less than $50

Post by cherrybombas » 29 Nov 2013, 15:25

2.4.7

pawelsky
Serious flight time
Posts: 1272
Joined: 02 Aug 2012, 22:01
Drone Type: Bebop
Location: Poland
Contact:

Re: DIY flight recorder for less than $50

Post by pawelsky » 29 Nov 2013, 15:48

cherrybombas wrote:2.4.7
Then you must kill program.elf.respawner.sh first as it restarts program.elf automatically when it is killed (added since 2.4.7).

You can also use the script that Parrot included in the firmware that will do all that for you (i.e. stop respawner and kill program.elf)

Just call /bin/kk

pki79
Ready for take off
Posts: 38
Joined: 29 Dec 2013, 00:38
Drone Type: AR.Drone 2
Location: Poland/kaszebe
Contact:

Re: DIY flight recorder for less than $50

Post by pki79 » 04 Jan 2014, 17:20

Hi.

I just want to confirm a sucessfull mod with CP2102 and Sirf3 module. The weight together 20g. Doing good. Next week i will try te other mod with MTK chip to get the 5Hz update frequency.

Thanx to pawelsky

Post Reply

Who is online

Users browsing this forum: No registered users and 6 guests