Let's Make Robots!

Walter's New Teaching Pendant for Head Moves (Virtual)

Is it wrong to give your robot a little head? Or a big head for that matter?

Gone are the days of my old, clunky teaching pendant for Walter's head. I have coded a new one via Processing. Watch the video and enjoy --this is a pretty good one. Code available upon request.

Comment viewing options

Select your preferred way to display the comments and click "Save settings" to activate your changes.

Hey Chris,
Recently I had to re-install everything on puter too.. it wasn't a virus, it was self inflicted.. I kept getting that java crash too, until I looked back in my notes and found out OpenCV needed to be compiled with SSE options OFF.  The details have to do with byte alignment of the JNA interface (yatta yatta)

To get the new dll's in place

  • right click on myrobotlab in Eclipse ---> goto Team --> Update to Head
  • unzip the contents of myrobotlab/thirdParty/bin/windows/OpenCV.2.1.zip into your system32 directory

Thanks for being a m$windows guinea pig, it's very helpful getting my sh*t together for multiple-platforms

Do you want to play ?
... with some code I mean?  I or Chris could hook you up, I didn't know if you were super busy with a gazillion other projects.. We don't have a PICAXE interface at the moment... but Chris is jammin on that..

You are an amazing carpenter!

Download Eclipse & Java SDK for development

Java version

I know your site is alpha right now, but your links are not links!

I can find the java --where is the download for your stuff?

Got to read your post, Specifically read the data communication part..
Like I said I've made an Arduino Service but no PICAXE Service, so now I got to quickly learn the PICAXE Basic stuff...
The Service which controls the Arduino also has a PDE file which contains all the code of the Arduino itself - There's not much most of it is just pass through...

let me read first...

I created page about 3 minutes ago... it's coming...

You know, I am always confused about libraries for bluetooth, and arduino and picaxe. I just don't know why you need them. Here is what I use: myPort.write(?);  --that's it. My bluesmirf appears to processing to simply be a serial port. I don't think that processing even knows, and certainly does not care, that it is actually sending data through bluetooth. My bluetooth/ bluesmirf set-up is just a serial com number to processing. In terms of picaxe-speak, you can set them up to receive data a lot of different ways. They will just sit there (forever) and wait for serial data come in, or they can receive in the background and write to a "buffer" to be read later and they can interrupt on a serial send if you want them to. You can send a qualifier (single byte or string) at the start of your send, or you can include something like a CR to let everyone know it is the end of the data. You can also set the picaxe up to receive a specific number of bytes as well and keep going through the code when it gets this number of bytes.

It is just a simple system --the bluetooth is a serial data-pipe, whatever goes in one end, comes out the other --both ways. The comunication protocal for the picaxe is whatever you want it to be. That's it. Right now, for most of my stuff (like the control panel) I send 3 bytes, a letter, a byte of data and a CR. With 52 letters and 256 choices for the data byte, for most information I need to exchange this is all I need. For example: I would send D,232,CR --this would tell processing that I am sending it the level of my drive battery. D means drive battery, 232 is the level and CR finishes it. When it gets to processing, processing checks the first byte first, runs it through a switch case which then tells the code what to do with the second byte. In this case, the 232 would be reflected by the battery level indicator on the contol panel.

Java version: I have whatever version of java was included in the processing download. Let me know what the most appropriate version to use is and I will be sure to get it.

For the record: I am very excited to offer up Walter as a guinea pig here. Just from your "flow chart" of systems talking to each other, I can tell our minds think the same way. Actully, the more I look at that flow-chart, the more I think that control system idea was what was in the back of my head when I was building walter's control panel. Not to mention, that I adore the thought of getting more thinking power off of walter and into the laptop.

I  am off to check out your website.

We must be on to something... strangely the Arduino service has a 3 byte code too - probably should be 4 for future expansion.. First byte corresponds to the function -
2 = analogWrite
3 = digitalWrite
4 = pinMode ... yatta...

I'm guessing I should go find a PicAxe manual and look for all the output/input commands..

Just stubbed out the PICAXE Service now... gotta go looking for an online manual 

What version/board of PICAXE do you have doing the serial/reading writing to the computer?