RizkiWahyupratama / ardupilot-mega

Automatically exported from code.google.com/p/ardupilot-mega
0 stars 0 forks source link

Can't download logs from MP #524

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
Thread here: 
http://diydrones.com/forum/topics/can-t-download-my-logs-from-mission-planner-ap
m2-grrrr

Confirmed by 4 users so far. APM2.

Erase the logs with the 'Logs > Erase' command in the CLI. 
Fly for a few minutes, connect again and then go to the Terminal tab of Mission 
Planner 1.1.40, click Log Download I get this screen:

http://api.ning.com/files/0k6AhEWyiBtxgJ8Ww9k33BFQ0XlFi46Gk0167SOPzM7UMXEZ6hkZLt
jGeSRuY4KGunmX3Pq-51zyWK8r0JNv5A__/logsproblem2.gif

Shows no logs to download which clearly there are (see last image). 
It then starts showing the text as in the image, by itself, and the amount 
"Done" increases incrementally for ever if I let it. It got to 27000+ yesterday 
after about 45 minutes!!

The terminal screen shows this:

http://api.ning.com/files/y3FHK3p3ysZ2ymjXqCkMAiiKalJOowVhRHkRuMwTTO6qU1JGC4DZwN
TUkvL6nCjt8OwuSGxsRgaLS2TnM2z5DA__/logs_download.gif

If I Type "logs" in the CLI I get this: 

http://api.ning.com/files/ng2EJoO8YQVpecdyWbnWknbSTMYLmQ9pU040Njj*xv9XAgwBQ5tk03
GSWupZ3iMTmw8ddFAsSXuXj2-IO8OqpQ__/logsproblem3.gif

...showing logs are present.

All these are repeatable every time.

Original issue reported on code.google.com by graham.d...@gmail.com on 23 Feb 2012 at 5:02

GoogleCodeExporter commented 8 years ago
This is happening to me as well, using APM2 with Arducopter 2.4 and Mission 
Planner 1.1.40. Same scenario.

Original comment by yov...@gmail.com on 23 Feb 2012 at 5:30

GoogleCodeExporter commented 8 years ago
I may just make it up, but it seems that the Download Log screen fails to send 
3 enter keys to APM2 to bring it into the CLI mode.

Original comment by lego...@gmail.com on 23 Feb 2012 at 6:50

GoogleCodeExporter commented 8 years ago
[deleted comment]
GoogleCodeExporter commented 8 years ago
I manage to get it working with custom Mission Planner. Problem lies with the 
waiting time needed by mission planner before sending 3 new line command. 
Mission Planner 1.1.40 wait for 2 seconds before sending 3 new line command. I 
guess 2 seconds is not enough for APM2 to boot up and ready to accept command.

I increase the waiting time become 4 seconds and it works.

Original comment by yov...@gmail.com on 23 Feb 2012 at 3:02

GoogleCodeExporter commented 8 years ago
Fixed in v1.1.41. Thank you very much!

Original comment by graham.d...@gmail.com on 24 Feb 2012 at 7:00

GoogleCodeExporter commented 8 years ago
The change for this is done now.

Original comment by graham.d...@gmail.com on 24 Feb 2012 at 7:01

GoogleCodeExporter commented 8 years ago
I see that this is supposedly solved, but there seem to be many comments 
running around with people who are still having log file problems. I have APM2, 
running 2.4, with APM Mission planner version 1.1.97 MAV 1.0. I cannot, for the 
life of me, download my log files. The command prompt does not wait for a 
keyboard input of 3 enters when it asks for it... Help?!

Original comment by CXGiac...@gmail.com on 14 Jul 2012 at 12:50