Go to Post Developing new "classes" of super-competition would totally defeat the concepts of info-sharing, partnerships, alliances, etc and create an elitist society within FIRST. - dhitchco [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 09-03-2010, 21:40
Billyfred's Avatar
Billyfred Billyfred is offline
Registered User
AKA: Connor Hall
FRC #1566 (Ammoknights)
Team Role: Programmer
 
Join Date: Dec 2008
Rookie Year: 2008
Location: Idaho Falls, Idaho
Posts: 2
Billyfred is an unknown quantity at this point
In Range and Coerce?

Hello, for the mechinum wheel drive our team has set up, I have designed a control system using the joystick buttons. Unfortunately the design is clunky, and unwieldy. Because of this I have been looking at the "inrange and coerce" function. I was hoping to be able to use the joystick axises to replace the buttons (say moving a joystick to the left to make the mech drive go to the left.). Im confused with these things, has anyone used this idea to control the robot?
Reply With Quote
  #2   Spotlight this post!  
Unread 10-03-2010, 01:40
Tom Line's Avatar
Tom Line Tom Line is offline
Raptors can't turn doorknobs.
FRC #1718 (The Fighting Pi)
Team Role: Mentor
 
Join Date: Jan 2007
Rookie Year: 1999
Location: Armada, Michigan
Posts: 2,512
Tom Line has a reputation beyond reputeTom Line has a reputation beyond reputeTom Line has a reputation beyond reputeTom Line has a reputation beyond reputeTom Line has a reputation beyond reputeTom Line has a reputation beyond reputeTom Line has a reputation beyond reputeTom Line has a reputation beyond reputeTom Line has a reputation beyond reputeTom Line has a reputation beyond reputeTom Line has a reputation beyond repute
Re: In Range and Coerce?

You'll find a premade holonomic drive system in Labview that will perform the drive functions you need without you programming them all from scratch. Take a look.
Reply With Quote
  #3   Spotlight this post!  
Unread 10-03-2010, 08:51
Kevin Sevcik's Avatar
Kevin Sevcik Kevin Sevcik is offline
(Insert witty comment here)
FRC #0057 (The Leopards)
Team Role: Mentor
 
Join Date: Jun 2001
Rookie Year: 1998
Location: Houston, Texas
Posts: 3,587
Kevin Sevcik has a reputation beyond reputeKevin Sevcik has a reputation beyond reputeKevin Sevcik has a reputation beyond reputeKevin Sevcik has a reputation beyond reputeKevin Sevcik has a reputation beyond reputeKevin Sevcik has a reputation beyond reputeKevin Sevcik has a reputation beyond reputeKevin Sevcik has a reputation beyond reputeKevin Sevcik has a reputation beyond reputeKevin Sevcik has a reputation beyond reputeKevin Sevcik has a reputation beyond repute
Send a message via AIM to Kevin Sevcik Send a message via Yahoo to Kevin Sevcik
Re: In Range and Coerce?

First, I'd recommend trying the canned Labview holonomic code. It may work better than what you're attempting right now.

However, if you're just trying to decide if the joystick is, say, 50% to the right or 50% to the left, in range and coerce is a bit excessive. You should just be able to use the "greater than" and "less than" comparators from the Boolean palette.

If you're trying to get a series of locations like, say "100%-75% Left", "75%-50% Left", "50%-75% Right", and "75%-100% Right", then a series of in range and coerce functions may be the simplest way to get that done.
__________________
The difficult we do today; the impossible we do tomorrow. Miracles by appointment only.

Lone Star Regional Troubleshooter
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
range sensor elvin23 Programming 2 04-02-2008 20:40
Finding range DanDon Programming 11 10-01-2006 22:58
servo range of motion tux Control System 4 07-05-2005 02:32
Camera Range Finding russell Programming 9 31-01-2005 19:54
ir beacon range doy Programming 10 29-01-2004 16:46


All times are GMT -5. The time now is 08:40.

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