Go to Post When faced with large problems, I always see it as an opportunity to dream big. Really big. - JaneYoung [more]
Home
Go Back   Chief Delphi > Technical > Programming > NI LabVIEW
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
  #6   Spotlight this post!  
Unread 10-02-2010, 15:53
umangv620 umangv620 is offline
Programming Captain
AKA: Umang
FRC #1403 (Cougar Robotics)
Team Role: Programmer
 
Join Date: Jan 2010
Rookie Year: 2008
Location: New Jersey
Posts: 80
umangv620 will become famous soon enoughumangv620 will become famous soon enough
Re: Need help w/ moving Camera Servo motors.

Quote:
Originally Posted by Alan Anderson View Post
If you open up the SetAngle vi you can see how it works. It takes the angle and normalizes it to 0-359, then converts that to a number from 0 to 1 based on the angular range of the servo. The default range is 170 degrees.

What you should do is choose an appropriate increment. If you use 0.01 instead of 1, your servo will work as you expect with 100 steps of travel. (This assumes that the rest of your code is correct. Things are scrunched enough that I can't really read it well.)
Sorry about the double post and sorry about the code. Maybe I should have kept the lightbulb mode off so everyone could read the code more clearly.

I will try changing the increment tomorrow, since school is closed today.
__________________
Team 1403 Cougar Robotics

2009-2011 Programming Captain

2010
NJ-Regional - Chairmans Award
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
HELP- Need Globe Motors ASAP Brandon Holley General Forum 0 03-11-2009 10:37
need help with motors EagleMentor Programming 3 06-02-2009 17:37
Need help with mini motors R.C. Motors 11 03-07-2008 16:25
help getting servo values from camera ruddy Programming 12 30-11-2007 23:18
Window Motors. Need help!!!! Mohsin Motors 1 27-02-2004 13:05


All times are GMT -5. The time now is 22:45.

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