Go to Post Here's my standard for-every-new-member-of-Chief-Delphi-Welcome: WELCOME TO CHIEF DELPHI!!!!!! :D - [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
  #2   Spotlight this post!  
Unread 13-01-2009, 18:20
Kevin Sevcik's Avatar
Kevin Sevcik Kevin Sevcik is online now
(Insert witty comment here)
FRC #0057 (The Leopards)
Team Role: Mentor
 
Join Date: Jun 2001
Rookie Year: 1998
Location: Houston, Texas
Posts: 3,708
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: Slow acceleration (LabView)

It would help immensely if you could post your code, or a snapshot of the relevant portion of your code. As it is, my questions are, which divide function are you using, floating point divide, or "Quotient and Remainder"? Also, your code as described, will accelerate faster at the beginning and slower towards the end. I don't want to think of how long it'd take your robot to get up to the joystick's command doing it that way. It'd be a very long time, however.

The usual way to do this is to pick a specific number to add to the motor command every loop, until you get to the joystick command. So you'd just add (or subtract), say, 0.001 to the motor command on every loop, and then make sure it's not larger (or smaller) than the joystick value.
__________________
The difficult we do today; the impossible we do tomorrow. Miracles by appointment only.

Lone Star Regional Troubleshooter
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 21:57.

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