ARC Pro

Upgrade to ARC Pro

Unleash your robot's full potential with the cutting-edge features and intuitive programming offered by Synthiam ARC Pro.

PRO
Belgium
#49  

hi holy1

glad you like it also.next point will be video or sound in the mail.

thanks

PRO
Synthiam
#50  

Patrick, if you put a loop in the "camera tracking start", it will loop forever until a "camera tracking stop" script is executed. You can stop it by putting this in the "camera tracking stop" script:


Halt()

Putting something (anything) in the camera tracking stop script will stop any other camera scripts. Each control can run one script at a time, so this example shows how that

PRO
Belgium
#51  

hi dj

thats a new one for me.thanks for the tip.but wil i be able to stil use video record ?

PRO
Synthiam
#52  

Then just do this... Voila, done!

Put this in the Camera Tracking Start script...


# Start recording because we detected something
ControlCommand("Camera", CameraRecordStart)

Put this in the Camera Tracking Stop script...


# Stop recording because the object went away
ControlCommand("Camera", CameraRecordStop)

PRO
Belgium
#54  

is this correct for video?

:start

ControlCommand("Camera", CameraRecordStart) #center camera on object if($Cameraistracking = 1) sleep(500) ControlCommand("Camera", CameraSnapshot)

ControlCommand("SMTP Client", SendImage, "Camera", "[email protected]", "patrick dierckx", "Motion detected", "Hey patrick, this is jd. I have detected motion in your house. Here's a picture of what I saw.")# you can change this to say what ever you want Sleep(2000) ControlCommand("Camera", CameraRecordStop) endif sleep(10000) goto (start)