Stream All The Video Sources icon Stream All The Video Sources — Stream video from any URI/protocol (RTMP, RTSP, HTTP, UDP, etc.) to a selected ARC camera device for real-time network feed playback. Try it →

ARC Pro

Upgrade to ARC Pro

Unleash your creativity with the power of easy robot programming using Synthiam ARC Pro

#1  

sorry i confused the link of the video... the vid is this one

Author Avatar
United Kingdom
LinkedIn Twitter Google+ YouTube
#3  

Here you go...

#4  

I would think so. the Hasbro r2d2 has this same feature. he will follow you around.

-with the ezb you can use the ping radar to scan for you -as you move away the reading will drop -you can write a script for the robot to move forward when the variable drops.

off the top of my head

if(adc, 1 < 50) forward 100 if(adc, 1 > 50) stop() or something super easy like that to start off.

Author Avatar
United Kingdom
LinkedIn Twitter Google+ YouTube
#5  

Slight corrections... based on the ping sensor that comes with the EZ-Kit

Ping will increase as you get further away Ping is on 2 digital ports and used GetPing()

Very quickly before I head off to get some sleep (something I should have done 45 minutes ago!)


If(GetPing(D0,D1) < 50)
Forward()
:loop
If(GetPing(D0,D1) > 50)
  Stop()
Else
  Goto(loop)
EndIf

There's probably a better way for the script but you get the idea:)

You would also want it to turn to find you if you moved to the side, otherwise it would continue forwards until it got close to something else. But the answer is yes it can be done.

#6  

Rich, wouldn't that cause the robot to stop once and then get stuck in a stop loop? This is what I got from the script(my own words):

If ping sensor reads less than 50 Go forward

Loop point

If ping sensor reads more than 50 Stop Else Goto the loop point

The script will move the bot forward, but as soon as the robot gets close, it will stop, and then will keep looping around if ping equals more than 50 stop. It will never engage forward again.

Oh and just noticed, shouldn't it be if it equals more than 50 go forward and less than backward?

Author Avatar
United Kingdom
LinkedIn Twitter Google+ YouTube
#7  

It would be part of a much larger script, but yes, on it's own it would move forwards until it found something then stop, once stopped it will break free from the loop and just end the script.

#8  

and what about the more than less than being switched?