**** BEGIN LOGGING AT Wed Apr 16 02:59:58 2014 Apr 16 06:33:08 hi Apr 16 07:22:49 jkridner: I just realised that the progress page (on my blog) has not been updated in a while. I will let you know when I update it. Apr 16 12:23:20 alexanderhiam : ping! Apr 16 12:23:52 morning Apr 16 12:24:32 Abhishek_ : evening ;) Apr 16 12:24:41 evening karki ;) Apr 16 12:24:51 finals coming up? Apr 16 12:25:04 yup, next week onwards Apr 16 12:25:20 (but just 1 week) Apr 16 12:25:58 I have two weeks before mine starts, ends a week before the start of GSoC! Apr 16 12:27:03 I see Apr 16 12:28:29 So, preparations up? Apr 16 12:29:00 I'm a last minute person when it comes to exams! Apr 16 12:29:24 beagle-pilot guys : ping Apr 16 12:45:07 karki: you’ll have better luck on #beaglepilot :) Apr 16 14:19:19 karki_: hey Apr 16 14:34:02 hI jkridner are you here? Apr 16 14:34:13 yes. Apr 16 14:36:44 alexanderhiam : I had a look at your question + talked to the beaglepilot guys! Apr 16 14:37:04 Had a closer look at what they are doing. Apr 16 14:37:04 great! Apr 16 14:37:18 do you think there's overlap? Apr 16 14:37:52 jkridner: I work in migrating one or two tutorials that are available in bone101 with the card interface? Or I wait to Steve answer after your comments? Apr 16 14:38:30 use your judgement based on how complex the task is. if you are talking something you can do in a day, then go for it. Apr 16 14:39:47 They are working with PRU assembly and C. From what I figured, beaglepilot guys are trying to develop API's in C for the PRU that would help to build quads! Apr 16 14:40:04 right Apr 16 14:40:16 can the API be implemented on top of botspeak? Apr 16 14:40:23 alexanderhiam : where would BotSpeak come in. Apr 16 14:40:49 BotSpeak has a set of commands that could be put in a script, but it would also have immediate commands. Apr 16 14:41:07 karki_: are you familiar with old-style, line number based BASIC interpreters? Apr 16 14:41:22 * jkridner tries to think of a better analogy. Apr 16 14:41:48 I'll look it up. I have worked a decent bit with ARM assembly..... Apr 16 14:42:05 you should be able to send commands to the interpreter at any time. if you send commands between a START_SCRIPT and an END_SCRIPT, they get stored in the script memory. Apr 16 14:42:19 * jkridner forgets the specifics on the commands for starting/ending scripts. Apr 16 14:42:33 so I think the C routines would generate Botspeak scripts and send them to the PRU Apr 16 14:42:35 but, even when a script is running, you can send more commands.... Apr 16 14:42:44 such as commands that would do things they need for building quads. Apr 16 14:42:53 so, you just need to incorporate those commands. Apr 16 14:42:56 I see! Apr 16 14:43:18 the C routines would either generate scripts or be single commands, depending on the flexibility required. Apr 16 14:43:43 of course things like sensor drivers would probably be better to implement in assembly rather than in botspeak Apr 16 14:43:48 can I have a deeper look into the beaglepilot project and get back to you in a while? I think it should be able to do it. Apr 16 14:44:23 there can be a question of do these C routines need to generate PRU tasks that are run in "parallel", so you might not want them to always generate scripts. Apr 16 14:44:40 right Apr 16 14:45:04 the executive should look at the state between executing script commands to see if an output needs to be updated based on generating a PWM signal, etc. Apr 16 14:45:24 which goes back to the idea of having the interpreter be event driven Apr 16 14:45:28 I think the flow diagram I created shows this clearly, but perhaps it needs to be enhanced to make it even more clear. Apr 16 14:45:41 alexanderhiam: absolutely. Apr 16 14:46:23 wait, where's your flow diagram? Apr 16 14:46:50 er, pseudocode: https://github.com/jadonk/pruduino#design Apr 16 14:47:00 oh ok Apr 16 14:48:59 the preprocess step is an attempt to make sure the commands apply signal updates as close to the script clock as possible, to give tight timing control. Apr 16 14:49:14 optimization should try to minimize the number of clocks for the script clock. Apr 16 14:50:10 each period should have enough time to apply the previous command's output, process the worst-case message and pre-process the next command. Apr 16 14:50:13 Currently the beaglepilot guys are working on uio, right? and the botspeak interpreter will be remoteproc based....... Some one from the beaglepilot group I can directly discuss with for sometime? Apr 16 14:50:44 won't they discuss it directly in #beaglepilot? Apr 16 14:51:08 ......running off to beaglepilot! Apr 16 14:51:16 I'd think that as long as the implementation of their C API is simple, they shouldn't care about the communication mechanism to the PRU. Apr 16 14:51:46 you don't even need to mention botspeak, just see what they'd want in a C API Apr 16 14:51:55 true. Apr 16 14:53:49 So the idea is to provide an comfortable C API interface, that internally generates BotSpeak code, sends it to the interpreter on the PRU, PRU executes the command! Apr 16 14:54:28 yeah Apr 16 14:54:35 Hence reducing the effort of the BeaglePilot team (considering they don't have to write PRU specific code) Apr 16 14:54:43 right Apr 16 14:54:44 Interesting! Apr 16 14:55:13 it is a nice test-case for the BotSpeak usage. Apr 16 14:55:47 it would be the same idea for APIs in Bonescript or PyBBIO Apr 16 15:00:58 I will talk to the guys on #beaglepilot and see what we can work out, I will need to get a bit more familiar with what they are doing and what they need! Apr 16 15:02:30 I can mostly fit this in in the examples and accessory function development weeks! It will be great if I can work something out with beaglepilot guys! Apr 16 16:05:36 hi mentors and prospective students.... Apr 16 16:05:46 if you are a mentor, please join us in #beagle-mentors Apr 16 16:06:01 if you need an invite, please say so here. Apr 16 16:06:22 I have spare gmail invites Apr 16 16:45:14 hi Apr 16 16:45:41 lo Apr 16 16:48:14 av500, lol. I choked for a bit there Apr 16 16:50:19 hi dschelt... I just about have an updater for you to test for me, if you are willing/able. Apr 16 16:50:41 Jkridner: sure, I'll test it! Apr 16 16:51:21 mranostay, hey there. Apr 16 16:51:23 is it still hosted at http://beagleboard.org/updater ? Apr 16 16:51:50 yes. Apr 16 16:53:31 dschelt: biggest feature gap right now is lack of unmounting the uSD. Apr 16 16:53:44 K Apr 16 16:53:53 I'll test it out today Apr 16 16:53:55 state machine still needs some rework Apr 16 16:54:29 k. thanks. let me know when you've got a board on the network and a uSD card. :-) Apr 16 16:57:54 k, will do. Apr 16 16:59:15 I assume I need to have the 5V wall adapter for this process, right? That's not mentioned in the step-by-step, fyi. Apr 16 17:02:51 you should be able to power off of USB, but you'll still need an Ethernet connection for your board. Apr 16 17:03:25 or wifi or ICS or something to get to the Internet.... I haven't figured out how to download through the page yet. Apr 16 17:08:00 OK Apr 16 17:08:43 in the past, wasn't it highly recommended to power from the wall? Has something changed to allow flashing over USB power? Apr 16 17:18:59 hello **** ENDING LOGGING AT Thu Apr 17 02:59:58 2014