Go to Post Introverts can be good leaders too, we just lead differently. - Ari423 [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-2014, 13:52
M.Kong-Sivert M.Kong-Sivert is offline
Registered User
AKA: Mackenzie Kong-Sivert
FRC #2375 (Dragon Robotics)
Team Role: Alumni
 
Join Date: Jan 2012
Rookie Year: 2012
Location: Phoenix, Arizona
Posts: 45
M.Kong-Sivert is an unknown quantity at this point
Stopping an Axis-Controlled Motor

Our robot has an arm that is supposed to pick up the ball and is controlled by a gearbox, which is connected to a CIM and a Mini-CIM. We used to have it programmed so that the arm was controlled by buttons (one to make it go up and one to go down), but we decided to change it by controlling it with one of the axes instead. This gave us more control, and, overall, we prefer it. However, we designed the arm so that it could stop halfway up to catch the ball, and now we can't stop the arm in the middle anymore. Is there a way for us to program it so that it can stop in the middle? Thank you.
Reply With Quote
  #2   Spotlight this post!  
Unread 12-02-2014, 13:57
Mark McLeod's Avatar
Mark McLeod Mark McLeod is offline
Just Itinerant
AKA: Hey dad...Father...MARK
FRC #0358 (Robotic Eagles)
Team Role: Engineer
 
Join Date: Mar 2003
Rookie Year: 2002
Location: Hauppauge, Long Island, NY
Posts: 8,795
Mark McLeod has a reputation beyond reputeMark McLeod has a reputation beyond reputeMark McLeod has a reputation beyond reputeMark McLeod has a reputation beyond reputeMark McLeod has a reputation beyond reputeMark McLeod has a reputation beyond reputeMark McLeod has a reputation beyond reputeMark McLeod has a reputation beyond reputeMark McLeod has a reputation beyond reputeMark McLeod has a reputation beyond reputeMark McLeod has a reputation beyond repute
Re: Stopping an Axis-Controlled Motor

Letting go of the joystick doesn't stop it?

You can add dual controls if the buttons worked better for the middle position, so that the buttons override the joystick.
__________________
"Rationality is our distinguishing characteristic - it's what sets us apart from the beasts." - Aristotle
Reply With Quote
  #3   Spotlight this post!  
Unread 14-02-2014, 09:11
Invictus3593's Avatar
Invictus3593 Invictus3593 is offline
time you like wasting is not wasted
FRC #3593 (Team Invictus)
Team Role: Leadership
 
Join Date: Jan 2013
Rookie Year: 2010
Location: Tulsa, OK
Posts: 318
Invictus3593 is just really niceInvictus3593 is just really niceInvictus3593 is just really niceInvictus3593 is just really nice
Re: Stopping an Axis-Controlled Motor

Going along what Mark said, you could try wiring a button in-between the axis and the MotorSet block. When the button is pushed (true), the MotorSet block would recieve the joystick value but otherwise (false) it is set to zero.

If the joystick isn't setting the motor back to zero like it's supposed to, this would guarantee a total stop because of the button override.

Is that the problem you're having?
__________________
Per Audacia Ad Astra
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 09:55.

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