![]() |
Code Violations...
Hi, I am having tons of trouble getting the rc to recognize the camera in autonomous right now. It works fine in user_routines but in user_routines_fast I am getting code violations whenever I call camera_init, camera_find_color, or camera_auto_servo. I have #included camera.h (I'm using Kevin Watson's "cumulative" camera files). I have tried creating a function within camera.c and then just calling it from user_routines_fast, and it was getting violations whenever any of those 3 functions were called. Please, please, please, does anyone have any ideas about this? Thank you for any assistance!!!
|
Re: Code Violations...
will any one help? because we are totally lost, on this and are racking our brains out.
thanks |
Re: Code Violations...
What errors did you get?
|
Re: Code Violations...
(this is neilsonster)
The code violation light blinks.. that's it. When I remove all three of those (camera_init, camera_find_color, or camera_auto_servo) from user_routines_fast it runs fine, but I can't do anything with it. When I add any one of them back in I get the blinking light again. The code builds fine. |
Re: Code Violations...
Yes!!! I just fixed it! The problem was that I was not using #if _USE_CMU_CAMERA and i had taken it out of all the code... funny thing is that every single problem I have had programming has been solved by going back to the default routine.
|
| All times are GMT -5. The time now is 00:00. |
Powered by vBulletin® Version 3.6.4
Copyright ©2000 - 2017, Jelsoft Enterprises Ltd.
Copyright © Chief Delphi