Asked — Edited

Programing Jd

I know this must be easy but I just can't find the right settings. I want JD to just see something moving and respond with speech. I also want JD to see a color and not get confused with movement and announce it. Can these both be run at the same time? Is there and activity to help with this movement recognition? Thanks All Ron

User-inserted image


ARC Pro

Upgrade to ARC Pro

Your robot can be more than a simple automated machine with the power of ARC Pro!

#9  

Relax... I wasn't insulting you... just sarcasm my friend... I am trying to get you to go and try stuff on your own... experiment to see how things work and how changing things affect the project... That's all there is to it... I can give you a fish or teach you how to fish, what would you prefer? How do you think I learned? I asked a few questions then struck out on my own... I often fell on my face, but I got up and tried again....

Cool down, load the JD Example Project and play with it.... and most of all enjoy!

PRO
Belgium
#10  

darticus

do you have skype,am patrick.dierckx19 on skype

#11  

Nomad 6R I don't think I do. I hate to ask a question but here goes. I go to the camera section. I pick device than tracking I check off motion. I go to the motion Gear. I add line 1 control command(camera movement track enable) from scrip cheat notes. than line 2 sayezbwait ( "I see movement") Go down a line 3 and put stop. This does work when motion is noticed.

Than when I do multicolor I pick camera device>tracking>multicolor tab and check off multicolor. I uncheck motion. I set up for color but it says the same thing it said for motion. Aren't these 2 separate programs. I thought if I check motion it would do that program and If I check multicolor it would do a different program. If I change what it says for multicolor it says that for motion. Maybe I'm looking at this wrong. I don't see where it explains this in the learn or activities section. Ron

#12  

So, couple of things.

You don't need the control command, and in fact, it is hindering what you are trying to do. You already have movement tracking enabled by checking hte box, so the ControlCommand is redundant (it is used to allow a script to start motion tracking).

If you are issuing this script When Tracking Starts, then it is turning on motion tracking in your second example when you are trying to do color tracking, so it is then saying that it sees motion, because it probably does.

The script executed within the camera object will always be the same regardless of the type of tracking that triggers it. You would be better off having a script running separate from your camera object that checks for changes in the variable created by the tracked object type and takes action then.

I am at work without a robot, so I can't easily do an example script now, and I am not sure I will have time tonight, but I should be able to put a simple example together for you tomorrow.

Alan

#13  

Thanks very much. I know I'm doing something wrong. I will catch on eventually. Thanks Ron

PRO
Belgium
#14  

darticus

dont hate asking questions,its perfectly normal.in robotics you wil have a, thousand questions.

for the color learn with one color a time like red.

see that the pic in the camera is as bright like the pic.

User-inserted image

#15  

Quote:

Thanks very much. I know I'm doing something wrong. I will catch on eventually.

I am sure you will. Like Nomad said, don't be afraid to ask questions. We sometimes will point you towards the learn section if we know an answer (or concept that will allow you to figure out the answer) is there, because it forms a great foundation, and prevents those of us who answer a lot of questions the need to answer the same ones again and again, but when you are really stuck, one or more of us will jump in and give more specific instructions.

Alan

#16  

Thanks ALL I will still be working with this and following your input. Maybe I'll get lucky. I'm working with seeing motion and saying it out loud. Also seeing different colors like the activity. It seems to have a problem if I ask it to do 2 colors like the activity. It does one color fine. I'm also wondering what the box saying point and tract does. Ron