Go to Post Magic doesn't count as a support, sorry. Neither does simply constraining in CAD... - EricH [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

 
Reply
Thread Tools Rate Thread Display Modes
  #1   Spotlight this post!  
Unread 12-02-2011, 11:30
Ian McShane Ian McShane is offline
Registered User
FRC #3585 (Rogue Robots)
Team Role: Programmer
 
Join Date: Jan 2011
Rookie Year: 2009
Location: NH
Posts: 141
Ian McShane will become famous soon enoughIan McShane will become famous soon enough
is the set angle, get angle, or set position the same as set output for motor vi's

if not, which one is?
Reply With Quote
  #2   Spotlight this post!  
Unread 12-02-2011, 11:50
Greg McKaskle Greg McKaskle is offline
Registered User
FRC #2468 (Team NI & Appreciate)
 
Join Date: Apr 2008
Rookie Year: 2008
Location: Austin, TX
Posts: 4,752
Greg McKaskle has a reputation beyond reputeGreg McKaskle has a reputation beyond reputeGreg McKaskle has a reputation beyond reputeGreg McKaskle has a reputation beyond reputeGreg McKaskle has a reputation beyond reputeGreg McKaskle has a reputation beyond reputeGreg McKaskle has a reputation beyond reputeGreg McKaskle has a reputation beyond reputeGreg McKaskle has a reputation beyond reputeGreg McKaskle has a reputation beyond reputeGreg McKaskle has a reputation beyond repute
Re: is the set angle, get angle, or set position the same as set output for motor vi'

Looking at the diagram, Set Position on a servo ranges between 0 and 1, similar to Set Output for a motor. Set Angle is a wrapper around Set Position that maps the angle between 0 and 1 and calls Set Position. You can use either of them to update a servo to the location you want it.

Greg McKaskle
Reply With Quote
  #3   Spotlight this post!  
Unread 12-02-2011, 11:51
Vikesrock's Avatar
Vikesrock Vikesrock is offline
Team 2175 Founder
AKA: Kevin O'Connor
no team
Team Role: Engineer
 
Join Date: Mar 2006
Rookie Year: 2007
Location: Manchester, NH
Posts: 3,305
Vikesrock has a reputation beyond reputeVikesrock has a reputation beyond reputeVikesrock has a reputation beyond reputeVikesrock has a reputation beyond reputeVikesrock has a reputation beyond reputeVikesrock has a reputation beyond reputeVikesrock has a reputation beyond reputeVikesrock has a reputation beyond reputeVikesrock has a reputation beyond reputeVikesrock has a reputation beyond reputeVikesrock has a reputation beyond repute
Send a message via AIM to Vikesrock Send a message via MSN to Vikesrock Send a message via Yahoo to Vikesrock
Re: is the set angle, get angle, or set position the same as set output for motor vi'

None of the above. A motor (for the purposes of this competition) is controlled by setting its speed. A servo is controlled by setting it's angle. It will then move to this angle and hold that position as best it can until you issue a new command.
__________________


2007 Wisconsin Regional Highest Rookie Seed & Regional Finalists (Thanks 930 & 2039)
2008 MN Regional Semifinalists (Thanks 2472 & 1756)
2009 Northstar Regional Semifinalists (Thanks 171 & 525)
Reply With Quote
  #4   Spotlight this post!  
Unread 12-02-2011, 11:51
Mtg Ruler Mtg Ruler is offline
Registered User
FRC #1986 (Team Titanium)
Team Role: Mentor
 
Join Date: Jan 2009
Rookie Year: 2008
Location: Lee's Summit, MO
Posts: 21
Mtg Ruler is an unknown quantity at this point
Re: is the set angle, get angle, or set position the same as set output for motor vi'

Each VI is different if you open it and look inside

Set Angle sets an angle for the servo in degrees. probably a range of [0,360), but depends on the servo

Get Angle returns the angle that the servo is currently at. probably range of [0,360)

Set Position sets the servo to a percentage of its maximum rotation [0.0,1.0]

These are only for servos, and will likely mess up with motors
Reply With Quote
  #5   Spotlight this post!  
Unread 12-02-2011, 12:05
Ian McShane Ian McShane is offline
Registered User
FRC #3585 (Rogue Robots)
Team Role: Programmer
 
Join Date: Jan 2011
Rookie Year: 2009
Location: NH
Posts: 141
Ian McShane will become famous soon enoughIan McShane will become famous soon enough
Re: is the set angle, get angle, or set position the same as set output for motor vi'

Excellent that was what i needed to know, thanks
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 20:34.

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