Lynxmotion Smart Servos icon Lynxmotion Smart Servos Compact Lynxmotion Smart Servos with position feedback, safety features and UART TX/RX for Arduino/EZ-B v4; scriptable temp, load, load-dir and ping. Try it →

ARC Pro

Upgrade to ARC Pro

Elevate your robot's capabilities to the next level with Synthiam ARC Pro, unlocking a world of possibilities in robot programming.

#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.

Author Avatar
PRO
Belgium
Thingiverse
#8  

thank you robo-doc

Bhouston i try that.