paparazzi-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Paparazzi-devel] AR Drone 2, FTP Upload Error AR Drone memory full?


From: Justin
Subject: [Paparazzi-devel] AR Drone 2, FTP Upload Error AR Drone memory full?
Date: Thu, 14 Apr 2016 11:40:08 -0700 (MST)

Hello,

I am receiving the following error when trying to upload the
rotorcraft_basic flight plan to the AR Drone 2. I have done this many times
before and this error popped up out of the blue. I was uploading edited
flight plans as well before this error popped up.

FTP UPLOAD ERROR: Maybe your ARDrone memory is full?<class
'ftplib.error_perm'>

I tried looking into what is causing it. I am unsure about where this memory
is that the message is referring to. Is there a particular file directory I
should clean out perhaps? The /data/video is pretty much empty. No pictures
or video on the drone. Haven't installed anything on it yet, have only been
running paparazzi. 

We tried uploading to the drone through multiple machines with Paparazzi,
and received the same error message.

Here is where it is coming from in parrot_utils.py

> #Upload ftp and catch memory-full error
> def uploadfile(ftp, filename, content):
>     try:
>         ftp.storbinary("STOR " + filename, content)
>     except ftplib.error_temp:
>         print("FTP UPLOAD ERROR: Uploading FAILED: Probably your ARDrone
> memory is full.")
>         sys.exit()
>     except:
>         print("FTP UPLOAD ERROR: Maybe your ARDrone memory is full?",
> sys.exc_info()[0])
>         sys.exit()


I looked up the storbinary() in ftplib.py and tried to trace it back but I
failed to find anything.




Here is what the error looks like in Paparazzi

RUN 'make -C /home/justin/paparazzi -f Makefile.ac AIRCRAFT=ardrone2 
ap.upload '
make: Entering directory `/home/justin/paparazzi'
-----------------------------------------------------------------------
Paparazzi version v5.9_devel-341-g0b13661-dirty
-----------------------------------------------------------------------
#######################################
# BUILD AIRCRAFT=ardrone2, TARGET ap
#######################################
Info: settings '/home/justin/paparazzi/conf/settings/nps.xml' unloaded for
target 'ap'
make[1]: Entering directory `/home/justin/paparazzi'
make[1]: Nothing to be done for `flight_plan_ac_h'.
make[1]: Leaving directory `/home/justin/paparazzi'
make[1]: Entering directory `/home/justin/paparazzi'
GENERATE autopilots in
/home/justin/paparazzi/var/aircrafts/ardrone2/ap/generated/
make[1]: Leaving directory `/home/justin/paparazzi'
make[1]: Entering directory `/home/justin/paparazzi'
make[1]: Nothing to be done for `radio_ac_h'.
make[1]: Leaving directory `/home/justin/paparazzi'
cd sw/airborne; make -j4 TARGET=ap all
make[1]: Entering directory `/home/justin/paparazzi/sw/airborne'

Using CC   = arm-linux-gnueabi-gcc
GCC version:
arm-linux-gnueabi-gcc (Ubuntu/Linaro 4.7.3-12ubuntu1) 4.7.3

make[1]: Leaving directory `/home/justin/paparazzi/sw/airborne'
cd sw/airborne; make TARGET=ap upload
make[1]: Entering directory `/home/justin/paparazzi/sw/airborne'
Kill running ap.elf and make folder paparazzi
Uploading 'ap.elf' from /home/justin/paparazzi/var/aircrafts/ardrone2/ap to
paparazzi
#pragma message: Please wait, uploading can take some time...
FTP UPLOAD ERROR: Maybe your ARDrone memory is full? <class
'ftplib.error_perm'>
======================== ARDrone 2 Status ========================
Version:                2.4.8
Host:                   192.168.1.1 ( after boot)
Serial number:          PS721003AJ4K100674
Network id:             ardrone2_100674
Motor software:         1.43    1.43    1.43    1.43
Motor hardware:         6.0     6.0     6.0     6.0
Currently running:      Native (program.elf),
Autorun at start:       Not installed
Vision framework:       

======================== Filesystem Status ========================
Filesystem                Size      Used Available Use% Mounted on
ubi1:system              26.3M     14.1M     10.9M  56% /
tmp                      57.7M    648.0K     57.1M   1% /tmp
dev                      57.7M         0     57.7M   0% /dev
ubi0:factory              4.8M     84.0K      4.5M   2% /factory
ubi2:update              13.2M    172.0K     12.3M   1% /update
ubi2:data                53.5M      3.9M     46.9M   8% /data
make[1]: Leaving directory `/home/justin/paparazzi/sw/airborne'
make: Leaving directory `/home/justin/paparazzi'

DONE 'make -C /home/justin/paparazzi -f Makefile.ac AIRCRAFT=ardrone2 
ap.upload'


I tried looking around for anyone who has had the same issue but haven't had
any luck. 

Thanks.



--
View this message in context: 
http://lists.paparazziuav.org/AR-Drone-2-FTP-Upload-Error-AR-Drone-memory-full-tp17898.html
Sent from the paparazzi-devel mailing list archive at Nabble.com.



reply via email to

[Prev in Thread] Current Thread [Next in Thread]