Code: Select all
call leds.top(0, 32, 0) motor.left.target=100 motor.right.target=100 onevent prox # if a sensor measures a value less than 300, it does not see the table if prox.horizontal > 300 then # stop the motors motor.left.target=0 motor.right.target=0 # switch on a red light on the robot to signal an emergency stop call leds.top(32, 0, 0) end
If the gears have a fairly low ratio, you're operating on a smooth desktop, and you're not carrying that raspi or any other weight you might just be able to use fixed time intervals. They look fairly repeatable on the "Harlem shake" video on the website? Won't be accurate I expect, but it might be passable.simplesi wrote:The only thing it doesn't do that I'd liked it to do would be ability to enter a sequence of moves via the top arrow keys and get it to repeat them a la BeeBot.
I think we got that, yes...PS Did I mention how much I like it?
Soon have it cleaning the floors and fetching the tea!
Works for me (Ubuntu 12.04). I have Flash working so maybe it is that is needed. I'm using Opera and htop reveals that Opera's pluginwrapper gets some action on that page.joan wrote:Doesn't play for me. I get a non-functioning flash like button top-left. Does Vine work with Linux?