Go to Post Want the TL;DR of it? Keep it simple, effective, and easy to use. - Andrew Schreiber [more]
Home
Go Back   Chief Delphi > ChiefDelphi.com Website > Extra Discussion
CD-Media   CD-Spy  
portal register members calendar search Today's Posts Mark Forums Read FAQ rules

 
Reply
Thread Tools Rate Thread Display Modes
  #1   Spotlight this post!  
Unread Yesterday, 18:59
Nevada Reno's Avatar
Nevada Reno Nevada Reno is offline
NevTSC
FRC #5430 (Piraterobolution)
Team Role: Programmer
 
Join Date: Oct 2015
Rookie Year: 2016
Location: Pittsburg,california
Posts: 11
Nevada Reno is an unknown quantity at this point
pic: auto code

Reply With Quote
  #2   Spotlight this post!  
Unread Yesterday, 19:01
Mark McLeod's Avatar
Mark McLeod Mark McLeod is offline
Just Itinerant
AKA: Hey dad...Father...MARK
FRC #0358 (Robotic Eagles)
Team Role: Engineer
 
Join Date: Mar 2003
Rookie Year: 2002
Location: Hauppauge, Long Island, NY
Posts: 8,950
Mark McLeod has a reputation beyond reputeMark McLeod has a reputation beyond reputeMark McLeod has a reputation beyond reputeMark McLeod has a reputation beyond reputeMark McLeod has a reputation beyond reputeMark McLeod has a reputation beyond reputeMark McLeod has a reputation beyond reputeMark McLeod has a reputation beyond reputeMark McLeod has a reputation beyond reputeMark McLeod has a reputation beyond reputeMark McLeod has a reputation beyond repute
Re: pic: auto code

This code will execute only once at the beginning of Autonomous. If TEST happens to be true the instant the robot is Enabled, then it will start the motor and quit. The motor will continue running forever.

You need to put a while loop around the outside of this (TEST needs to be inside the loop, too). Give it a Wait of 10ms or so as well.
__________________
"Rationality is our distinguishing characteristic - it's what sets us apart from the beasts." - Aristotle

Last edited by Mark McLeod : Yesterday at 19:12.
Reply With Quote
Reply


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


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

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