Sighthound Cloud API icon Sighthound Cloud API — Cloud-based detection of people and faces in robot camera video; returns locations, gender, age, pose, emotion, plus 68-point facial landmarks. Try it →

ARC Pro

Upgrade to ARC Pro

ARC Pro is your passport to a world of endless possibilities in robot programming, waiting for you to explore.

#1  

Make two different scripts, one for each function and then call each from a third script using CC commands Is one very simple way.

Author Avatar
PRO
Belgium
Thingiverse
#2  

hi dave

thanks for your respond.make two scripts i understand but am not familiar whit CC

#3  

@Nomad Why don't you just add what you want to the same script? Just insert your code to play the sound file at the point in the script where you want the file to be played to happen.


# play sound file
# next line do movement
Author Avatar
PRO
Belgium
Thingiverse
#4  

rr

just like in the pic ubove line 6 and 8 i want them to act same time. i just mounted the ping sensor on the roli on win8 thinking it work before. it will work here to.but he doesn seems to detect anything.

#5  

@nomad, Maybe make the sleep on line 7 shorter - like Sleep(50)

#6  

@nomad, for future info, "CC" = ControlCommand.

#7  

@Nomad Then delete the sleep command on line 7 ...

Author Avatar
PRO
Belgium
Thingiverse
#8  

thank you robo-doc

Bhouston i try that.