**** BEGIN LOGGING AT Wed Aug 20 02:59:59 2014 Aug 20 04:41:15 http://diydrones.com/profiles/blogs/first-flight-of-ardupilot-on-linux Aug 20 09:13:24 Abhishek_: ping Aug 20 11:21:13 alexanderhiam : are the camera libraries working on PyBBIO ? Aug 20 12:04:21 vvu: pong Aug 20 12:28:02 * Abhishek_ gets poked by karki Aug 20 13:45:14 vvu: ping Aug 20 13:45:49 praveendath92: pong Aug 20 13:46:25 looked at the final video Aug 20 13:46:29 good job! Aug 20 13:46:35 Thanks :) Aug 20 13:46:54 so everything is done? just bugs to fix ? Aug 20 13:46:58 I started new branches in both the repos. Aug 20 13:47:05 For HID support. Aug 20 13:47:24 As of now, I see only one random bug. Aug 20 13:47:30 which one ? Aug 20 13:47:36 the full memory one ? Aug 20 13:47:39 That occurs when the transfers are too high for a long time. Aug 20 13:47:48 Slow path one. Aug 20 13:48:08 where do you think the bottleneck is ? Aug 20 13:48:16 The bottle neck is caused because of garbage collection on Android. Aug 20 13:48:41 It's consuming 25ms everytime it refreshes the image view. Aug 20 13:48:45 but how much memory is your app using ? Aug 20 13:48:50 can you profile it a bit ? Aug 20 13:49:08 https://github.com/praveendath92/bard-droid/issues/2 Aug 20 13:49:29 * vvu is building qt from source on his plain chromebook...what a life Aug 20 13:49:47 Around 1024*768*2 + something bytes minimum. Aug 20 13:50:18 vvu: On a unrelated topic, can we use adb tool seperately? Aug 20 13:50:26 * Abhishek_ is the now the last presentation uploader Aug 20 13:50:34 don't really get the question Aug 20 13:50:41 I want to make a windows & Linux app which can send adb commands. Aug 20 13:51:12 praveendath92: so your app uses 1.5 MB Aug 20 13:51:17 why is the GC going there Aug 20 13:51:20 it should not Aug 20 13:51:25 or your calculation is not right :) Aug 20 13:51:30 Abhishek_: Where are the other videos posted? On the report threads? I found only vmarol's Aug 20 13:51:51 praveendath92: G+ Aug 20 13:51:55 * vvu did not do a final video last year :) Aug 20 13:52:35 praveendath92: do you have local objects ? like all the buffers you use ? Aug 20 13:52:38 Abhishek_: Link to the page? Aug 20 13:52:47 try and make them global *singleton style* Aug 20 13:52:54 maybe in this manner the GC won't go there Aug 20 13:53:28 vvu: GC is occurs when I refresh the image from my local buffer. Aug 20 13:54:00 Probably the in-built function that I'm using to build bitmap from raw data is consuming more memory. Aug 20 13:54:08 maybe that one Aug 20 13:54:24 the function is from android core ? Aug 20 13:54:34 vvu: Did you see the issue 2? Link above. Aug 20 13:54:38 Yes. Aug 20 13:55:19 I'm thinking, I will break down the image view into multiple parts (vertically). Aug 20 13:55:31 And update only those portions that have changes. Aug 20 13:55:43 in this way it may work Aug 20 13:56:02 whre is the call to the raw->bitmap ? Aug 20 13:58:13 vvu: https://github.com/praveendath92/bard-droid/blob/master/src/in/co/praveenkumar/bard/activities/MainActivity.java#L49 Aug 20 13:59:00 praveendath92: try and move the bitmap object global Aug 20 13:59:07 because you allocate and deallocate each time Aug 20 13:59:18 when the updateImage is called Aug 20 14:00:33 praveendath92: gc comes into the scene at the early start of the app? or after some time ? Aug 20 14:00:47 On every image update. Aug 20 14:01:13 try and do minor tweaks Aug 20 14:01:20 but the gc tells you how much has freed right ? Aug 20 14:01:27 Oh. I haven't tried global declaration. Aug 20 14:01:34 Yes. Aug 20 14:01:34 praveendath92: karki's: https://www.youtube.com/watch?v=iHVhG-9td0M ; rseethamraju's : https://www.youtube.com/watch?v=mp398Lkmzak ; DiegoTc's : https://www.youtube.com/watch?v=CIugTSnqcf4&list=PL69IT_VOI_hqOGoWoOjbw0YTUsDLJNBdo&index=3 Aug 20 14:01:46 Around 9Mb. Aug 20 14:01:59 but each frame is that big ? Aug 20 14:02:02 Abhishek_: Sorry for the trouble. I meant the G+ page link. Aug 20 14:02:07 Nope. It's not. Aug 20 14:02:23 I will try the global declaration and check. Aug 20 14:02:48 also can't you declare how much memory your app needs or smth like that ? Aug 20 14:03:06 just tell the OS you need 10MB or so, if you can Aug 20 14:03:47 I will try the global declaration of Bitmap. It should work. Aug 20 14:04:11 ok Aug 20 14:04:22 just remove all new's from there and make buffers global Aug 20 14:04:23 Unless the huge usage is a result of setImageBitmap method. Aug 20 14:04:30 we will see Aug 20 14:04:33 try that and ping me here Aug 20 14:05:55 praveendath92: https://plus.google.com/communities/104960311812236799231 Aug 20 14:06:11 Abhishek_: Thanks :) Aug 20 14:12:30 praveendath92: http://www.war-worlds.com/blog/2012/06/on-android-garbage-collection-can-kill-you Aug 20 14:41:39 praveendath92: any update ? Aug 20 14:42:25 I'm at Friend's home. No beagle bone with me right now. Aug 20 14:42:41 oh ok Aug 20 14:42:44 I will post the update sometime today in an email. Aug 20 15:53:22 <_av500_> gm Aug 20 15:53:35 hello Aug 20 16:04:57 jkridner: ping Aug 20 16:05:26 don't we have meeting now ? :) Aug 20 16:05:56 hi vvu Aug 20 16:06:03 in #beagle-mentors Aug 20 16:06:15 invite me :) Aug 20 16:07:17 thx Aug 20 16:08:01 panto: you around? Aug 20 16:08:28 jkridner, yeah Aug 20 16:12:32 hmmmmmm Aug 20 16:18:53 jkridner: don't think i can manage the flasher on windows...there are some problems with the usb system. like the ROM goes in some bogus mode Aug 20 16:19:14 tested on 3 machines and same behaviour...posted back on libusb ML maybe i get an answer Aug 20 16:19:28 any chance you can put the usb analyzer there ? Aug 20 16:20:50 <_av500_> vvu: I can once I get back Aug 20 16:21:26 _av500_: thx, ping me when you have hw avaialble so i can give you instructions :) Aug 20 16:23:44 vvu: yeah. my analyzer won't work on the laptop I got, but I'm at TI Dallas some this week and will be able to pull a USB trace. Aug 20 16:24:54 jkridner: _av500_ after i install WinUSB drivers the ROM just hangs in a bogus state Aug 20 16:25:06 does not even reset itself, how it should do Aug 20 16:25:13 at least how it behaves on linux Aug 20 16:34:08 _av500_: jkridner http://sourceforge.net/p/libusb/mailman/message/32697265/ Aug 20 16:34:18 this is the libusb mail I have sent, all the details of the problem are there Aug 20 16:34:26 thanks **** ENDING LOGGING AT Thu Aug 21 02:59:59 2014