Go to Post Paul Copioli - A guy who is 13 years older than me, but acts about 13 years younger. - Amanda Morrison [more]
Home
Go Back   Chief Delphi > Technical > Programming
CD-Media   CD-Spy  
portal register members calendar search Today's Posts Mark Forums Read FAQ rules

 
 
 
Thread Tools Rate Thread Display Modes
Prev Previous Post   Next Post Next
  #2   Spotlight this post!  
Unread 22-01-2007, 11:46
BradAMiller BradAMiller is offline
Registered User
AKA: Brad
#0190 ( Gompei and the Herd)
Team Role: Mentor
 
Join Date: Mar 2004
Location: Worcester, MA
Posts: 590
BradAMiller has a brilliant futureBradAMiller has a brilliant futureBradAMiller has a brilliant futureBradAMiller has a brilliant futureBradAMiller has a brilliant futureBradAMiller has a brilliant futureBradAMiller has a brilliant futureBradAMiller has a brilliant futureBradAMiller has a brilliant futureBradAMiller has a brilliant futureBradAMiller has a brilliant future
Re: WPILib Questions

Quote:
Originally Posted by Kruuzr View Post
Is it possible to send commands to the camera using the serial port calls in WPILib, or will the response from the camera (ACK/NCK) confuse the library? I assume that the library handles any incoming bytes from the camera. The reason I ask is that I wanted to use the Virtual Window function on the camera.

Steve
I put up a new version of WPILib that exposes some of the internal functions that can reset the camera and send commands to it. Should make it easy to use the Virtual Window stuff.

http://users.wpi.edu/~bamiller/WPILib/Versions.html

Please let me know how it works and if it solves your problem.

When you reset the camera, then send commands, tracking is turned off. You need to restart tracking by calling StartCamera(). Also you can set the camera debug mode by calling SetCameraDebugMode(1) and the commands to/from the camera will be echoed in the terminal window so you can see what it is doing.

Brad
__________________
Brad Miller
Robotics Resource Center
Worcester Polytechnic Institute
 


Thread Tools
Display Modes Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Welcome to the WPILib forum BradAMiller Programming 22 25-03-2008 22:44
New version of WPILib BradAMiller Programming 26 27-01-2007 15:49
Using WPILib on a Vex robot koenig3456 Programming 2 02-05-2006 14:56
Use of printf in WPILib koenig3456 Programming 2 06-03-2006 07:21


All times are GMT -5. The time now is 14:53.

The Chief Delphi Forums are sponsored by Innovation First International, Inc.


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