Go to Post Is there a way to spotlight an entire thread? - ctt956 [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 26-01-2009, 22:00
weinbergmath's Avatar
weinbergmath weinbergmath is offline
Mentor to China FTC/FLL, FRC1230
AKA: Evan Weinberg
FRC #1230
Team Role: Mentor
 
Join Date: Jan 2005
Rookie Year: 2004
Location: Hangzhou, China
Posts: 22
weinbergmath is a splendid one to beholdweinbergmath is a splendid one to beholdweinbergmath is a splendid one to beholdweinbergmath is a splendid one to beholdweinbergmath is a splendid one to beholdweinbergmath is a splendid one to beholdweinbergmath is a splendid one to beholdweinbergmath is a splendid one to behold
Joystick Limit VI & Low Friction Simulation

Hi everyone,

I want to share the VI that our team put together to limit the rate of change of the motors based on the joystick. To use it, the current value of the joystick and the previous value of the motor output (passed through a shift register from the previous loop) should be passed in, along with the value of the maximum rate of change of the joystick.

I also want to share an interesting side effect of running this VI during a build session this weekend. By limiting the joystick rate of change to a low value (0.02 or less per loop of the main loop in Robot Main.vi) and driving the robot in the hallway, we found that the robot acted as if it was on a low friction surface since it would not slow down, speed up, or change velocity quickly. The robot moved much like videos of actual robots on the Regolith:

http://www.youtube.com/watch?v=rWgRFjKGbnQ

It occurred to me after this started happening that this should be an obvious consequence of severely limiting the rate of change of the motor outputs - low friction naturally limits the maximum acceleration possible on the surface - using this VI simulated this natural limit through software.

This quickly turned into an interesting test for my drivers, allowing them to practice driving around on a low friction surface without actually being on one. The wheels on the robot are IFI traction wheels, which do a pretty good job on the hallway floor of getting traction. The difference in robot handling is pretty obvious from the video, and the effects can be increased or decreased just by changing the maximum value of acceleration on the front panel.

I'm hoping to also attach the trailer to this robot to give my drivers some more practice. I know the experience of driving on the regolith with the trailer is probably still different from what this simulation allows, but it's a good temporary solution for my team which doesn't have a local field to practice on at this point.
Attached Files
File Type: vi Joystick limit.vi (10.5 KB, 117 views)
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
Using a limit switch to limit motion ManicMechanic Programming 16 20-12-2007 00:54
Victors, Default code, & joystick configuration Vermatitis Control System 4 27-01-2005 16:01
Victors, Default code, & joystick configuration Vermatitis Electrical 4 27-01-2005 16:01
Friction Between Bins & HDPE Gary Bonner Technical Discussion 2 14-01-2003 08:56
Joystick limit Rickertsen2 Electrical 1 11-01-2003 20:13


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

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