Go to Post I'm sure you can come up with something, with a bit of warped thought! ... and if not, warped thinking is what your team's Engineers are for! :) - kmcclary [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
  #1   Spotlight this post!  
Unread 13-01-2009, 17:11
the_waterboy the_waterboy is offline
Registered User
FRC #1095
 
Join Date: Feb 2008
Location: Chatham, VA
Posts: 7
the_waterboy is an unknown quantity at this point
Slow acceleration (LabView)

Our team is trying to code our robot to accelerate slowly, regardless of the joystick's position(The driver slams the joystick full forward, but the robot takes off slowly). We are doing this to keep the robot from spinning the tires on the slick floor and hopefully to gain better traction at take-off. We are using the Get Motor subVI, Set Motor, and Get Joystick. We subtract the value of the motor from the value of the Joystick, divide the result by a set number(currently 10,000), add this quotient to the motor value, then set the motor to that value. We are quite sure that Get Joystick, Set Motor, and Get Motor all use decimal values from -1.0 to 1.0, but if someone knows otherwise, please tell us. The code works when the joystick is being pressed in one direction, but not when it is being pressed in the opposite direction. We have also noticed that the motor is in the deadband until it reaches the maximum value. If anyone has any information on creating a code like this, please speak up, as it has halted our coding from going any farther for the time being.
__________________
So what if I'm crazy?
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
Acceleration of Fisher Price Motor Boco Gear Motors 2 06-01-2009 11:39
Limiting acceleration in easyC Neurovirus Programming 13 02-02-2008 12:50
Moderating Acceleration / Deceleration Tom Line Programming 7 15-02-2007 13:39
Acceleration Curve EricWilliams Programming 5 01-02-2006 16:27
How slow is too slow? Joe Ross Rules/Strategy 23 12-10-2004 20:23


All times are GMT -5. The time now is 10:58.

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