
Island fox
Canada
Asked
— Edited
I am working with a V3 on a robot arm. I have included some of the "Hand" example scripts in my project and edited them by naming the servos as per my project. The servos will not respond to them nor will they respond to the scripts I write. All my servos work well with the slide controls in the configuration windows. What am I doing wrong? When I press "START" in a sample script window it shows that the script is working and then that it is done but there is no movement at the servos.
@Island fox Stupid question but the servos are plugged into ports D1 and D6 on the EZB right? Are you using the 'Release' command in the main menu by any chance? Try this instead
The servos are connected to the proper ports. D1 and D6. Actually the servos on the arm are connected as follows. D1,D2,D3,D4,D5,D6. D1 is the gripper and D6 is the shoulder. No other controls that I know of are holding the servos. I released all the servos in their own configuration windows. I will check on this "release command" in the "main menu". I have made a video and I am getting ready to use youtube (all new to me) in order to send it to you but I have to learn a little more about that process.
Please be patient with me, I'll get it done.
Hey no worries, I got nothing better to do... LOL... If you use the release command you need to also use the reset servo speed command next to it in the main menu... otherwise the servos won't move.... This is for the V4 anyway, not sure about the V3, but it's worth a try....
If you release the servos in the vertical or horizontal controls then the servos won't move when you run your script....
Try this... reload your project, set all servos to where you want them using the horizontal/vertical servo controls then do not use any release commands and try your script again....
Thanks everyone I have reloaded the project and set all the servos to where I want them. and did not use any release commands. Still no response.
I will have a video probably by tomorrow evening for you to see what I am doing. I hope to be able to produce it and post it by then but my plans often go astray for various reasons.
Can you please post your project? It's really easy - this will be a simple solution for you because scripts always work
First, this may sound silly but are you actually pressing the START button on the script to run it? If so, are you connected to the internet?
Also, are you certain you know how to edit a script? IE, are you pressing the gear icon to bring up the script editor window?
This learn link might help you: https://synthiam.com/Tutorials/Lesson/23
That link provides information about how to edit scripts. Perhaps you are not actually editing a script?
Well I managed to get a video published on you tube. http://youtu.be/N_svyhCR6rU. I hope this will show what I am doing wrong or what I do not understand in the script process. Forgive the bad quality of the video. I am learning. The next one will be better.
This really woukd have been easier if you just uploaded your project rather than a video, but the solution is simple. Your v3 is set as board 1 not board 0, but your script is not specifying the board, so it defaults to board 0.
Alan
To fix the script without changing anything else, add "1." before every port command.
ie
would replace the first line of your script.
If you don't have a particular reason you are using board 1 instead of board 0 then just enter the com port in the connection panel for board 0 replacing the default EZ-B v4 IP address. You will need to redefine the servo objects if you still plan on using them to use board 0 but your scripts will be easier, and some objects, like movement panels that only work on board 0 will work.
Alan