Go to Post Viva La FIRST Revolucion! - phrontist [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 18-02-2011, 12:00
Seadou Seadou is offline
Registered User
FRC #1997
 
Join Date: Feb 2011
Location: Kansas
Posts: 3
Seadou is an unknown quantity at this point
Forward and backward running at only .5 speed

Hey there, I am the assistant programmer at team 1997, and right now it is crunch time. I expect that I will be though of as another person asking for something to copy and paste. but i have a simple question.

We are running on mecanum wheels controlled by toughbox's and chain drive, we are feeding power through jaguars. when we have the robot propped up, and we test the voltage on all of the jaguars we get readings of 12v for all directions (strafe left, right, turn left,right etc) however when we go forward or backward it gives us only half the voltage on the output. I have gone over the code multiple times and I cant see anywhere that it says to halve the voltage for forward or backward directions.

If you guys need more information just ask me and thank for your input at this stressful time. Good luck to your team and I hope to see you guys at the competition.
Reply With Quote
  #2   Spotlight this post!  
Unread 18-02-2011, 12:20
Ether's Avatar
Ether Ether is offline
systems engineer (retired)
no team
 
Join Date: Nov 2009
Rookie Year: 1969
Location: US
Posts: 8,065
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: Forward and backward running at only .5 speed

Quote:
Originally Posted by Seadou View Post
Hey there, I am the assistant programmer at team 1997, and right now it is crunch time. I expect that I will be though of as another person asking for something to copy and paste. but i have a simple question.

We are running on mecanum wheels controlled by toughbox's and chain drive, we are feeding power through jaguars. when we have the robot propped up, and we test the voltage on all of the jaguars we get readings of 12v for all directions (strafe left, right, turn left,right etc) however when we go forward or backward it gives us only half the voltage on the output. I have gone over the code multiple times and I cant see anywhere that it says to halve the voltage for forward or backward directions.

If you guys need more information just ask me and thank for your input at this stressful time. Good luck to your team and I hope to see you guys at the competition.
Are you using the WPILib Holnomic Drive vi, or home-brew code to control the mecanum?


Reply With Quote
  #3   Spotlight this post!  
Unread 18-02-2011, 13:09
Seadou Seadou is offline
Registered User
FRC #1997
 
Join Date: Feb 2011
Location: Kansas
Posts: 3
Seadou is an unknown quantity at this point
Re: Forward and backward running at only .5 speed

we are using WPIholanomic_Cartesian. last year we used home-brewed, but that left with out chief programmer who went to college. He didnt leave me or the other programmer with much knowledge.
Reply With Quote
  #4   Spotlight this post!  
Unread 18-02-2011, 13:28
Ether's Avatar
Ether Ether is offline
systems engineer (retired)
no team
 
Join Date: Nov 2009
Rookie Year: 1969
Location: US
Posts: 8,065
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: Forward and backward running at only .5 speed

Quote:
Originally Posted by Seadou View Post
when we have the robot propped up, and we test the voltage on all of the jaguars we get readings of 12v for all directions (strafe left, right, turn left,right etc) however when we go forward or backward it gives us only half the voltage on the output.
By "output" I assume you mean the "motor" side of the Jag, correct?

On the Dashboard, what are your PWMs reading when you are getting the half-voltage measurement?


Reply With Quote
  #5   Spotlight this post!  
Unread 18-02-2011, 13:30
Seadou Seadou is offline
Registered User
FRC #1997
 
Join Date: Feb 2011
Location: Kansas
Posts: 3
Seadou is an unknown quantity at this point
Re: Forward and backward running at only .5 speed

ya jag to the motor, I don't know where would I check that? I will definitely do this when I get to robotics later today.
Reply With Quote
  #6   Spotlight this post!  
Unread 19-02-2011, 16:51
Ether's Avatar
Ether Ether is offline
systems engineer (retired)
no team
 
Join Date: Nov 2009
Rookie Year: 1969
Location: US
Posts: 8,065
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: Forward and backward running at only .5 speed

Quote:
Originally Posted by Seadou View Post
I will definitely do this when I get to robotics later today.


What did you find?


Reply With Quote
  #7   Spotlight this post!  
Unread 19-02-2011, 21:22
MattCarey3625's Avatar
MattCarey3625 MattCarey3625 is offline
#3625 Programming and Wiring Head
FRC #3625 (Some Assembly Required)
Team Role: Programmer
 
Join Date: Jan 2011
Rookie Year: 2011
Location: Virginia Beach, VA
Posts: 23
MattCarey3625 is an unknown quantity at this point
Re: Forward and backward running at only .5 speed

Try creating an indicator for the front panel so you can see what it is operating at if that doesn't work then try a simple motor control (Open -> SetOutput ||Control-->Close) and then if it still runs at half you can rule out a programming flaw.
__________________
matt@hp-mini-110$> sudo make robot
sudo pass for matt:
unable to make robot
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:13.

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