Chief Delphi

Chief Delphi (http://www.chiefdelphi.com/forums/index.php)
-   FIRST Tech Challenge (http://www.chiefdelphi.com/forums/forumdisplay.php?f=146)
-   -   [FTC]: Toggle controls (http://www.chiefdelphi.com/forums/showthread.php?t=73549)

nate15810 12-02-2009 14:52

Re: [FTC]: Toggle controls
 
I get this when i run the code:

ptan 15-02-2009 01:10

Re: [FTC]: Toggle controls
 
Your error in the screenshot indicates that the servo is out of range (Exception Type: 'Servo out of range(34))

The error is in the line before the state=1; statement

I noticed in the top of the screenshot, your commented code uses ServoB instead of 'servo1'. Did you do the motor/servo configurations correctly? Have you defined it as ServoB or as servo1?

Also, I noticed you did not add in the get joysticks command in while loop.

nate15810 17-02-2009 11:13

Re: [FTC]: Toggle controls
 
yeah just fixed that and hopefully i can get the bluetooth connected--it's on the fritz

.:EDIT:.
oh yeah, it completely blocks off all other commands from the controllers...
but it does work...
and i figured out that our driver doesn't want the toggle now...
all this for nothing unless he decides he wants it...
thanks guys


All times are GMT -5. The time now is 12:35.

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