Go to Post WE DEMAND FREE CORNDOGS FOR ALL MENTORS UPON ENTRY INTO THE EDWARD JONES DOME. #yourmovefrank - Jared Russell [more]
Home
Go Back   Chief Delphi > Technical > Programming > Java
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 12-02-2015, 14:12
Ozuru's Avatar
Ozuru Ozuru is offline
It's always the programmer's fault.
no team
 
Join Date: May 2013
Rookie Year: 2010
Location: Earth
Posts: 268
Ozuru is a splendid one to beholdOzuru is a splendid one to beholdOzuru is a splendid one to beholdOzuru is a splendid one to beholdOzuru is a splendid one to beholdOzuru is a splendid one to beholdOzuru is a splendid one to behold
Re: Java x axis on joystick

Quote:
Originally Posted by notmattlythgoe View Post
You could do that. Or you could use a PIDCommand instead. Our team prefers using PIDCommands over PIDSubsystems. But I know others prefer it the other way around.
This is my first year using Command Based and I haven't used PID-anything yet. I'm going to have to look into them -- what makes you prefer PIDCommands over PIDSubsystems?
Reply With Quote
  #2   Spotlight this post!  
Unread 12-02-2015, 14:14
notmattlythgoe's Avatar
notmattlythgoe notmattlythgoe is offline
Flywheel Police
AKA: Matthew Lythgoe
FRC #2363 (Triple Helix)
Team Role: Mentor
 
Join Date: Feb 2010
Rookie Year: 2009
Location: Newport News, VA
Posts: 1,715
notmattlythgoe has a reputation beyond reputenotmattlythgoe has a reputation beyond reputenotmattlythgoe has a reputation beyond reputenotmattlythgoe has a reputation beyond reputenotmattlythgoe has a reputation beyond reputenotmattlythgoe has a reputation beyond reputenotmattlythgoe has a reputation beyond reputenotmattlythgoe has a reputation beyond reputenotmattlythgoe has a reputation beyond reputenotmattlythgoe has a reputation beyond reputenotmattlythgoe has a reputation beyond repute
Re: Java x axis on joystick

Quote:
Originally Posted by Ozuru View Post
This is my first year using Command Based and I haven't used PID-anything yet. I'm going to have to look into them -- what makes you prefer PIDCommands over PIDSubsystems?
I edited my response to include some of our reasoning. We also like that PIDCommands will stop any PIDControllers when they are finished. With a PIDSubsystem you have to manage this yourself. Here is our code so far this season, feel free to look around and let me know if you have any questions.

One class you can take a look at is our DriveAtSpeed class.

Last edited by notmattlythgoe : 12-02-2015 at 14:17.
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:53.

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