Go to Post The only way to make a noticeable shift in OUR culture is if there are a lot of small shifts. - JVN [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 06-02-2016, 23:20
polarvortexrobo polarvortexrobo is offline
Registered User
FRC #5637
 
Join Date: Feb 2015
Location: Minneapolis, MN
Posts: 5
polarvortexrobo is an unknown quantity at this point
Reverse Robot Drive Direction

Hey guys,

This is my second year programming for my team and need some help.

I am using LV and want to create a program that when a button is press, it reverses the drive direction of the robot. For example, the robot is moving forward toward the right. Once the button is pressed, the forward direction is to the left.

How will I go about doing this?

Thanks in advance!
Polar
Reply With Quote
  #2   Spotlight this post!  
Unread 06-02-2016, 23:41
samfruth's Avatar
samfruth samfruth is offline
Registered User
FRC #1710 (Ravonics Revolution)
Team Role: Driver
 
Join Date: Jan 2014
Rookie Year: 2013
Location: Olathe, Kansas
Posts: 132
samfruth will become famous soon enough
Re: Reverse Robot Drive Direction



try this out
__________________



I kind of know programming
Reply With Quote
  #3   Spotlight this post!  
Unread 07-02-2016, 13:22
polarvortexrobo polarvortexrobo is offline
Registered User
FRC #5637
 
Join Date: Feb 2015
Location: Minneapolis, MN
Posts: 5
polarvortexrobo is an unknown quantity at this point
Re: Reverse Robot Drive Direction

Thanks! I'll definitely try it out.
Reply With Quote
  #4   Spotlight this post!  
Unread 07-02-2016, 13:25
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,906
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: Reverse Robot Drive Direction

If instead of Arcade drive, you try Tank Drive remember to switch the Tank Drive inputs as well.
__________________
"Rationality is our distinguishing characteristic - it's what sets us apart from the beasts." - Aristotle
Reply With Quote
  #5   Spotlight this post!  
Unread 11-01-2017, 14:09
VDubLove's Avatar
VDubLove VDubLove is offline
Registered User
FRC #5913
Team Role: Mentor
 
Join Date: Apr 2016
Rookie Year: 2016
Location: Pequot Lakes, MN
Posts: 7
VDubLove is an unknown quantity at this point
Re: Reverse Robot Drive Direction

Sorry to bring up an older thread, but my team is looking at doing something like this for Steamworks. We would like to be able to switch which way our robot drives forward depending on what game piece we are manipulating. We usually always use tank drive and would like to push a button to switch which way our robot drives "forward"

Thanks in advance.
Reply With Quote
  #6   Spotlight this post!  
Unread 11-01-2017, 14:11
VDubLove's Avatar
VDubLove VDubLove is offline
Registered User
FRC #5913
Team Role: Mentor
 
Join Date: Apr 2016
Rookie Year: 2016
Location: Pequot Lakes, MN
Posts: 7
VDubLove is an unknown quantity at this point
Re: Reverse Robot Drive Direction

Sorry I should have included that the previous reply with pictures did not seem to show up on my computer.

Thanks
Reply With Quote
  #7   Spotlight this post!  
Unread 11-01-2017, 14:27
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,746
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: Reverse Robot Drive Direction

The above example reverses the drive direction while you're holding down a button. Do you want something where you click and let go and drive reverses, click and let go drive goes back to normal? Or maybe two buttons, push button 10 for reverse mode, button 11 for normal mode?
__________________
The difficult we do today; the impossible we do tomorrow. Miracles by appointment only.

Lone Star Regional Troubleshooter
Reply With Quote
  #8   Spotlight this post!  
Unread 11-01-2017, 22:25
VDubLove's Avatar
VDubLove VDubLove is offline
Registered User
FRC #5913
Team Role: Mentor
 
Join Date: Apr 2016
Rookie Year: 2016
Location: Pequot Lakes, MN
Posts: 7
VDubLove is an unknown quantity at this point
Re: Reverse Robot Drive Direction

Yes I was trying to figure out away to push one button to reverse the direction and then push it again to return to normal. I would guess it would have to do adding another button array but that's as far as I go.
Reply With Quote
  #9   Spotlight this post!  
Unread 13-01-2017, 21:39
VDubLove's Avatar
VDubLove VDubLove is offline
Registered User
FRC #5913
Team Role: Mentor
 
Join Date: Apr 2016
Rookie Year: 2016
Location: Pequot Lakes, MN
Posts: 7
VDubLove is an unknown quantity at this point
Re: Reverse Robot Drive Direction

Just curious if anybody had any ideas for me........ I'm officially stuck.
Reply With Quote
  #10   Spotlight this post!  
Unread 13-01-2017, 22:46
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,906
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: Reverse Robot Drive Direction

Follow the directions in the original suggestion
Attached Thumbnails
Click image for larger version

Name:	8uMvc50-v2.png
Views:	15
Size:	14.5 KB
ID:	21533  
__________________
"Rationality is our distinguishing characteristic - it's what sets us apart from the beasts." - Aristotle
Reply With Quote
  #11   Spotlight this post!  
Unread 14-01-2017, 04:46
VDubLove's Avatar
VDubLove VDubLove is offline
Registered User
FRC #5913
Team Role: Mentor
 
Join Date: Apr 2016
Rookie Year: 2016
Location: Pequot Lakes, MN
Posts: 7
VDubLove is an unknown quantity at this point
Re: Reverse Robot Drive Direction

Thanks so much Mark. I don't know why, but I could not see the images in the first post so I was unable to see what was neended.
Reply With Quote
  #12   Spotlight this post!  
Unread 14-01-2017, 08:58
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,906
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: Reverse Robot Drive Direction

The image is linked from i.imgur.com and you probably have that site blocked.
I attached a copy of the image directly into chiefdelphi, so that's why you can see it now.
__________________
"Rationality is our distinguishing characteristic - it's what sets us apart from the beasts." - Aristotle
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 10: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