Talk:AR Drone 2/getting started advanced

From PaparazziUAV
Jump to navigation Jump to search

Change proposal for "Get the sourcecode"



Now we need to get the Paparazzi sourcecode

$ mkdir -p ~/develop
$ cd ~/develop
$ git clone https://github.com/RoboticaTUDelft/paparazzi.git

Or if you want to use AR Drone and Paparazzi control via SDK

$ git checkout minor2

This will create a directory named Paparazzi in the folder called 'develop'


should be i think, even though i am a linux newbie, and paparazzi newbie, something like:


Now we need to get the Paparazzi sourcecode

$ mkdir -p ~/develop
$ cd ~/develop
$ git clone https://github.com/RoboticaTUDelft/paparazzi.git paparazzi

This will create a directory named Paparazzi in the folder called 'develop'

If instead of the RAW mode, you want Paparazzi to control the AR Drone via the AR Drone SDK, then select another source code branch

$ git checkout minor2

While https://github.com/paparazzi/paparazzi.git does compile, that one https://github.com/RoboticaTUDelft/paparazzi.git, does not compile as of august 15th 2013. Here is the log I get for ref.

This was compiled with a fresh ubuntu as specified. Even after full ubuntu system update, the error remains.

Everything seems to go fine until..i get

/opt/paparazzi/arm-multilib/bin/arm-none-eabi-gcc -Os -g3 -Istm32/include -mcpu=cortex-m3 -mthumb -msoft-float -DSTM32F1 -I../../libopencm3/include --function-sections --data-sections -DVERSION="\"V1.1\"" -DDEV_SERIAL="\"NSERIAL\""   -c -o luftboot.o luftboot.c
luftboot.c: In function 'main':
luftboot.c:448:9: note: #pragma message: Luftboot using 12MHz external clock to PLL it to 72MHz.
luftboot.c:463:2: error: too many arguments to function 'usbd_init'
../../libopencm3/include/libopencm3/usb/usbd.h:42:21: note: declared here
make[2]: *** [luftboot.o] Error 1
make[1]: *** [luftboot.module] Error 2
make: *** [ext] Error 2