Chief Delphi

Chief Delphi (http://www.chiefdelphi.com/forums/index.php)
-   NI LabVIEW (http://www.chiefdelphi.com/forums/forumdisplay.php?f=182)
-   -   Forward and backward running at only .5 speed (http://www.chiefdelphi.com/forums/showthread.php?t=92185)

Seadou 18-02-2011 12:00

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.

Ether 18-02-2011 12:20

Re: Forward and backward running at only .5 speed
 
Quote:

Originally Posted by Seadou (Post 1025895)
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?



Seadou 18-02-2011 13:09

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.

Ether 18-02-2011 13:28

Re: Forward and backward running at only .5 speed
 
Quote:

Originally Posted by Seadou (Post 1025895)
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?



Seadou 18-02-2011 13:30

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.

Ether 19-02-2011 16:51

Re: Forward and backward running at only .5 speed
 
Quote:

Originally Posted by Seadou (Post 1025982)
I will definitely do this when I get to robotics later today.



What did you find?



MattCarey3625 19-02-2011 21:22

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.


All times are GMT -5. The time now is 09:13.

Powered by vBulletin® Version 3.6.4
Copyright ©2000 - 2017, Jelsoft Enterprises Ltd.
Copyright © Chief Delphi