ARDrone: Unterschied zwischen den Versionen

Aus FunkFeuer Wiki
Wechseln zu: Navigation, Suche
(OLSRD - HowTo / Build @ Debian 5.0)
(FILESYSTEM)
Zeile 88: Zeile 88:
 
  fstab          hostname      httpd.conf    init.d        ld.so.cache    olsrd.conf    profile        udhcpd.conf
 
  fstab          hostname      httpd.conf    init.d        ld.so.cache    olsrd.conf    profile        udhcpd.conf
 
  group          hosts          inetd.conf    inittab        nsswitch.conf  passwd        protocols
 
  group          hosts          inetd.conf    inittab        nsswitch.conf  passwd        protocols
 +
 +
-> /etc/init.d
 +
rcS
  
 
=== API ===
 
=== API ===

Version vom 13. November 2010, 20:06 Uhr

ARDrone

Parrot produces a very nice quadcopter called "ARDone"

Homepage: http://ardrone.parrot.com/parrot-ar-drone/usa/

In Vienna you can get them at Mediamarkt for 300,- EUR

We plan to make a mesh of flying drones.


FAQ

  • how long can it fly?
Approximately 15 minutes
  • how much can it carry?

Approx. 200 grams


Documentation

Hardware

  • Linux myhost 2.6.27.47-parrot-01227-g93dde09 #1 PREEMPT Fri Jul 2 15:23:06 CEST 2010 armv5tejl GNU/Linux
  • Processor : ARM926EJ-S rev 5 (v5l)
  • Mykonos Parrot platform,
  • REv: 0904
  • Memory: 128MB RAM
  • Wi-Fi: AR6000



The Wi-Fi chip seems to have it's own SDIO interface driver. Anyway, the good news for us is, that ad-hoc mode works very well.


OLSRD - HowTo / Build @ Debian 5.0

Add new Source to /etc/apt/sources.list:

deb http://www.emdebian.org/debian/ lenny main

Get new Update´s!

sudo apt-get update

Copy & Paste into Shell:

sudo apt-get install emdebian-archive-keyring libc6-armel-cross libc6-dev-armel-cross binutils-arm-linux-gnueabi gcc-4.3-arm-linux-gnueabi g++-4.3-arm-linux-gnueabi apt-cross dpkg-cross libncurses5-dev
sudo apt-get update

Download/Extract Latest STABLE OLSRD Release: (Example)

wget http://www.olsr.org/releases/[VERSION]/olsrd-[VERSION].tar.gz
tar xfv olsrd-[VERSION].tar.gz
cd olsrd-[VERSION]

Edit Makefile.inc:

vi Makefile.inc

Press [ i ]

CC=gcc-4.3-arm-linux-gnueabi

Press [ ESC ] & type [ :wq ] & PRESS ENTER

Compile OLSRD:

make
make libs

Now olsrd is Compiled and ready for AR.Drone!

FILESYSTEM

-> /
bin       dev       factory   home      mnt       root      sys       update    var
data      etc       firmware  lib       proc      sbin      tmp       usr       www
-> /bin
ash               cp                false             ip                mv                pwd               stat              vi
busybox           cttyhack          fgrep             ipcalc            netstat           random_ip         stty              watch
cat               date              gdbserver         kill              olsr.sh           random_mac        sync             wifi_setup.sh
channelselector   dd                getopt            ln                olsrd             reset_dhcp.sh     tar               zcat
check_update.sh   df                grep              ls                pairing_setup.sh  rm                touch
checkplf          dmesg             gunzip            mkdir             pidof             rmdir             true
chgrp             echo              gzip              mknod             ping              sed               umount
chmod             egrep             hostname          mktemp            program.elf       sh                uname
chown             factory_reset_cb  httpd             mount             ps                sleep             usleep
-> /etc
fstab          hostname       httpd.conf     init.d         ld.so.cache    olsrd.conf     profile        udhcpd.conf
group          hosts          inetd.conf     inittab        nsswitch.conf  passwd         protocols
-> /etc/init.d
rcS

API

Links / external documentation

Pics