Asked — Edited
Resolved Resolved by Steve G!

How To Get Init Script To Go Slower Servo'S?

am looking when i power jd on the pose he wil take goes slow. as in the video he does it slow but not when the init script runs.

User-inserted image


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.

United Kingdom
#1  

I think this might be looking for. Here are slight changes to what you have, and you will want to add you Cheat Sheet commands in as well. Give it a try and let us know if this what you want...

# This will clear the selected servo 
# speeds for initialisation.

ServoSpeed(d2, 0)
ServoSpeed(d3, 0)
ServoSpeed(d7, 0)
ServoSpeed(d8, 0)
ServoSpeed(d4, 0)
ServoSpeed(d5, 0)


# Move the servos into initialisation 
# positions where you want the servos 
# to start from.

Servo(d2, 2)
Servo(d3, 180)
Servo(d7, 18)
Servo(d8, 77)
Servo(d4, 163)
Servo(d5, 105)


# This will set the servo speed for 
# these servos which will be used 
# from now on.

ServoSpeed(d2, 5)
ServoSpeed(d3, 5)
ServoSpeed(d7, 5)
ServoSpeed(d8, 5)
ServoSpeed(d4, 5)
ServoSpeed(d5, 5)

# Then add the rest of your control 
# command scripts here...
United Kingdom
#2  

Also one peace of advice. When you want to share scripts in a post, it's better if you use the UBB code. That way it's easier to look at and easier for someone helping you to copy the code and make changes.

User-inserted image

Write or copy your script where it says "text" inbetween the [ code ] and [ /code ] UBB codes .

Hope that helps.;)

PRO
Belgium
#3  

it works perfect.

code text code dont understand how that works?

United Kingdom
#4  

No problem. Glad it's working the way you want it to.

In regards to posting a script, if you don't mind, I will try to teach you how..

1) First, you need to use this [ symbol

2) Then write the word Code

3) Then use this ] symbol

4) Write your script, for example, Servo(D5,90)

5) At the end of the script use this [ symbol

6)Then use this / symbol

7)Then write the word Code again

8) Then finally use this ] symbol

It should look like the following picture...

User-inserted image

Or you can write it like this...

User-inserted image

And you will end up with this when you post your response...


Servo(D5,90)

I hope that helps:). It just makes it easier to make changes or to test someone's script without having to re-write the whole thing. If you want, post a reply back and give it a try.

PRO
Belgium
#5  
servo(D2,0)
servo(D3,0)
(servo(D7,0)
servo(D4,0)
servo(D8,0)

the code you teach me

PRO
Belgium
#6  

how do i get this on one black page?

United Kingdom
#7  

Yeah, you got it.

A you need to do is put the first [ code ] at the start of the first line of the script, and the [/ code ] at the very end of the last line the script...

User-inserted image