![]() |
CMUCAM2 help needed
i need to know in mplab, if i see 2 ligts or 1 light.
therfore, i need to have the size of the light that the camers has, if its too high, i know it is 2 lights. how can i get an input of light size to mplab? thanks, a nooby programmer. |
Re: CMUCAM2 help needed
It depends on the code you are using, but I know in EasyC last year the camera saw two lights as one very large light, and you needed a maximum light size to tell the robot that those lights are actually two.
I can't remember exactly what the maximum light size was though, sorry. |
Re: CMUCAM2 help needed
Quote:
Does anyone know if they are T_Packet_Data.x1 and T_Packet_Data.x2? |
Re: CMUCAM2 help needed
All the data that the camera returns get stored in this structure from camera.h
Code:
// camera t packet data structure |
Re: CMUCAM2 help needed
can you please tell me what the other valuse meen?
|
Re: CMUCAM2 help needed
Look in 'camera.h' around line 140, it has explanations of what the variables mean.
|
| All times are GMT -5. The time now is 21:29. |
Powered by vBulletin® Version 3.6.4
Copyright ©2000 - 2017, Jelsoft Enterprises Ltd.
Copyright © Chief Delphi