
Zoulburner

Hey.
Thanks for a great program, but i need some help.
I can control my AR DRONE 1.0 from the EZ Builder.
BUT, when i add camera controller component in the program
it takes about 15-30 seconds, then the program crashes
with the following error reports:
OS: Windows 8 64bitCode:
- System
- Provider
[ Name] Application Error
- EventID 1000
[ Qualifiers] 0
Level 2
Task 100
Keywords 0x80000000000000
- TimeCreated
[ SystemTime] 2014-11-24T20:14:22.000000000Z
EventRecordID 15106
Channel Application
Computer Zoulburner
Security
- EventData
EZ-Builder.exe
2014.11.18.0
546b9f48
gdiplus.dll
6.3.9600.17415
54503bef
c0000005
000e9d85
1bd0
01d00822b25a65f7
C:\Program Files (x86)\EZ-Robot Inc\EZ-Builder\EZ-Builder.exe
C:\Windows\WinSxS\x86_microsoft.windows.gdiplus_6595b64144ccf1df_1.1.9600.17415_none_dad8722c5bcc2d8f\gdiplus.dll
79e47332-7416-11e4-8312-50e549c467c1 Code:
This event is not displayed correctly because the underlying XML is not well formed. Below is the raw text of the event.
1026200x8000000000000015105ApplicationZoulburnerApplication: EZ-Builder.exe Framework Version: v4.0.30319 Description: The process was terminated due to an unhandled exception. Exception Info: System.AccessViolationException Stack: at System.Drawing.SafeNativeMethods+Gdip.GdipDrawImageI(System.Runtime.InteropServices.HandleRef, System.Runtime.InteropServices.HandleRef, Int32, Int32) at System.Drawing.Graphics.DrawImage(System.Drawing.Image, Int32, Int32) at EZ_B.Camera.(System.Object) at System.Threading.ThreadHelper.ThreadStart_Context(System.Object) at System.Threading.ExecutionContext.RunInternal(System.Threading.ExecutionContext, System.Threading.ContextCallback, System.Object, Boolean) at System.Threading.ExecutionContext.Run(System.Threading.ExecutionContext, System.Threading.ContextCallback, System.Object, Boolean) at System.Threading.ExecutionContext.Run(System.Threading.ExecutionContext, System.Threading.ContextCallback, System.Object) at System.Threading.ThreadHelper.ThreadStart(System.Object)
Anyone know what to do?
Best regards. Fredrik
Sweden
2) Do you see any of the camera video before the error?
3) Can you please use the Diagnostic Report and paste the response here? Diagnostic report can be found under Add Control -> General -> Diagnostic Report
4) Have you performed the usual Microsoft Windows debugging procedures? Such as uninstall application, reboot, install application?
1) Yes i am using the latest one.
2)I see the camera from the drone like 15-30 seconds.
And if i use a webcamera it doesnt crash at all.
3
Code:
4) Yes i have :-)
Thank you so much for helping.
Best regards. Fredrik
Sweden
I am really interested in getting color tracking to work :-)
my firmware on the Drone is 1.11.5
i have also tested 1.7.6 but no difference..
i'd like you to configure the tracking speed to very slow half speed before connecting to the AR Drone. When you do this, does the camera last longer?
No..
It crashes in less than a minute.
And if i use my ps3 eyetoy camera it
doesn't crash at all... :-/
- slider is all the way to the LEFT it crashes in 30 seconds?
- slider is all the way to the RIGHT it crashes in 1 minute?
All the way to the left: ~1 minute then crash.
All the way to the right: still running after 10 minutes it seems now..
Hmm...
The video stream is decoded using the ffmpeg library - so the issue appears to be with the framerate specified through that library. I'll take a look and get back to you
Well.. lets see it you find anything. :-)
You are the best..
Thanks! :-)
And later tonight is?
cause it seems that you COME to work when i come HOME from mine ;-)
its 19:45 CET here in Sweden :-)
Thats also the booking email for worlds best firebreather ;-)
https://www.google.se/?gws_rd=ssl#q=guinness+world+records+fredrik+karlsson&spell=1
Copy pasted from event viewer:
Code:
even if i just have camera stream aktive and no tracking it still crashes.
But i have 8.1 :-)
My bad.
I borrowed a windows 7 pc
and it worked alot better on that one..
Sadla i am using windows 8.1
on my own pc..
Crashed in below 20 seconds.
this is what the log looks like if it helps you.
Code:
Code:
The ARC software i Downloaded
today 2014-11-26 was set to highest (to the most left) in tracking speed by Default.
Moved the slider a bit to the right and it took atleast 3 minutes until it crashed again.
The strack trace mentions a thread - which a cross-threading issue would be my first solution. However, the invoke is called on the object when required and tested successfully yesterday. The access violation tells me the object may be attempted to be referenced twice during threading - but I do not see how that can happen either.
There are no blocks of code missing exception handling throughout the entire video system - .Net is surely behaving different within your environment and I do not know why.
I will create another build for you that removes the threading. It will slow the camera and interface down considerably, but if it works that will identify the issue.
Have you created a project for this example? If so, will you share it with me? Use the ATTACH FILE button in this forum to include the project
Okay, i have been diving into the v2 code and pulling my hair out. Looks like i need to take a look at the v1 code. I know the v1 works, but haven't spent any time testing toward this issue because I thought it was the v2.
I just add drone and camera
and go to settings under drone
control to change to V1 and Click
connect. I haven't saved any project
yet cause it crashes..
And yeah. Drone 1.0 it is :-)
Have a nice weekend and i hope you find the issue.
I'm unable to reproduce the issue. We have many computers here and it works with all the ones I tested. I'm confuzzled
But its still confusing that the ps eye is working flawless..
i begin to loose my hair
you are more then welcome to try my pc over teamviewer.
Have a good saturday!
Im starting to give up..
Alan
I will wait a little more then..
:-)
I'm not sure what else can be done...
Code:
Code:
1) Uninstall ARC (Because if you do not, there will be an error when installing the production copy)
2) Download the latest from: http://synthiam.com/Products/ARC
3) Try it
Same results as before.
What system are you using?
i am using windows 8.1 64-bit
8 core cpu..
I am wondering if this have something to do with some sort of unhanded exception.
Seems like as faster it is acquiring the pictures from the network stream, the faster it crashing.
It appeared the error was an access violation due to a cross threading issue. I moved the thread further back in the callstack and combined processing of two threads into one - which will actually speed up the camera processing. The AR Drone v1 returns a pixel format which is incompatible with the 24bit rgb that is required for vision analysis - the method in which the pixel format was modified was changed as well. I ran performance tests on the new method which is significantly faster. Because the process which receives, decodes and creates the drone image is in a background thread, I also walked through the entire trace to ensure every object was invoked if required.
The computer(s) that I have run this on vary from 8 core to 4 core. My laptop is a 2 core 4 logical i7-4500 @ 1.8ghz
Are you certain the error is the same as before? The latest ARC that I had you just install has a different call trace to the error before. The error stack trace must be different on the latest ARC that i asked you to install from this page: http://www.ez-robot.com/EZ-Builder
The AR Drone v1 is very old and has been discontinued for quite a few years - are you upgrading to the v2 for increased stability and additional features?
And yes it is crashing as before.
Not sure what event viewer said
this time tho..
I see no other option but to uppgradera to V2 because i want the tracking to work.
Do you sell V2?
In the USA, we have a chain store called Brookstone that keeps it in stock, and of course Amazon sells it and ships anywhere.
Alan
Time to sell my V1.0
No idea if or when EZ-Robot will support the BeeBop. Parrot made a lot of changes between the v1 and v2 and didn't publish the SDK so it took a lot of time for DJ to add support for the v2.
Alan
you will need to uninstall the current installation before installing this
:-)
It SEEMS like the issue is gone after i installed "visual Studio 2013#" from microsoft on my pc.
Can it be the solution? maybe my pc wanted some drivers or dll´s from the Visual Studio 2013?
i mean, you have it on your pc right?
If it is the soultion, maybe you can make a new build and restore all the
things you have changed in the program so it is a "final release"
that everyone can download and that it is not "modified" just to
suite my problem?
Best regards.
Fredrik
Sweden
i will try with the new build that you gave me..
The build you gave me also crashes..
Saving the time and some money to buy AR Drone 2.0 instead.
Thank you for the time you have spent trying to help me
Really good support man!
I will recommend you :-)
i mark this one as resolved ;-)