Go to Post The weight sounds about right, too. If you need more than 65 pounds for your manipulator, then the drivetrain isn't the part you should be redesigning... - s_forbes [more]
Home
Go Back   Chief Delphi > Technical > Programming > C/C++
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
  #18   Spotlight this post!  
Unread 20-01-2010, 15:40
byteit101's Avatar
byteit101 byteit101 is offline
WPILib maintainer (WPI)
AKA: Patrick Plenefisch
no team (The Cat Attack (Formerly))
Team Role: Programmer
 
Join Date: Jan 2009
Rookie Year: 2009
Location: Worcester
Posts: 699
byteit101 is a glorious beacon of lightbyteit101 is a glorious beacon of lightbyteit101 is a glorious beacon of lightbyteit101 is a glorious beacon of lightbyteit101 is a glorious beacon of lightbyteit101 is a glorious beacon of light
Re: Dashboard-Driver Station Help Please

Quote:
Originally Posted by heydowns View Post
The vision example is obviously broken with respect to the Watchdog usage. It clearly enables the watchdog, sets expiration to some time (let's say t seconds, since I don't have it in front of me) and then proceeds to sleep significantly longer than that expiration (t + x).
You will always get a watchdog not fed at the start of this example if left unmodified.

I do understand your frustration with the quality of the examples.
But it still feeds it
Quote:
Originally Posted by 2010ImageDemo
...
// set watchdog
GetWatchdog().SetExpiration(1.0);

Wait(3.0);


// keep track of the previous joystick trigger value
bool lastTrigger = false;

// loop getting images from the camera and finding targets
printf("Starting operator control loop\n");
while (IsOperatorControl()) {
bool trigger;
GetWatchdog().Feed();
...
__________________
Bubble Wrap: programmers rewards
Watchdog.Kill();
printf("Watchdog is Dead, Celebrate!");
How to make a self aware robot: while (∞) cout<<(sqrt(-∞)/-0);
Previously FRC 451 (The Cat Attack)
Now part of the class of 2016 at WPI & helping on WPILib
Reply With Quote
 


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
How to run dashboard project on driver station baronep Programming 1 18-01-2010 14:58
Driver Station Dashboard Problems CVassos Programming 9 16-01-2010 23:27
Driver Station to Dashboard Laptop connection slavik262 FRC Control System 4 12-01-2010 00:37
Driver Station Help.. 1708xMr.Roboto FRC Control System 8 22-12-2008 15:24


All times are GMT -5. The time now is 18:15.

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