|
|
|
![]() |
|
|||||||
|
||||||||
![]() |
|
|
Thread Tools | Rate Thread | Display Modes |
|
|
|
#1
|
|||
|
|||
|
Re: 2 Cmucams?
Technically, he is right. in an UART, each byte is 10 bits (1 start, 8 data, 1 stop). running at 115200 continuously gives 115200/ 10 * 2 interrupts / second for the recievers alone.
Of course, the PIC can handle that, considering that the cameras will not continuously send data, however, a few thousand interrupts per second will be generated. |
|
#2
|
|||
|
|||
|
Re: 2 Cmucams?
Quote:
|
|
#3
|
||||
|
||||
|
Re: 2 Cmucams?
Quote:
-Kevin |
|
#4
|
||||
|
||||
|
Re: 2 Cmucams?
All,
While we did not run 2 cameras, in 2005 we moved the camera to port 1 (programming port) and installed a SMiRF on port 2 to enhance code development. We had no problems with interrupt overhead. Regards, Mike |
|
#5
|
|||
|
|||
|
Re: 2 Cmucams?
We can choose to argue about the details, but the point that we agree on is that the Robot Controller can easily handle 2 CMU Cam's with your code.
|
|
#6
|
||||
|
||||
|
Re: 2 Cmucams?
I don't choose to argue about anything. I'm right and you're wrong. The serial data from the camera generates just over one hundred interrupts per second, not "a few thousand" and certainly not "11520".
-Kevin |
|
#7
|
|||
|
|||
|
Re: 2 Cmucams?
You're right. I believed that the data packets were larger, but after checking the code carefully I found that I was wrong. Sorry if I seemed too jumpy.
|
![]() |
| Thread Tools | |
| Display Modes | Rate This Thread |
|
|