
Zoulburner
Sweden
Asked
— Edited

Hey. Thanks for a great program, but i need some help.
I can control my AR DRONE 1.0 from the ARC. 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 64bit
- 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
ARC.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
This event is not displayed correctly because the underlying XML is not well formed. Below is the raw text of the event.
1026200x8000000000000015105ApplicationZoulburnerApplication: ARC.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
Try this: https://www.dropbox.com/s/u0pr12d40k1ot8t/EZ-Builder%20Installer.msi?dl=0
I'm not sure what else can be done...
Crashed with that one also :-(
Okay - try this.... I would like you to uninstall the developer version of ARC that I sent you and install the latest production version. Here are the instructions:
Uninstall ARC (Because if you do not, there will be an error when installing the production copy)
Download the latest from: http://synthiam.com/Products/ARC
Try it
Tried it, failed..
Same results as before.
What system are you using?
i am using windows 8.1 64-bit
8 core cpu..
Hey. 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.
There are no unhandled exceptions - I have made sure of that the other day. The reason it appears this way is because the error is bypassing the exception handling is due to the type of error that is being thrown. The access violation error requires a compiler parameter on the method which tells the runtime interpreter to handle the access violation as a managed exception. Handling an access violation exception in this context will not help us.
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: https://synthiam.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?
That post was too technical for me. ;-)
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?
EZ-Robot doesn't sell the Parrot AR Drone. In Sweden, this is probably your best source: https://www.parrotshopping.com/se/p_parrot_listing.aspx?f=3378 although local hobby resellers may have it.
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