Go to Post I guess this means we have to work on becoming super-flexible and always be ready for our close-ups at robotics from now on? - Beth Sweet [more]
Home
Go Back   Chief Delphi > Technical > Motors
CD-Media   CD-Spy  
portal register members calendar search Today's Posts Mark Forums Read FAQ rules

 
Closed Thread
Thread Tools Rate Thread Display Modes
  #31   Spotlight this post!  
Unread 02-18-2012, 02:54 PM
clarksnack clarksnack is offline
Registered User
None #3673
 
Join Date: Feb 2012
Location: Seaside
Posts: 2
clarksnack is an unknown quantity at this point
Re: How to get maximum output from a Jag?

Ether, there is a field in the BDC COMM software called ramp. If the joystick limit is manipulated is it truly adjusting the Jags ramp or is it manipulating the operators input ? seems like two different functions. Is there code examples where we can change the ramp in java?

secondly, are you saying we can change the ramp in CAN bus, but not directly in Java through PWM?

thanks greatly for the insight and help.
  #32   Spotlight this post!  
Unread 02-18-2012, 04:46 PM
theprgramerdude theprgramerdude is offline
WPI Freshman
AKA: Alex
FRC #2503 (Warrior Robotics)
Team Role: Mentor
 
Join Date: Feb 2010
Rookie Year: 2008
Location: Brainerd, Minnesota
Posts: 347
theprgramerdude has much to be proud oftheprgramerdude has much to be proud oftheprgramerdude has much to be proud oftheprgramerdude has much to be proud oftheprgramerdude has much to be proud oftheprgramerdude has much to be proud oftheprgramerdude has much to be proud oftheprgramerdude has much to be proud oftheprgramerdude has much to be proud oftheprgramerdude has much to be proud of
Re: How to get maximum output from a Jag?

You cannot change the ramp dynamically through PWM, in any programming language. Really, though, the ramp isn't the problem.
__________________
Attending: MN Duluth Regional
  #33   Spotlight this post!  
Unread 02-18-2012, 04:59 PM
Ether's Avatar
Ether Ether is offline
systems engineer (retired)
no team
 
Join Date: Nov 2009
Rookie Year: 1969
Location: US
Posts: 8,003
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: How to get maximum output from a Jag?

Quote:
Originally Posted by clarksnack View Post
are you saying we can change the ramp in CAN bus, but not directly in Java through PWM?
If you want to set the rate of the ramping function that is built-in to the Jaguar, you have to use CAN bus. There is no way to use PWM to communicate anything to the Jaguar except the %PWM you want.

Quote:
there is a field in the BDC COMM software called ramp. If the joystick limit is manipulated is it truly adjusting the Jags ramp or is it manipulating the operators input? seems like two different functions.
The Jaguar's built-in ramping feature imposes a slew rate limit on the Jag's output.

You can accomplish much the same thing by limiting operator commands (joystick commands), or by limiting vehicle commands derived from the operator commands. This can be done in your software.

Quote:
Is there code examples where we can change the ramp in java?
The pseudo-code I linked to can be used to pre-process your joystick values before passing them along to the rest of your code.

Or, that code can instead be used further downstream in your code, in order to limit the slew rate of specific vehicle behaviors. For example, consider a skid-steer vehicle with a tank-drive user interface.

Process the joystick values into forward/reverse and rotate commands, and then apply the slew rate limiter to the forward/reverse only, then process the vehicle commands into motor commands. That will limit your forward/reverse acceleration but not your rotational acceleration.


Having said all that, I do not think ramp rate is your problem.



  #34   Spotlight this post!  
Unread 02-18-2012, 06:03 PM
Thundrio Thundrio is offline
Dedicated Racer
FRC #3673
 
Join Date: Feb 2011
Rookie Year: 2010
Location: The Internet
Posts: 67
Thundrio is on a distinguished road
Re: How to get maximum output from a Jag?

Well then what do you think the problem is? I have provided as much information as I can think of, and if more is needed I will gladly provide it.

thanks for all the fish.
__________________
Interested in a new way of playing old games?
visit http://www.speedrunslive.com for a way to make single player games multiplayer!
visit http://www.zeldaspeedruns.com to open up a new world for zelda lovers!
pm me here or at zsr for more information!
  #35   Spotlight this post!  
Unread 02-18-2012, 06:18 PM
Ether's Avatar
Ether Ether is offline
systems engineer (retired)
no team
 
Join Date: Nov 2009
Rookie Year: 1969
Location: US
Posts: 8,003
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: How to get maximum output from a Jag?

Quote:
Originally Posted by Thundrio View Post
Well then what do you think the problem is?
You are geared way too fast. It's like trying to drive 5 mph in high gear up a San Francisco hill.

I think you should gear down for more torque / less current.



Last edited by Ether : 02-18-2012 at 07:10 PM.
Closed Thread


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 07:10 PM.

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