Bob the Pleo Forums
Pleo Stuff => Pleo Library => Technical Classic => Topic started 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?
-
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
-
Thank you, your reply was very helpful.
-
I can't find the "Babe" personality that Pleopet created. Can anybody point me in the right direction?
-
http://www.aibohack.com/pleo/yapt.htm
Here you are :)
-
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.
-
Everything except the leg sensors will work.
-
Thank you, IMR! :D
-
Your welcies :) I know that from my own skits, when they moved the sensors they changed the commands or id :(