Go to Post Ask the right questions and you can get the right answers. - Chief Hedgehog [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-2013, 13:54
AquaMorph's Avatar
AquaMorph AquaMorph is offline
Alumnus of 2059
AKA: Christian Colglazier
FRC #2642 (Pitt Pirates)
Team Role: Mentor
 
Join Date: Jun 2010
Rookie Year: 2008
Location: Cary
Posts: 78
AquaMorph is on a distinguished road
Moving Only the Back Wheels

This year my team is having FIRST wheels in the back and omni wheels in the front. Each wheel has its own gear box and CIM. We are driving the robot with the 4 motor arcade drive. I want to program a special mode where only the back motors move. Is there a way to do this?
__________________
FRC Drive: Play Store FRC Manager: Play Store
Reply With Quote
  #2   Spotlight this post!  
Unread 06-02-2013, 14:15
Alan Anderson's Avatar
Alan Anderson Alan Anderson is offline
Software Architect
FRC #0045 (TechnoKats)
Team Role: Mentor
 
Join Date: Feb 2004
Rookie Year: 2004
Location: Kokomo, Indiana
Posts: 9,113
Alan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond repute
Re: Moving Only the Back Wheels

I can think of three ways to do it. One is probably more complicated and hackish than anyone should try. One involves completely ignoring the "Drive" functions and building your own out of regular Motor VIs.

The one that I'd actually try implementing myself is something like this:

Open each drive motor separately. Pass the motors' RefNums into an Open 4 Motor Drive function that's been set to the "existing motor" variant. Pass the rear motors's RefNums into a similar Open 2 Motor Drive function. Now you can choose to invoke the Arcade Drive function of either the 4-motor or the 2-motor Drive set. You'll have to disable the safety on the one you're not actively controlling.


I'm curious -- why do you want to do this?
Reply With Quote
  #3   Spotlight this post!  
Unread 06-02-2013, 14:20
AquaMorph's Avatar
AquaMorph AquaMorph is offline
Alumnus of 2059
AKA: Christian Colglazier
FRC #2642 (Pitt Pirates)
Team Role: Mentor
 
Join Date: Jun 2010
Rookie Year: 2008
Location: Cary
Posts: 78
AquaMorph is on a distinguished road
Re: Moving Only the Back Wheels

Quote:
Originally Posted by Alan Anderson View Post
I can think of three ways to do it. One is probably more complicated and hackish than anyone should try. One involves completely ignoring the "Drive" functions and building your own out of regular Motor VIs.

The one that I'd actually try implementing myself is something like this:

Open each drive motor separately. Pass the motors' RefNums into an Open 4 Motor Drive function that's been set to the "existing motor" variant. Pass the rear motors's RefNums into a similar Open 2 Motor Drive function. Now you can choose to invoke the Arcade Drive function of either the 4-motor or the 2-motor Drive set. You'll have to disable the safety on the one you're not actively controlling.


I'm curious -- why do you want to do this?
Yeah I was think something along the lines of your third idea. We would like to do this to give our robot a better fine turning ability for aiming.
__________________
FRC Drive: Play Store FRC Manager: Play Store
Reply With Quote
  #4   Spotlight this post!  
Unread 11-02-2013, 14:38
Ether's Avatar
Ether Ether is offline
systems engineer (retired)
no team
 
Join Date: Nov 2009
Rookie Year: 1969
Location: US
Posts: 8,100
Ether has a reputation beyond reputeEther has a reputation beyond reputeEther has a reputation beyond reputeEther has a reputation beyond reputeEther has a reputation beyond reputeEther has a reputation beyond reputeEther has a reputation beyond reputeEther has a reputation beyond reputeEther has a reputation beyond reputeEther has a reputation beyond reputeEther has a reputation beyond repute
Re: Moving Only the Back Wheels

Quote:
Originally Posted by AquaMorph View Post
We would like to do this to give our robot a better fine turning ability for aiming.
How did that work out for you? Did you actually get better fine turning ability with only 2 wheels powered?


Reply With Quote
  #5   Spotlight this post!  
Unread 15-02-2013, 12:30
AquaMorph's Avatar
AquaMorph AquaMorph is offline
Alumnus of 2059
AKA: Christian Colglazier
FRC #2642 (Pitt Pirates)
Team Role: Mentor
 
Join Date: Jun 2010
Rookie Year: 2008
Location: Cary
Posts: 78
AquaMorph is on a distinguished road
Re: Moving Only the Back Wheels

Quote:
Originally Posted by Ether View Post
How did that work out for you? Did you actually get better fine turning ability with only 2 wheels powered?
I tried the last method and now the robot will not drive at all. I guess the normal four wheel drive will have to do.
__________________
FRC Drive: Play Store FRC Manager: Play Store
Reply With Quote
  #6   Spotlight this post!  
Unread 15-02-2013, 22:27
DonRotolo's Avatar
DonRotolo DonRotolo is offline
Back to humble
FRC #0832
Team Role: Mentor
 
Join Date: Jan 2005
Rookie Year: 2005
Location: Atlanta GA
Posts: 7,011
DonRotolo has a reputation beyond reputeDonRotolo has a reputation beyond reputeDonRotolo has a reputation beyond reputeDonRotolo has a reputation beyond reputeDonRotolo has a reputation beyond reputeDonRotolo has a reputation beyond reputeDonRotolo has a reputation beyond reputeDonRotolo has a reputation beyond reputeDonRotolo has a reputation beyond reputeDonRotolo has a reputation beyond reputeDonRotolo has a reputation beyond repute
Re: Moving Only the Back Wheels

Quote:
Originally Posted by AquaMorph View Post
I tried the last method and now the robot will not drive at all. I guess the normal four wheel drive will have to do.
Giving up that easily?
__________________

I am N2IRZ - What's your callsign?
Reply With Quote
  #7   Spotlight this post!  
Unread 16-02-2013, 09:07
AquaMorph's Avatar
AquaMorph AquaMorph is offline
Alumnus of 2059
AKA: Christian Colglazier
FRC #2642 (Pitt Pirates)
Team Role: Mentor
 
Join Date: Jun 2010
Rookie Year: 2008
Location: Cary
Posts: 78
AquaMorph is on a distinguished road
Re: Moving Only the Back Wheels

Quote:
Originally Posted by DonRotolo View Post
Giving up that easily?
Well I have more important things I have to program.
__________________
FRC Drive: Play Store FRC Manager: Play Store
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 22:56.

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