Bob the Pleo Forums

Pleo Stuff => Pleo Hardware/Software => How-to and Tutorials => Topic started by: mlbelanger on January 30, 2013, 02:16:42 PM

Title: Who wants to learn beginning Pleo programming?
Post by: mlbelanger on January 30, 2013, 02:16:42 PM
Hi All,

I'm putting together a super-simplified version of the Pleo Developer's Kit designed for first-time Pleo Programmers.  If you've ever looked at the PDK or tried to build a Pleo Application with it then you know it can be pretty confusing at first.

I'm making a download I'm calling myPleo which is the same PDK contents, just moved around and simplified so ANYONE can write a program, compile it by double-clicking a single file, then copy the resulting resource file to an SD card and run it on their Pleo!

You'll need to be comfortable with a basic text editor and interested in learning about programming Pleos.  Other than that, no previous experience is necessary.

If you're interested reply here and let me know if you use Mac, Windows (which version), or Linux.  Is your Pleo a Ugobe or an RB? Also if you know your Pleos Operating System (1.0, 1.1, or 2.0)

This way I can gauge interest and find some early victims... I mean beta-testers...

Michael
Title: Re: Who wants to learn beginning Pleo programming?
Post by: Crewella on January 30, 2013, 02:24:50 PM
Ooooh - how interesting.  If you're willing to put up with a complete noob, then I'm in.  ;D

And I have ...... ahem ........ at least two of everything Pleo wise........  :-[  :moose:

Running Windows XP mostly.
Title: Re: Who wants to learn beginning Pleo programming?
Post by: degers on January 30, 2013, 02:50:43 PM
Ooooh - how interesting.  If you're willing to put up with a complete noob, then I'm in.  ;D

And I have ...... ahem ........ at least two of everything Pleo wise........  :-[  :moose:

Running Windows XP mostly.

2+ Ugobes,
2+ Pleo RBs
2 of Degers' pleos! ;) 

I'd be interested please!

Running windows 7 and XP.
Ugobe pleos.
Title: Re: Who wants to learn beginning Pleo programming?
Post by: Crewella on January 30, 2013, 03:16:22 PM
Heheh ........ Degers has almost no Pleos right now.........  :-[  :P
Title: Re: Who wants to learn beginning Pleo programming?
Post by: kat on January 30, 2013, 04:07:20 PM
Ok I'm interested but not sure if I will be any use to you as I have no idea what a basic text editor is?  I am fairly computer savvy though so will look it up and see if I can put in a crash course so that I am up to speed   :) 
Title: Re: Who wants to learn beginning Pleo programming?
Post by: RedwoodsMama on January 30, 2013, 06:48:02 PM
Hi, I am definitly in! I like many am a "newby" but a willing student :), and with 25 pleos, (and one other on the way...) ;D I think i have the amount of " raw materials" needed. i have 21Ugobes, running everything from 1.0 to the current 2.0, two Unknown or non working pleos, though one worked briefly when I got him this past year, one that runs skits only and 3 Pleo RB.
I have Windows 7, and an older  Windows XP that is just sotting around. As long as I can do most of this stuff with just one hand, and you are willing to accept me, then I would really enjoy learning how to do this. (I also have plenty of the Li-polmer "egg" batteries, so no shortage there. %)

This sounds like a great learning experience!  RWM :cat-hug:
Title: Re: Who wants to learn beginning Pleo programming?
Post by: mlbelanger on January 30, 2013, 07:23:43 PM
Great to see so much enthusiasm!  Everyone is welcomed and no worries if you have little programming experience.  The whole idea is to simplify things and save all of the the 4+ hours I've spent today for instance, trying to get libraries to link correctly in the right order!

I'm hoping to have a first version up online for this weekend.  Please stand by!

In the mean time, what do you wish you could get your Pleo to do through programming?

M.
Title: Re: Who wants to learn beginning Pleo programming?
Post by: InmemoryofRomeo on January 30, 2013, 08:03:29 PM
Ooh, oh, pick me!

I have an iMac running Mountain Lion
2 Ugobes on 2.0
1 2009 Innvo Labs Pleo
4 Pleo RB's all updated
Lot's of enthusiasm for anything technical
Title: Re: Who wants to learn beginning Pleo programming?
Post by: Lunamione7 on January 31, 2013, 06:22:28 AM
I have an elderly Windows XP computer. (and a Windows 98 but I'm sure you don't care about that one...)

I have one RB and I also have a Ugobe running 1.1

I don't have any experience with robot programming apart from Skitter/MySkit and Genibo control manager.

What would I like to get my Pleo to do... I am happy with them as they are to be honest so I wouldn't be interested in personalities (I like the ones they have!) but I would really like them to play games. Tic-Tac-Toe, card games, like these programs for Aibo: http://aibotoys.com/
I love card/board games but have no one to play them with so a robot that can play with me is something I would really enjoy.

If Pleo could play with a ball like My Aibo that would also be fun. I'm sure it could be done as he already has some basic colour tracking skills and he could easily kick a small light weight ball around, Stephan and Tron do it all the time but it is accidental. If they could seek out the ball on purpose I could have a lot of fun. They need not even kick it with their feet, they could push it along with their noses. But mostly I want them to play games with me.
Title: Re: Who wants to learn beginning Pleo programming?
Post by: Talon on January 31, 2013, 11:12:30 AM
I should know better even to try anything of this sort but... *sigh* well here goes. I have long considered modifying my Ugobe pleo's voices so I could tell one from another as they wander around. I'm not sure if I even need programming knowledge for this but I will need help.
Currently I'm running Windows Vista Premium. I'm also totally blind and use the JAWS screenreader software in order to use my computer.
Both my Ugobes are running the 1.0 OS but I can move them to a later version if need be. All this talk of doing our own programming is really exciting! I just wish I had a spare pleo I didn't feel very attached to to experiment with.
Talon
Title: Re: Who wants to learn beginning Pleo programming?
Post by: pnhicks on January 31, 2013, 11:32:07 AM
I do, I do!!!! :cheer: I missed the post, because a real world incident (some people refer to as "work", "the job", "the salt mine", etc :P) interfered with my bob the pleo time!  :dino-chase: How very rude!  >:D After nearly two years of unemployment, I thought I was done (as stick a fork in me , at the tender age of 55), but lo and behold their came a job offer right when someone says "hey who wants to learn how to program Pleos?"  Is life insanely cruel or what? ??? ??

I was on top of tech, but then it passed me by!  I was a visual basic guy sort of with interest in Java and C, and ideas about assembly level stuff, but a Very long time ago, in a galaxy far away...

I don't have a Pleo YET, I keep getting outbid on Ebay or the time when I won, it didn't arrive and I didn't pay via Paypal (how do you say sucker in German?).

Anyway when I don't work for money, I like to volunteer at Canem Assistance and Therapy in Zaragoza Spain, and we are investigating the use of Pleos as therapy pets.  Alternate personalities or even cooler would be remote control Pleo.  The RBs are nice, but acording to PleoPet seem to be harder to hack and perhaps not that much more bang for buck and for a charity that is a big factor!

I have a windows 7 machine but I can create a linux partition if necessary (dual booting).

I think that's it for now.... oh if any of you Pleo addicts have a Pleo that has been "loved hard and put up wet" and could possibly let it go for a good price, let me know!! ;)
Title: Re: Who wants to learn beginning Pleo programming?
Post by: mweed on January 31, 2013, 11:39:05 AM
Talon, your issue may be/probably better addressed by having someone with audio software take all the sound files and adjust the pitch to raise/lower/or otherwise alter the voice, put them all on an SD card and use the built-in sound shadowing do the rest.  No real programming needed, and no change is made to personality . . . the pleo with the SD card just sounds different.  And you don't really have to do all the sounds either.  
Title: Re: Who wants to learn beginning Pleo programming?
Post by: mlbelanger on January 31, 2013, 04:05:06 PM
Hey mweed,

In regards to the sound shadowing, I think it was IMR who told me there are about 300 sound files on the built-in Personality.  Do we have a complete copy of those somewhere and/or a file-name list?  Otherwise I'm assuming we'd need to extract them using DinoMite?

My plans with myPleo is to have a stock set of sounds, most of the ones that come with the PDK (about 50 sounds) and add to them some useful sounds for debugging programs as they run, (counting numbers 1-10, and words like "program", "subroutine," etc.  To make these as seamless as possible coming out of an adorable Pleo Kami and I were discussing the idea of a Pleo-esque "Scooby-Do" type voice.  We might end up with 100 sounds or so for writing programs from scratch.

To change the voice on those people would just need to record their own versions of the 100 files in whatever voice they liked and swap the .wav files in the PDK prior to building their applications.  So Aussie Pleo, Southern Pleo, Baby Pleo, you name it.

Michael
Title: Re: Who wants to learn beginning Pleo programming?
Post by: mlbelanger on January 31, 2013, 04:22:06 PM
Talon,

As mweed suggested once I get a full set of all 300 sound files from the built-in personality, I can batch process a pitch shift on all of them to make a couple of new voices for you.  But if you want to learn programming then I'd say go for it as well.  The big issue for you will be handling everything using your screen reader.  You'll need to navigate the windows file system (which I assume you do all the time anyway), edit plain text files, and then run some scripts from a command prompt.  Luckily it's all text based so tedious but totally doable.

I'm also reducing the amount of code in the main and sensor files for the myPleo application so there will be way less stuff in there for you to listen to compared to the full files from the PDK.

Michael
Title: Re: Who wants to learn beginning Pleo programming?
Post by: fancyfont on January 31, 2013, 04:26:21 PM
I would like to give it a go Mike B. Not sure if I could learn and I'm sure Degers, IMR and Mike Weed are saying to themselves "Oy Vey, Not fancyfont" But I can give it a try.
I have a MacAir and running Mountain Lion. Have one Ugobe on the original Os, two more on 1.1 and two on 2.0. I  have a RB.,  Not sure if there were any upgrades on these! :-[
Title: Re: Who wants to learn beginning Pleo programming?
Post by: mlbelanger on January 31, 2013, 05:12:58 PM
Greetings All,

Awesome that so many people are interested!

It looks like the most stable version of computer and Pleo is going to be Windows of some sort and a Ugobe Pleo running 1.1.  I've run into an issue building "command" files on the Mac and I'm not sure if it will be resolved or not so I'll probably create the first version of the myPleo bundle with no command files, just straight motions and sounds.  That way it should work fine on Macs as well. (if anyone has successfully gotten the sound_command example file to build on a Macintosh please contact me ASAP!)

Kami will probably be matching whatever I do on the PrbDK with her two rbs so if you absolutely had to develop on just an rb then you could do it with her version of things, but I won't promise any "customer support" in that regard since I don't have any rbs to test anything on at the moment.

This weekend I'll try out the PDK tools on my Windows 7 machine.  I'm not sure if the 64 bit Windows problem is just the driver for the USB connection or the actual build tools.  If it's just the USB that won't work we can live without that for now if anyone happened to have a 64 bit Windows machine.

So all you'll be needing aside from a Ugobe Pleo running 1.1, a functional battery, and a Windows computer that can run the PDK tools will be an SD card (something like a 1GB SD, not the larger SDHC cards) and a card reader for your computer.

If you haven't downloaded the PDK from here on the forums do that in the next couple of days (in the classic Pleo tools area), unzip it inside of a "PDK" folder your Documents folder, and just take a look at the contents.  I think it unzips all the files next to the .zip file (instead of making a folder to put them in) so make sure you have the .zip inside of a folder before you unzip it.)

In the documentation folder in the unzipped PDK read through the "PAWN in Life OS" pdf and skim the "Programmers Guide" pdf (not sure of those exact titles).  They're both pretty dense reads and I'll be trying to simplify things immensely AND make the examples a lot more complete as we go along, so don't let the technical stuff scare you off.

Some time this weekend hopefully I'll have a revised version of the PDK for you to download that will be much easier to work with.  Then we can try out some first lessons.

This should be a fun experiment as we work together to figure out how to make our Pleos into something new (and probably even cuter).

Michael
Title: Re: Who wants to learn beginning Pleo programming?
Post by: Kami on January 31, 2013, 06:02:22 PM
The PDK programmer's guide is awful. As someone who is technically able to understand (most of) the content, I was baffled on my first read-through and remain baffled in large part. But being a somewhat dense (in a different way to the docs!) computer scientist is a special skill of mine!

I've been rewriting some of the content in that PDF in a more understandable format over on my blog http://sciencegirlkami.wordpress.com/pleo/ (http://sciencegirlkami.wordpress.com/pleo/) under the 'Pleo rb Development' header, although it's a labour of love that tends to happen when I have free time of an evening and am awake enough, so there are half-finished sentences galore at the moment and I haven't covered a lot of material. Also there's quite a bit of, 'what is this thing!?!?!?' A few parts, particularly explanation of how the VMs operate, are based on Michael's explanations as he's figured out things, so if I've misinterpreted or our understanding of things has progressed I'm sure he'll correct me. ;) I started the rewrite project mostly for my own benefit, so those docs aren't tutorial-y at all, but I'm hoping it'll be a good reference at some point we can add to the knowledge we're gathering together. :D
Title: Re: Who wants to learn beginning Pleo programming?
Post by: mlbelanger on January 31, 2013, 06:29:04 PM
Hey Kami,

That's an awesome start.  You've already got more Pleo programming info in one place than most of the internet. (the bob forums excluded of course).  This is an exciting time for our little dinosaurs.  Finally they will get to grow!

Michael
Title: Re: Who wants to learn beginning Pleo programming?
Post by: InmemoryofRomeo on January 31, 2013, 06:57:17 PM
Just had a thought... I believe you can access many of the sounds and motions in MySkit :) The library folder in MySkit was pretty extensive from memory.
Title: Re: Who wants to learn beginning Pleo programming?
Post by: mweed on January 31, 2013, 07:11:19 PM
pleopet's the expert I've relied on for files.  It apparently isn't too hard to dump all the USF sound files out of an URF, but haven't tried.  And as IMR suggested, most should be in the MySkit program.  The sounds are different, and named differently in the Ugobe 1.x, PMS, and (of course) RB's  I can contact pleopet for you, but it might be quicker to PM him or contact him at his site aibohack.com  I'm sure he'd be thrilled to find someone actively making a usable PDK.
 
Title: Re: Who wants to learn beginning Pleo programming?
Post by: mlbelanger on January 31, 2013, 11:48:04 PM
IMR awesome.  I have a Windows 7 machine up and running so I'll dive into MySkit and the rest asap!
Title: Re: Who wants to learn beginning Pleo programming?
Post by: mlbelanger on January 31, 2013, 11:49:10 PM
thanks mweed I'll check in with pleopet and see what's up!
Title: Re: Who wants to learn beginning Pleo programming?
Post by: mlbelanger on January 31, 2013, 11:50:57 PM
Update Everyone:

I have installed and successfully built example files in the PDK using Windows 7 (64 bit I believe)!  It's almost as easy as on the Mac.  I should have the process down and the PDK simplified quite a bit by this weekend so stay tuned.

Michael
Title: Re: Who wants to learn beginning Pleo programming?
Post by: kat on February 01, 2013, 06:25:11 AM
I'm really looking forward to this :)  I have windows 7 on my computer and both Ugobe pleos and rb's.  I would love to make my guys activly seek and kick or push a ball around as I think this would be super cute. 
Title: Re: Who wants to learn beginning Pleo programming?
Post by: Crewella on February 01, 2013, 06:34:01 AM
As Kat and Luna say, kicking or even just following a ball would be very cute.

Like Talon, I've always wanted to change the pitch on the voices so I can tell them apart by sound.  You can just increase or decrease the speed at which the files are played in Dinomite, which works perfectly by raising or lowering the pitch on all the voice files, but I've never worked out how to save that feature onto an SD card.
Title: Re: Who wants to learn beginning Pleo programming?
Post by: zetathix on February 08, 2013, 05:06:49 AM
I am really interesting. Please count me in!

I don't have a PLEO for now, wait for money. But now I have a lot of upgrading ideas coming in my head.

Oh! and I am a new member, Hello to everyone.  ;D
Title: Re: Who wants to learn beginning Pleo programming?
Post by: shadowmice on February 08, 2013, 09:18:32 AM
Man, get a bout of the flu and you end up missing all sorts of cool stuff. Definitely interested in this.    :thumbsup:
Title: Re: Who wants to learn beginning Pleo programming?
Post by: mlbelanger on February 08, 2013, 12:51:16 PM
Greetings zetathix and welcome to the forums.  Shadowmice I've got that same flu!

I'm hoping to have the new easier-to-use version of the PDK which I'm calling myPleo ready for download in a couple of days.  I'm just cleaning up the naming and cross-linking of the media files right now and perhaps adding in a few bits for program debugging.

I'll post here when it's ready for download and there will be some tutorials online as well.

Michael
Title: Re: Who wants to learn beginning Pleo programming?
Post by: zetathix on February 08, 2013, 01:24:42 PM
How exciting!  :)

Until my statement's ready for adopt a pleo. Maybe I have sometime to study deep down as far as I could.  :P

Oh! I have been read about SURF method which use for perceptual recognition. Could it possible adapt to use on pleo? If that is possible, pleo maybe smarter a little bit ... or maybe a big leap.  :cheer:

I already know pleo have a lot of exception on hardware but I think by nature of pleo, it still have a lot of leak to polishing just only software alone.

Build with limitation but full of emotion. That's why I really like pleo      :-*         :-*  :-*  :-* :-* :-*:-* :dino-chase:
Title: Re: Who wants to learn beginning Pleo programming?
Post by: mlbelanger on February 08, 2013, 02:19:32 PM
Zetathix,

While you're waiting for your Pleo you can start by downloading the original PDK from the downloads section here.  It contains lots of reading materials on the Pleo's Operating System.  Programming is done in the PAWN programming language so do a Google search and you will find documentation on PAWN itself.

I'm not familiar with SURF but if you can post a like I would be happy to take a look.

In general you won't be able to do any low-level processing of data on the Pleo, especially from the Camera system, as that part of the robot is still closed-source.  Pleo has hardware limitations, but if you see it for what it is, a robot with very robust and high-quality animation playback combined with a very useful set of sensors for dealing with human interaction (the capacitive touch sensors in particular) then you have a robot that can mimic what humans expect from a living animal.

People find it very easy to form emotional bonds with Pleos, even after a few moments of interaction.  Basically once they respond to human touch in a logical way (cuddling up to being petted for instance) people completely change their view of the robot and how they interact with it.

It's a great platform for experimenting in human/robot interaction and especially great for engaging kids, women, and people who aren't normally interested in robotics.
Title: Re: Who wants to learn beginning Pleo programming?
Post by: zetathix on February 09, 2013, 05:19:22 AM
I think about my perspective on Pleo and I'm sure that when limits has push to the ceiling, Pleo will be a good friend and better than today. Not hope that they could act like 2-3-... times more expensive robots. You can bet on a best on adorable of companions in the marget.

About robotic things I think that is another story, Animatronic IMO using for mimic a smooth(enough), reliable, organic look, and so on. That's the reason why I'm really impress with Jurassic park, Babe, etc.

Robot like Aibo, Genibo, Nao, Asimo, etc. have their own purposes to do advance tasks but it loss some fineness and some moves look really creepy. If you say robotics, I say Boston Dynamic.  ;D Where all toys and robotics should look and try to steal from.  8)

Just not 20 years from today. But I hope that someday Pleo will have that legs.  ;D ;D ;D

And this is about SURF if you happy to read.

http://en.wikipedia.org/wiki/SURF (http://en.wikipedia.org/wiki/SURF)
http://www.vision.ee.ethz.ch/~surf/papers.html (http://www.vision.ee.ethz.ch/~surf/papers.html)

...and SIFT

http://en.wikipedia.org/wiki/Scale-invariant_feature_transform (http://en.wikipedia.org/wiki/Scale-invariant_feature_transform)
Title: Re: Who wants to learn beginning Pleo programming?
Post by: mlbelanger on February 09, 2013, 10:25:04 AM
I would LOVE to have low-level access to the Pleo's Operating System for things like vision processing, etc and I think some day we will hopefully when Innovo releases more information in future PDK versions.

But for now there is a ton that can be done with the Pleo in relation to using all it's available sensor data to build models of the world around it, interact with people, etc.

And yes, those Boston Dynamics robots are fantastic.
Title: Re: Who wants to learn beginning Pleo programming?
Post by: zetathix on February 10, 2013, 04:47:28 AM
Yes, exactly what I'm thinking. Could it possible to split a fraction of situation and sum by sequence actions of master? Just like you pet, he maybe scare and moving to escape, you hit him a bit, he moves less, but if you hit him too much and he will be afraid of people. Or when he want to sleep then he will try to move to the same corner (favorite) as usual, which is the most quiet part of the room and he will remember elements around there and try to find here for later. Or just use some handmaded color card to assign a thing to learn for him, such as this card here to tell him this is his pen, and here must turn left, for example.

About BD, unfortunately those awesome techs are inventing for the military...which one way to get a big bucks to keep researching...
Title: Re: Who wants to learn beginning Pleo programming?
Post by: fancyfont on February 10, 2013, 09:19:18 PM
Hit a Pleo? No, no! WOuld you really want your Pleo to be afraid of you? ;D
Title: Re: Who wants to learn beginning Pleo programming?
Post by: RedwoodsMama on February 10, 2013, 11:48:06 PM
I agree with fancy, hitting my pleo ( any pleo) is compareable to hitting an animal. You do not hit your pets, and those that disipline or "abuse" their animals, would get the same negative reactions, or actions from pleo. You want positive reinforcement , not negative reinforcement.   RWM :cat-hug:
Title: Re: Who wants to learn beginning Pleo programming?
Post by: zetathix on February 11, 2013, 04:25:40 AM
So sorry if you think that I want to hit them, i never do any cruelty to any animals or toys...Ok, I will change situation a bit...  :P

Just imagine that replace "HITTING" with "SHOW A RED CARD" like a soccer (feels better?), show them and they will learn that is a warning and learn to be patient for a short time, decrease their ignorance, success rate depend on drives. Maybe this will ease to understand.  ;)

There's no desire to use cruelty on Pleo, But as you can see that some people trying to test or treat Pleo like a normal object, misuse.

So, again, I didn't meant to harm any animals or robots or toys or any artificial life. That just an example.
Title: Re: Who wants to learn beginning Pleo programming?
Post by: Crewella on February 11, 2013, 05:02:04 AM
I understand you.  One of the reasons I really liked the early Aibo models was because of their capacity to learn from their treatment and their environment.  It's a truly magical thing. :)
Title: Re: Who wants to learn beginning Pleo programming?
Post by: zetathix on February 11, 2013, 05:23:29 AM
If Innvo distribute Pleo at the same price rate as Aibo, maybe no one better at all.

But at that price, we all lose... :( I just imagine when Aibo stiil on the marget and I already have enough money to adopt one.  :pray:


continue...  (for saving space.)

As I find out on the internet, from my surprise that found out Aibo can walk to charge itself. Aibo using SIFT method to detect an object. And camera has more resolution 3X than Pleo.  : ???

Not count the CPU also more power.

If someone brave enough to switching Pleo's camera with this one that 3X better than current resolution plus other functions like auto white balance and so on.  :-*

http://www.robotshop.com/sfe-cmos-camera-640-480.html (http://www.robotshop.com/sfe-cmos-camera-640-480.html)

Just an idea...But I think this one small enough and use the same I2C. So this make me curious why Innvo doesn't upgrade the camera as they claimed signal bottle-neck problem has gone... Maybe lack of CPU power :-\
(sorry for a little off the topic.)

But again, that's for some advance masters only!  :P
Title: Re: Who wants to learn beginning Pleo programming?
Post by: PleoAibo29 on March 06, 2013, 07:04:20 PM
I would love to learn! I run windows7 and I dont have a pleo yet.   :hissyfit: :( I still want to learn though!
Title: Re: Who wants to learn beginning Pleo programming?
Post by: MGdesigner on March 19, 2013, 12:06:57 PM
Me,too. ;D

I'm a new  member. I just ordered a Pleo rb. I am a Linux user with programming experience. I have downloaded old pleo PDK and  newest Pleo rb PDK. In Linux part, it lacks some programs,so I spend a lot of time to search. :pray: Hope there is better starting set...

My little wish.... could write program to let Pleo play red ball, play hunting game or beat  detection .  :)
Title: Re: Who wants to learn beginning Pleo programming?
Post by: Osta on March 26, 2013, 11:08:53 AM
I am very interested!  I purchased a Pleo RB for my high school progamming class. I'm hoping some students will be able to learn to program it.
We run Windows 7.
Title: Re: Who wants to learn beginning Pleo programming?
Post by: Rex on November 11, 2013, 02:28:27 AM
OMG this is just PERFECT! We have a PLEO rb and use Windows 7, 8 and XP. We are working on a project to learn PLEO a few new moves, like walking stairs, fetch objects and stuff, but we have no clue about how to use the PrbDK. This could solve everything!  :turkeydance:
Title: Re: Who wants to learn beginning Pleo programming?
Post by: mweed on November 11, 2013, 07:34:52 AM
The problem is, the members who started this activity have disappeared . . . and haven't been heard or seen from in over 6 months.
Title: Re: Who wants to learn beginning Pleo programming?
Post by: kat on November 11, 2013, 04:14:04 PM
Sadly as Mike says our budding programmers seem to have deserted us :(
If you are struggling with the PDK for Pleo then maybe you could look at some other programmable robot alternatives.  For example Sphero is a robotic ball that you can control via Bluetooth using your smart phone.  It has a bunch of apps that you can download to play with it but you can also make your own app for controlling and directing sphero.  Or you might want to look at cubelets - these are little robotic cubes that snap together to make a robot, allowing you to create many different types of robots depending on which cube you use.  Each cube controls a different thing like power, movement, light detection, motion detection etc... You can also get a Bluetooth cube allowing you to create an app to control and program movements for your robot.  The company that make Cubelets have just announced a new product - an updated version of cubelets that looks very cool called Moss.    Do a google search on the above bots and see if any of them look like they might meet your requirements.  I think you may find them easier to program than pleo. 

Title: Re: Who wants to learn beginning Pleo programming?
Post by: InmemoryofRomeo on November 12, 2013, 03:57:51 AM
All serious attempts at Pleo programming thus far has resulted in the programmer disappearing of the face of the planet :o Conspiracy theories anyone :P
Title: Re: Who wants to learn beginning Pleo programming?
Post by: Talon on November 12, 2013, 07:57:57 AM
No idea but we need to come up with an insentive to make these budding programmers hang around a while. Lol!
Talon
Title: Re: Who wants to learn beginning Pleo programming?
Post by: kat on November 12, 2013, 03:51:32 PM
Maybe they are being abducted by Innvo  :P
Title: Re: Who wants to learn beginning Pleo programming?
Post by: gamer007 on January 07, 2014, 10:24:42 AM
Hi, it's great to hear that someone care about the noobs in Pleo programming :D. I'm running Windows 7, but I also have a laptop with Windows 8.1. I would be more than glad to be a beta-tester. And btw, Idk my Pleo operating system, how can I find that out? Does it have any impact on my program? Thank again :)
Title: Re: Who wants to learn beginning Pleo programming?
Post by: InmemoryofRomeo on January 07, 2014, 02:46:09 PM
I'm afraid this topic will never proceed :( The person who started it disappeared 12 months ago.
Title: Re: Who wants to learn beginning Pleo programming?
Post by: mlbelanger on February 17, 2014, 04:44:21 PM
Greetings All,

I've been gone for quite a while but I'm back around and working on Pleo programming.  I've put up a first test version of my simplified Pleo Development Kit which I'm calling myPleo.  If you're interested in Pelo programming and have a Ugobe Pleo then take a look and let me know if you find it useful at all.  The website documentation leaves a lot to be desired but I'll be adding to it over time.

http://www.mlbelanger.com/pleo/mypleo/

Michael
Title: Re: Who wants to learn beginning Pleo programming?
Post by: kat on February 17, 2014, 05:13:25 PM
I have just taken a quick look and started reading through your directions.  Looks good so far :)  I will have to wait till later to give it  a go though as I am on my windows 8 computer and will need to swap over to my windows 7 one.  Will try it all out properly hopefully later today if I have time and then report back.  Thanks so much for giving this project a go.  I'm really looking forward to learning more about programming pleos  :val-love3:
Title: Re: Who wants to learn beginning Pleo programming?
Post by: RedwoodsMama on February 17, 2014, 07:11:01 PM
I am going to give this a go once I get some nourishment in my body, if I can do this then I would venture to say that ANYONE here can do it, :val-love3: I know Mike made it fairly simple and that is something I really need to be able to work with. :o Now my only problem is finding a blank SD card, ( I have a ton but they all have photos and video on them........ ???) then it is picking which Ugobe to use............................

          Mike, one quick question. does it matter which system the Ugobe is running...? Can it be the earliest operating system, 1.0, up to the newest 2.0? I ask because I know some skits will not work with the earliest operating systems so I want to make sure I get it right by using the pleo with the best operating system.probably a pleo running 1.1........Which system did you use when programming this?  :-\                            RWM  :cat-hug:
Title: Re: Who wants to learn beginning Pleo programming?
Post by: mlbelanger on February 17, 2014, 07:19:00 PM
Kat, It may well work under Windows 8, I just haven't tested it that high up.  If the Ugobe official PDK works then myPleo should as well as it's all the same build tools just rearranged to be hopefully less confusing.
Title: Re: Who wants to learn beginning Pleo programming?
Post by: mlbelanger on February 17, 2014, 07:22:13 PM
RWM,

You'll need a 1.1 or 2.0 Ugobe Pleo to run the code.  Technically the build tools will work for a 1.0 but it's a little tricky.  If you just build the example project it won't work on a 1.0 at all because the project has the wrong name...

In 1.0 they required your project to be named "pleo.urf" I believe.  When they updated to 1.1 they changed it so you could name your project anything you wanted EXCEPT "pleo.urf" so that way you can create SD cards that would run on both a 1.0 and 1.1/2.0 by just including two different project files.

To get started just go with a 1.1 or 2.0 Pleo for now.

M.
Title: Re: Who wants to learn beginning Pleo programming?
Post by: kat on February 18, 2014, 04:27:25 PM
I attempted to open the zip file today to have a look at the contents and make a start and I got this message:
windows cannot open the folder
the compressed zip folder is invalid

I am still looking at it on my windows 8 computer so maybe that is the issue.  will try it on my windows 7 one latter and see if I have the same issue.
Title: Re: Who wants to learn beginning Pleo programming?
Post by: mlbelanger on February 18, 2014, 06:36:53 PM
Hey Kat,

The zip was created on a Windows 7 machine but it seems a bit odd that it won't unzip on Windows 8.  Anyone else having problems or success unzipping the zip?

M.
Title: Re: Who wants to learn beginning Pleo programming?
Post by: RedwoodsMama on February 18, 2014, 10:07:09 PM
HI, I am having problems too and I have windows 7, I did it like four times last night and have four copies in my documents folder and when I go to unzip them, they are all empty or tell me they can't open the file, I guess I need "Downloading for Dummies... :( %)) but I have had some success with other programs and running skits, so will try again in the morning, it is at long last raining here and raining HARD and I have to go out and feed my three surviving , (make that four) outside cats that I feed.( I lost my favorite outside cat almost two weeks ago.......... :()
                 

              I always have problems with these downloads it seems but I do have Windows 7 and the directions do seem simple enough, so am at a loss as to why I get nothing...

                                            RWM  :cat-hug:
Title: Re: Who wants to learn beginning Pleo programming?
Post by: mlbelanger on February 19, 2014, 12:04:07 AM
RWM,

It's probably a problem on my end.  I'll take a look and put up a new zip file tonight.  Stand by...

Michael
Title: Re: Who wants to learn beginning Pleo programming?
Post by: mlbelanger on February 19, 2014, 12:43:22 AM
Okay I've got a new version dated 2/18/2014 up.  See if that one will extract properly.
Title: Re: Who wants to learn beginning Pleo programming?
Post by: kat on February 19, 2014, 02:04:19 AM
Extracts fine now :)  still haven't had time to have a go at it yet but have downloaded and extracted it fine :)
Title: Re: Who wants to learn beginning Pleo programming?
Post by: lordlacky on February 23, 2014, 04:13:59 AM
hi,
i want to learn programming on mac OS. What i need to install to programm something for my pleo? i know that i have python 2.7. i dont something more?
Title: Re: Who wants to learn beginning Pleo programming?
Post by: InmemoryofRomeo on February 23, 2014, 03:44:00 PM
Sadly I've never had any success programming through my Mac, what I do is run windows through Parallels (costs $80), or you could use bootcamp (free). But you need a copy of windows as well.
Title: Re: Who wants to learn beginning Pleo programming?
Post by: mlbelanger on February 23, 2014, 08:27:20 PM
I started Pleo programming using the Ugobe PDK which included Mac build tools but I ran into problems early on trying to compile command files in particular on the Mac. Seems to be a bug in one of the Mac tools. The new Innovo PDK for the Pleo rbs are Windows only so I assume there is no fix for the issue.

That's the main reason I put only the Windows tools in the simplified PDK I'm working on for the Ugobes.

Note that with any of the PDK versions there is no need to download or install anything extra. All the build tools
AND the compilers, etc are all included in the download.
Title: Re: Who wants to learn beginning Pleo programming?
Post by: lordlacky on February 24, 2014, 09:41:35 AM
ok. Thanks.
So i will try it on the Window PC of my girlfriend.

EDIT: How big should be the SD card for Pleo RB?
Title: Re: Who wants to learn beginning Pleo programming?
Post by: grumpy on February 24, 2014, 10:01:21 AM
Small.   Even the biggest set of files take less than 7-15MB.  And pleos seem to have trouble with bigger cards.  So use the smallest and oldest card you have.  4GB or smaller if you have one. 
Title: Re: Who wants to learn beginning Pleo programming?
Post by: kat on February 25, 2014, 03:32:42 AM
I finally found time today to have a proper go at this and it all worked great :)  your instructions were clear and easy to follow and the little program you made with the sounds works well.  The only thing I noticed that may confuse some people - made me do  a double check is the bit that says
"type cd Documents

do dir again and you’ll see all the folders in your home directory. Notice the myPleo folder we just unzipped."

The do dir again bit made me look at what we had done so far as this was the first time doing dir.
Apart from that it was all great :)

Now I'm looking forward to lesson number 2 :) 
Title: Re: Who wants to learn beginning Pleo programming?
Post by: mlbelanger on February 26, 2014, 09:55:09 PM
Awesome News Kat! I'm glad the walk-through was clear enough to actually follow.  I'll work on that confusing part to make things more exact.  Anyone else who gives it a try let me know how it goes.
Title: Re: Who wants to learn beginning Pleo programming?
Post by: lordlacky on February 27, 2014, 02:29:42 AM
i will try the guide in the next few days.
Title: Re: Who wants to learn beginning Pleo programming?
Post by: RedwoodsMama on February 27, 2014, 05:13:40 PM
It figures Kat could figure it out, but as for me, I flunked lesson one... %) so will give it a go all over again.........then again, I am an old dog that can't always learn new tricks............esp when I am actually a CAT, not a dog .............RWM
Title: Re: Who wants to learn beginning Pleo programming?
Post by: InmemoryofRomeo on February 28, 2014, 12:31:47 AM
I tried it, worked just fine for me :)

RWM just go through one baby step at a time.
Title: Re: Who wants to learn beginning Pleo programming?
Post by: RedwoodsMama on March 01, 2014, 01:03:59 PM
ok IMR, one really little baby step at a time, and only when there are no distractions...................... :moose: with eight cats , a dog, three turtles and a demanding husband and phone that never stops, the only free time is when I am sleeping, If I can do this in my sleep then I can probably do it.

                   RWM  :cat-hug:
Title: Re: Who wants to learn beginning Pleo programming?
Post by: InmemoryofRomeo on March 01, 2014, 10:32:49 PM
Sure, that works :D
Title: Re: Who wants to learn beginning Pleo programming?
Post by: lordlacky on March 02, 2014, 11:12:25 AM
i try your little program with the touch on my pleo rb. the touch on head, chin, back and end of the back works on the pleo rb, too.
but the touch on legs didn't work. i find the same problem from a skit of myskit when i want to start it on the pleo rb. (i know that myskit is not for the pleo rb but i try how it works.)

sorry when my english is not so good :)
Title: Re: Who wants to learn beginning Pleo programming?
Post by: InmemoryofRomeo on March 02, 2014, 03:04:46 PM
In Pleo RB the sensors are slightly different than the original Pleo's, from memory legs and cheeks don't work.
Title: Re: Who wants to learn beginning Pleo programming?
Post by: lordlacky on March 02, 2014, 03:42:28 PM
but there is a way to program it or?
Title: Re: Who wants to learn beginning Pleo programming?
Post by: InmemoryofRomeo on March 02, 2014, 04:35:22 PM
Not at this stage :(
Title: Re: Who wants to learn beginning Pleo programming?
Post by: lordlacky on March 05, 2014, 05:14:50 AM
Not at this stage :(
for example when i use SENSOR_RIGHT_LEG in the pawn script it is possible to use the leg sensor for some emotions in pleo RB.
anybody know if myskit is open source?
Title: Re: Who wants to learn beginning Pleo programming?
Post by: bluatigro on March 12, 2014, 06:23:46 AM
i m interested in programming robots

i got experiance in liberty/free basic , c++ and a litle python
my code is mostly about ai and graphis

so a pleo is a option

what do i need ?
where can i find it ?

if i google PDK i get al sorts of things

has PAWN a randgenerator and array's

are there other options for IDE

is c++ posible and/or basic and/or python

are there diferent PDK's for diferent os's
Title: Re: Who wants to learn beginning Pleo programming?
Post by: Osta on March 12, 2014, 08:08:46 AM
I have a Pleo RB that was purchased for my high school programming class.  Last spring, during our robotics unit, I had a few students try to program PLEO using the PDK we had downloaded.  They ended up extremely frustrated and confused.  They were able to get him to make a noise when they touched his back - but that was about it.  We haven't touched PLEO since.
I would love to have a few students try it again this spring.   My students are fluent in visual basic and c++, some know java as well.  We have Windows 7. 
Do you think the students could be successful using your PDK and tutorials?
Title: Re: Who wants to learn beginning Pleo programming?
Post by: kat on March 12, 2014, 05:45:32 PM
bluatigro - if you go to page one of this thread there are links to a website with the start of a tutorial and the modified PDK you need to download to do the tutorial.  The tutorial is currently only at step one and hopefully over time we will get more steps to follow as the forum member who is putting it all together writes them :)  It is a work in progress but so far it is great! 
If you just want the normal unsimplified PDK - the one released by the manufacturer you can download it hear on the forums from the downloads section.  Just click on the downloads tab at the top of the page and then choose pleo tools - the one for your type of pleo, either Ugobe or pleo rb.  You will find the PDK in there :)
SimplePortal 2.3.5 © 2008-2012, SimplePortal