
tom.caine
USA
Asked
— Edited

Hi All,
Is there a step-by-step tutorial on how to get my robot to respond to color? I've seen the tutorials, but can't get it to work. I want to have Roli follow a red ball as was demonstrated with the AR Drone by DJ Sures.
I added the Camera Controls to the project. Selected (red) which is the default color. Under 'Tracking Types' I've selected Color.
I've attached a screen shot of the configuration window. Are my settings correct?
Tom
Crap!... I missed that... @Tom has motion tracking enable too... Tom all you need is colour tracking enabled for Roli to chase the ball... So as DJ mentioned, disable motion tracking...
I have added tracking information to this page: https://synthiam.com/Tutorials/Help.aspx?id=80
Ok - new development. I went back to the location I used last night and got better results. I have just two (florescent) lights in the vicinity and can get Roli to recognize the red ball.
To answer your question, yes I can drive him manually. I can use the buttons in the Movement Panel. Works like a charm. Never a problem there.
I now have the same problem as last night. Roli jerks around but does not follow the red ball as I move it. I adjusted the grid lines to the default setting and tried moving them to create a 3 x 3 square grid. I can barely get him to turn - maybe a few degrees but I certainly can't get him to follow the ball as I move it around.
I have the Object Brightness set all the way to Dim. If I raise it up, Roli jerks even more. The other problem is that even on the Dim setting, Roli sees furniture (mahogany colored) and treats this as Red. Only with a completely white background does the jerking stop.
Regarding the lighting, I tried a bright sunny area in my office (sun room) this morning. I figured the extra light would make it work better. As you saw in my last post, it didn't respond at all. Zero - it's as if Roli was turned off. There was no movement whatsoever.
So am I expecting too much? I'm a newbie with this. I'm going to show this at a conference next week and I thought this would be a great way to show the product. If I could have Roli follow the red ball in my booth, it would be a great attention getter. Obviously if I'm able to figure out the settings in my office, they will be certainly be different in the conference hall and I won't have the luxury of time to figure things out.
BTW - I'm not totally clueless with this! I've also got Six and JD, and have created two projects that work really well with Six (voice commands and basic movements), and have the Mobile interface on two Droid devices controlling everything. So I think I'll do OK at the conference, but the color recognition would be a super function if I could get it working the way I want.
Thanks in advance.
Tom
Just got your posts on Movement Tracking - I'll try that tonight....Thanks!
Gents, sorry this isn't working. In fact, Roli stopped responding to the red ball completely. All that has changed since my last post was disabling Motion Tracking as Rich suggested. This is one thing that is perplexing. The response seems to be intermittent.
This afternoon, I was able to get Roli to at least recognize the red ball. I mentioned in my last post that he jerked quite a bit but I was unable to get him to move. Now he doesn't respond at all. He's in the exact same spot - the lighting is the same. And yes, he responds to the Motion Panel commands. All of the example projects work perfectly well.
I have restarted my Windows (8.1) computer, reconnected to Roli, restarted ARC, etc.
I have attached a screen shot of the Camera Config window.
Tom
Do you have his head tracking (you need to specify the x and y servos in the camera control) colour?... Make sure you have colour tracking only (not multi colour) enabled... Default grid lines... everything else set to default... Hold an object the size of at least a tennis ball about 3 ft away from roli's camera.... Make sure there is good light on the object... Now look at the camera image in ARC as you wave the red object in front of him... The object should fluores or glow (sorry not a word I know) if you will as the camera tries to track it...
Roli's head should move side to side and up and down as you move the object around... He should follow it...
I promise you this works, you just have to get the settings correct...
Richard, he's using "movement" tracking, not "Servo" tracking
@Tom, I assure you it does work
Obviously lol... and once it does, you'll say "oh, I get it"
you obviously can't track a color if the objects in the background are the same color
. Hence color tracking. Tracking a color means it is tracking a color, I feel silly typin that.. but you know what I am getting at. If the robot is configured to track the color red, then guess what? Anything that's red will cause the robot to move
did you read this page? https://synthiam.com/Tutorials/Help.aspx?id=80 It explains how to hold the object in front of the robot and adjust the values until ONLY the object that you wish for it to track is detected. Here, i'll quote it for you..
One sec, i'll make a tutorial for you
This tutorial will help you: https://synthiam.com/Tutorials/Lesson/59