Chief Delphi

Chief Delphi (http://www.chiefdelphi.com/forums/index.php)
-   Programming (http://www.chiefdelphi.com/forums/forumdisplay.php?f=51)
-   -   SF and RM (http://www.chiefdelphi.com/forums/showthread.php?t=50122)

nmihailidis 27-11-2006 09:09

SF and RM
 
Hi everybody.

I bought CMUCam2 and I want to ask you two questions.

Firtst, when I am sending the 'SF' command, is there a way to see the form of F-packets and make the non-visible ASCII characters visible?

Second, what means raw bytes packets? I can't understand the meaning from the manual. Can you give me an example of raw modes?

I would appreciate any help.
Thank you in advance..
NM

EHaskins 27-11-2006 10:21

Re: SF and RM
 
if you want to look at some good code for the camera look at kevin's code (www.kevin.org/frc). His code is great, even if you don't use it.

chris31 27-11-2006 12:04

Re: SF and RM
 
Kevin Watson also has the PDF datasheets that have alot of info. Ill pull out my CMUCam and see if i can answer your question.

divergentdave 27-11-2006 18:52

Re: SF and RM
 
Take a look at this thread for more about the format of SF packets.

http://www.chiefdelphi.com/forums/sh...ad.php?t=48821

Astronouth7303 27-11-2006 23:19

Re: SF and RM
 
A theoretical ASCII packet would look like this:
Code:

X 54 42 35\r
While the equivalent Raw mode packet would be:
Code:

X\x36\x2A\x23\r
It allows you to write simplier serial drivers because each byte is the value, not some character that represents a part of the value.


All times are GMT -5. The time now is 01:25.

Powered by vBulletin® Version 3.6.4
Copyright ©2000 - 2017, Jelsoft Enterprises Ltd.
Copyright © Chief Delphi