![]() |
Simple Camera code HELP PLEASE?
I've spent hours reading and testing code to track the camera. I'm using windriver, and i'm not tying to do anything to complicated. I started with just compiling and downloading the example codes to the robot, but when I put the target in front of the camera, nothing happend. All I want to know, is how to find a color( green or pink or both) and if the camera sees it, turn on a motor. Can someone show me some commented code that will do this? Thanks a lot for the help because I'm desperate.
|
Re: Simple Camera code HELP PLEASE?
For the record, I nudged this over to the WindRiver subforum to keep things orderly. :)
|
Re: Simple Camera code HELP PLEASE?
Quote:
|
Re: Simple Camera code HELP PLEASE?
Quote:
|
Re: Simple Camera code HELP PLEASE?
I'd say the vision example code is probably the most likely to work out of the box as anything. Next step is to put some print statements where the object center is found to try and determine if it is a watchdog, electrical, or code issue.
Greg McKaskle |
Re: Simple Camera code HELP PLEASE?
Quote:
|
Re: Simple Camera code HELP PLEASE?
I haven't used WindRiver in a long time. I think there are two possible locations. The low level one is the terminal program hooked to the serial port. I think you can also open a terminal over enet in the Eclipse environment. Sorry, but I can't give you any details on that one.
Greg McKaskle |
Re: Simple Camera code HELP PLEASE?
You can do it remotely by going connecting to the cRIO in the bottom left corner of the Remote Systems and after that right click "Wind River Target Debugger" go to > Target Tools > Target console.
A dialog box should open up, click ok and then you should see your printouts. They come rather quickly so be prepared for it. |
| All times are GMT -5. The time now is 02:50. |
Powered by vBulletin® Version 3.6.4
Copyright ©2000 - 2017, Jelsoft Enterprises Ltd.
Copyright © Chief Delphi