Asked
— Edited

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.

Upgrade to ARC Pro
Get access to the latest features and updates with ARC Early Access edition. You'll have everything that's needed to unleash your robot's potential!
Based on your post activity, we found some content that may be interesting to you. Explore these other
tutorials and community conversations.
Write or copy your script where it says "text" inbetween the [ code ] and [ /code ] UBB codes .
Hope that helps.
code text code dont understand how that works?
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...
Or you can write it like this...
And you will end up with this when you post your response...
Code:
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.
Code:
Code:
Code:
Code:
Code:
the code you teach me
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...
Code:
Thanks buddy. I must admit when I first started here I didn't know what the UBB codes were or how to use them myself, lol.
How did it "work perfect" adding the 0 speed for your servos, initialize help you?
Did your robot move slower and not jump during the initialize startup process?
Did your robot movements actually move slower with running the 0 speeds set points during initialize start up process prior to running the servo set-start positions, and servo speeds?
I am just trying to understand.
Steve s
I'll try to explain it. You know how when you have a servo set to move at a certain speed, say ServoSpeed(D5,2), it will move at that speed no problem. Now close that project and open it again.
Without the servo speed init script, when you connect to the EZ-B the servos will twitch. No problem. But now, when you move that servo for the first time since connecting to the EZ-B, even with the servo set to "2", it will move at full speed. Move it again a second time and it will move at speed "2".
Setting the servos to "0" in a init script basically initalises the servo speed (like it moved the first time, mentioned above), then later in the same script, it sets the new speed (like it moves the second time, mentioned above). Now when you move that servo normally with a script, it will move at speed "2".
That's basicly it. I Think I explained that okay.
I hope that helps Steve.
You can find out more how servos work using the activity in the learn section here: http://www.ez-robot.com/Tutorials/Lesson/48?courseId=6
If I remember correcting we were told to set the actual servo positions first , then the speeds during initialize?
Code:
I appreciate your help, thank you.
Steve S
But in this instance it's not necessary as in the first part or the script where everything is 0 (see post #2) we are not setting a servo position, only speed. But in the second part we are asking for a position so as you say, it's position first then speed. Something like that anyway.
yes the init works great with steve G script.