Go to Post Creatively solving problems is part of the fun. Continuous improvement and sustainment of [old] programs is also important. - tim-tim [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

 
 
 
Thread Tools Rate Thread Display Modes
Prev Previous Post   Next Post Next
  #1   Spotlight this post!  
Unread 02-02-2013, 12:41 AM
magic31415 magic31415 is offline
Registered User
FRC #3950
 
Join Date: Feb 2013
Location: NY
Posts: 4
magic31415 is an unknown quantity at this point
New Subsystem or Miss a Packet

Hi. I am currently working on code in Java for the Drive Train using Netbeans and WPI templates. We have pneumatic gear shifters on the wheels which work just fine. However, due to the way the robot is programmed, only one command can be executed on each subsystem at a time. Since I put the shifter and the drive wheels on the same subsystem, the shifter must 'interrupt' the wheels. This does not seem to be an issue since the wheels will only be interrupted for one packet of information while the gear shift is sent (about 30 ms). This missed information is not visible, but the stopping of the motor may be unhealthy for the robot in the long term. So, should I make a separate subsystem for the shifter so the drive motors don't turn off or does it not really matter?

Thanks!

Max Corwin
North Shore High School, Team 3950
Reply With Quote
 


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:41 AM.

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