Difference between revisions of "Talk:AR Drone 2/getting started advanced"

From PaparazziUAV
Jump to navigation Jump to search
 
Line 1: Line 1:
proposition de changement pour le chapitre "Get the sourcecode"
Change proposal for "Get the sourcecode"


----
----
Line 17: Line 17:


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


Line 35: Line 35:
that one https://github.com/RoboticaTUDelft/paparazzi.git, does not compile as of august 15th 2013.  
that one https://github.com/RoboticaTUDelft/paparazzi.git, does not compile as of august 15th 2013.  
Here is the log I get for ref.
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
<PRE>
/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
</PRE>

Latest revision as of 16:47, 14 August 2013

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