wide shoutbox
/listConnections - list all current connections to shoutbox
/version - return current version
/t - shout as mr.turing
/addXMPPRelay/(xmpp buddy name) - add buddy as an xmpp relay
/removeXMPPRelay/(xmpp buddy name) - remove buddy as xmpp relay
clock = Runtime.start("clock","Clock")
clock.setInterval(1000)
# define a ticktock method
def ticktock(timedata):
PaupiereServo.moveTo(0)
sleep(0.12)
PaupiereServo.moveTo(22)
#on fait un double clignement ou pas
if random.randint(0,1)==1:
sleep(0.2)
PaupiereServo.moveTo(0)
sleep(0.12)
PaupiereServo.moveTo(22)
#on redefini une valeur aleatoire pour le prochain clignement
clock.setInterval(random.randint(1000,5000))
#create a message routes
clock.addListener("pulse", python.name, "ticktock")
# start the clock
clock.startClock()
original thread : https://groups.google.com/forum/#!searchin/inmoov/eyelid/inmoov/Pqekfz1ixas/-K1bshcnLQAJ
Great moz4r :D A great accessory when my InMoov is built.
There is a lot of emotional potential in your lids .. for example have you experimented with position - like 1/2 way down for sleepy, or narrow slits for angry ?
Awesome ! .. great video
Awesome ! .. great video moz4r !
Quick responses, thanks for the translation :)
Nice eyelids too .. did you give that design back to Gael ?
Hi Grog ! this is the design
Hi Grog ! this is the design about eyelids from a frind : http://www.thingiverse.com/thing:1521400
The code : from org.myrobotlab.service import Servo
PaupiereServo = Runtime.start("PaupiereServo", "Servo")
PaupiereServo.setMinMax(0, 22)
PaupiereServo.attach(right, PaupiereServoPin)
clock = Runtime.start("clock","Clock") randint(1000,5000))
clock.setInterval(1000)
# define a ticktock method
def ticktock(timedata):
PaupiereServo.moveTo(0)
sleep(0.12)
PaupiereServo.moveTo(22)
#on fait un double clignement ou pas
if random.randint(0,1)==1:
sleep(0.2)
PaupiereServo.moveTo(0)
sleep(0.12)
PaupiereServo.moveTo(22)
#on redefini une valeur aleatoire pour le prochain clignement
clock.setInterval(random.
#create a message routes
clock.addListener("pulse", python.name, "ticktock")
# start the clock
clock.startClock()
original thread : https://groups.google.com/forum/#!searchin/inmoov/eyelid/inmoov/Pqekfz1ixas/-K1bshcnLQAJ
Great moz4r :D A great
Great moz4r :D A great accessory when my InMoov is built.
There is a lot of emotional potential in your lids .. for example have you experimented with position - like 1/2 way down for sleepy, or narrow slits for angry ?
Great idea Grog !
I will try this !