![Profile Picture](/uploads/avatars/738.jpg)
Ellis
I am a novice code writer but am learning. I have two questions I need help with.
I am writing script for my DIY robot Max. I have script that includes an AutoPosition event. The question is how to I keep from all the script running at the same time. In my script I want a line of code to finish before the next line of code starts. I have looked and failed to find the answer on my own.
My second question is opposite the first. Since AutoPosition doesn't allow for control of modified servos I am writing script that I want to run at the same time the AutoPosition script is running.
It seems that my problem really comes down to controlling the order script runs.
I will say that EZ-Robot has the most quality information I have ever seen in helping people to solve their own problems. It is just that I have trouble finding where that information is.
Any help would be greatly appreciated.
confused
post your script.
Also calibration of continuous rotation is here: https://synthiam.com/Tutorials/UserTutorials/190/1
It occurred to me that both RoboScratch and Blockly in ARC were designed for beginners. Perhaps it will be beneficial to start with one of those interfaces?
You don't see those interfaces because your ARC is Version: 2017.01.10.01. Please consider upgrading ARC, it's free.
Thanks DJ. Great thanks for helping.
Here is my code. When I run it the voice starts and the Auto Position starts and runs at the same time. I want the voice to start and end and then want the Auto Position script to run. I have been using RoboScratch then copying and pasting the code into a script box. Then I modify it to do what I want. It is faster.
Also I have at the end of the code I had to write Both Arms Park code twice to get max to complete the park function.
Blockly or RoboScratch may be useful. I recommend upgrading to the latest ARC to ensure you have both.
Here is the activity guide, which will help you with information on using RoboScratch or Blockly: https://synthiam.com/Tutorials/Course/6
This example would be extremely easy and best to use RoboScratch or Blockly - both generate code for you.
*Note: assuming "Both Arms Park" is not set to repeat, here's your code re-written:
*Note: assuming "Both Arms Park" is set for repeat, here's your code re-written:
This is very clear now. I understand all the code and am going to change it. Thank you for helping me. I really love the help I get from EZ-Robot. Thanks DJ
Any time!