Here's what I would like my InMoov to do when it powers up after automatically powering down after 120 seconds of inactivity;
Move to a gesture,
Speak a text ,
Scan for humans (face detect)
Lock on to a face and track it;
I've tried a few different things to get this to work but no luck.
Any help would be appreiciated.
Video Link - https://onedrive.live.com/?id=63E242BD53401647%21133&cid=63e242bd53401647&authkey=%21Ao70h-M5o13hZxI&v=3
Hi Bhouston, you are using a
Hi Bhouston, you are using a PIR to power up or what if not?
Yes, I am using a PIR
Yes, I am using a PIR
This should do the job
This should do the job :
Alessandruino Python-Fu is
Alessandruino Python-Fu is very strong...
My guess is that it will probably work .. I would be interested to know if it does (please use the latest MRL always - you can check for updates in runtime->System->check for updates)
But if it was me - I would want a better interface ...
This is what I mean .. def powerUp "should" be called by InMoov so that you should just need to provide that method in Python to do what you want...
The code would simply be :
def powerUp()
.... do the things you want here ....
there should probably be similar ones to, where some event in the InMoov service tries to call a pre defined method in Python .. kind of like a "user function hook"
Typicall canidates would be ..
powerUp, powerDown, personFound, somethingHeard, error, others ???
The InMoov service would have "default" activites for these things, but all of them could be replaced if a users Python functions with matching names were found.
What do you think?
So here is what it is
Can you send a noworky after
Can you send a noworky after that? Do you notice errors?
It doesn't seem to matter
It doesn't seem to matter what you put in after;
if ( pin.value == 1):
It always does the same thing!!!