
dmzimbelman
I was very excited to get my robot and have been spending time try to get it do things, but I am kind of lost with all of this. I spent the last couple of hours following the multicolor activity tutorial and can't get that to work right. Mostly because I don't understand what is going on. I can create and save the color then go to the scripts find the "point"one, type what I am supposed to type etc but it does work right. I guess what I am looking for a very basic introduction, like what is a script is and what does it do etc etc. Or how the frames and action work together, yes I am talking really basic stuff but I don't even have a grasp on the basic vocabulary if that makes any sense
It seems to me that all the tutorials are written for engineers by engineers or at least someone that already has a grasp on some basic concepts. I would like to learn this stuff, which is why I started down this road in the first place.
Any thoughts on a more basic place to start would be awesome.
Thanks!
I'm not sure what you mean by "what is calling your script" Unless you mean my checking the multicolor tracking box in the camera controls? It seems to me like I am missing some sort of reset in my script or what ever might trigger the end tracking script.
And yes I would prefer you nudge me gently towards the answer as you are correct I would like to learn this stuff
The tracking start script is :
ControlCommand("Auto Position", AutoPositionAction, "Point")
SayezbWait ("I see a " + $CameraObjectColor)
Stop()
The tracking end script is:
ControlCommand("PointAndTrack", ScriptStop)
Stop()
I have also added the video again since DJ closed the other thread
Okay so just read your comment DJ my guess from that is this:
this line:
should be this:
I am on the right track?
and how do I just do a parentheses and not a winky face....grrrrrrrr
Think of it this way.
What is happening when you turn off the multicolor? When does the script run and how many times does it run? Scripts will not run in a loop unless directed to run in a loop.
What happens when you launch the script and the object is detected the first time in the script?
Is there a way for the script to loop so that it is ready for a second object to be recognized?
How does the script know that it is supposed to say the value of the variable containing the name of the object?
Is there a way for the script to wait for that object to change before saying the name of the object and then going back to the start of the loop?
Things that I would look for in the script help section are Label Goto WaitForChange
To not get the winky face, use the code tags (see the UBB code to the right, or below the text box depending on your browser)
Alan
Thanks D.Cochran I will check that out and get back to you what I come up with
and thanks Alan I had not noticed that!
@DJ Shures
Belay last post regarding what you said about removing the existing script. I double checked, what I have in the editor is exactly what you have in yours in the video tutorial which is:
So what is it that needs to be removed? I understand your analogies about emptying the box, car or sock drawer, but what needed to be emptied?