Welcome to Synthiam!

The easiest way to program the most powerful robots. Use technologies by leading industry experts. ARC is a free-to-use robot programming software that makes servo automation, computer vision, autonomous navigation, and artificial intelligence easy.

Get Started
New Zealand
Asked — Edited

Feeding The Fish

This one was written before I was the awesome automatic EZ-B fish feeder @Jstarne

It needs the Confirmation script I posted earlier in the forum.



#______________________________________________________
#init
$Requests=0
$Response=0

Say("Have you fed your fish today?")
ControlCommand( "Script Manager", ScriptStartwait, "Confirmation" )
:start
if ($Response="Yes")
goto (affirmative)
elseif ($Response="No")
goto (Negative)
Elseif ($Response="No Response")
goto(no_user)
Endif
Halt()

:affirmative
say("Well done, your fish must be feeling better.")
$fishfed=1
Print ("Fishfed=$fishfed")
halt()

:negative
say("Get with the programme human or would you like me to starve, you, instead?")
$fishfed=0
Print ("Fishfed=$fishfed")
halt()

:no_user
Print("Abandoning action.")
Print ("Fishfed=$fishfed")
$fishfed=0
halt()


ARC Pro

Upgrade to ARC Pro

Harnessing the power of ARC Pro, your robot can be more than just a simple automated machine.