Bob the Pleo Forums

Pleo Stuff => Pleo Library => Technical Classic => Topic started by: Osta on March 26, 2013, 11:15:04 AM

Title: sd card disabling Pleo's default programming
Post by: Osta on March 26, 2013, 11:15:04 AM
I am trying to learn to program Pleo.  I followed the directions in the prbdk and wrote the program to make him growl when you touch his back.
I put it on my sd card and put it in him and it works, BUT it disables everything else!!  He won't do anything else when the sd card is in - won't move, make other noises, ...  How do I add to his programming without disabling it?
Title: Re: sd card disabling Pleo's default programming
Post by: mweed on March 26, 2013, 12:03:22 PM
Congratulations!  Your program worked perfectly!  That is exactly what any program compiled by the the pdk does . . . it completely replaces the default personality of the pleo with whatever you programmed.You really only have one choice.  That is to include all of the default personality into your program so it's all there in the new program you create.  The problem is, Innvo Labs has never released the source code for much of the personailty . . . so you basically have to build a whole new one from scratch.  This is a big challenge, but not impossible.  PleoPet did create the "Babe" personailty that he distributes as part of his MySkit program.

Your two incomplete alternatives are: Create motion and/or sound files that can shadow and replace existing movements/sounds in the existing personality (but you loose the ability to check sensors or make decisions) OR you can have your program run like it does now, but add another routine that exits your program and returns the pleo to the default personality.  Again, PleoPet does this with his pleo RB tools like statsRB
Title: Re: sd card disabling Pleo's default programming
Post by: Osta on March 28, 2013, 06:48:46 AM
Thank you, your reply was very helpful.
Title: Re: sd card disabling Pleo's default programming
Post by: Osta on April 09, 2013, 06:36:23 AM
I can't find the "Babe" personality that Pleopet created.  Can anybody point me in the right direction?
Title: Re: sd card disabling Pleo's default programming
Post by: InmemoryofRomeo on April 09, 2013, 02:34:58 PM
http://www.aibohack.com/pleo/yapt.htm

Here you are :)
Title: Re: sd card disabling Pleo's default programming
Post by: Crewella on April 09, 2013, 05:03:37 PM
Remember the sensors are slightly different on a Pleo RB (more back sensors) and the Babe personality was written for a Ugobe Pleo.  It might not run correctly in an RB, but I've not tried it myself.
Title: Re: sd card disabling Pleo's default programming
Post by: InmemoryofRomeo on April 09, 2013, 05:07:29 PM
Everything except the leg sensors will work.
Title: Re: sd card disabling Pleo's default programming
Post by: Crewella on April 10, 2013, 06:32:27 AM
Thank you, IMR!  :D
Title: Re: sd card disabling Pleo's default programming
Post by: InmemoryofRomeo on April 11, 2013, 06:26:43 AM
Your welcies :) I know that from my own skits, when they moved the sensors they changed the commands or id :(