Go to Post For those who have been doing this for a long time, design is an emotional experience. - Joe Johnson [more]
Home
Go Back   Chief Delphi > Other > FIRST Tech Challenge
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 04-11-2008, 12:12
roborat roborat is offline
Registered User
#1249
 
Join Date: Mar 2005
Location: Mingo County West Virginia
Posts: 143
roborat is a splendid one to beholdroborat is a splendid one to beholdroborat is a splendid one to beholdroborat is a splendid one to beholdroborat is a splendid one to beholdroborat is a splendid one to beholdroborat is a splendid one to beholdroborat is a splendid one to behold
[FTC]: Servo Question

When we power up the robot, the servo centers. How can we set the servo so it doesn't do this?

We are using Labview.

Thanks,
Team 55
Reply With Quote
  #2   Spotlight this post!  
Unread 04-11-2008, 18:29
ttldomination's Avatar
ttldomination ttldomination is offline
Sunny
no team
Team Role: Mentor
 
Join Date: Mar 2007
Rookie Year: 2007
Location: Roanoke, TX
Posts: 2,066
ttldomination has a reputation beyond reputettldomination has a reputation beyond reputettldomination has a reputation beyond reputettldomination has a reputation beyond reputettldomination has a reputation beyond reputettldomination has a reputation beyond reputettldomination has a reputation beyond reputettldomination has a reputation beyond reputettldomination has a reputation beyond reputettldomination has a reputation beyond reputettldomination has a reputation beyond repute
Re: [FTC]: Servo Question

Uh...A couple things.

1. When a program starts, you almost always have an infinite loop in there to do the driving and junk. While I'm sorry I cannot help you with LabView, I can help you and show you the flow.

Servo[one] = 50; - This line sets the Servo as a hypothetical position 50.

While( 1== 1) - Now you have your infinite loop and you run all of your remainder code down here.
{

So basically what you've done is that right when you start up, before you enter the forever loop, you set the servo value and almost instantaneously, your servo will jump to that position first. Then any servo value changes can be made in this section of the code.


}


Sorry about no LabView. But as far as "flow" is considered, that is how it would run.
__________________
1261: 2007-2012
1648: 2013-2014
5283: 2015
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

Similar Threads
Thread Thread Starter Forum Replies Last Post
[FTC]: Team 35's Servo Test wilsonmw04 FIRST Tech Challenge 11 03-11-2008 21:47
[FTC]: FTC Servo-Motor Problem with Labview dnhansen FIRST Tech Challenge 1 26-10-2008 00:43
[FTC]: FTC Ramp Question fbaldi25 FIRST Tech Challenge 5 14-10-2008 16:13
HS-322D servo programming question JimHull Programming 12 10-02-2007 15:14
Servo behavior question / advanced servo/PIC programming question DanL Electrical 12 18-10-2005 18:33


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

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