Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Write code for Ready command #42

Open
GoogleCodeExporter opened this issue Jul 17, 2015 · 3 comments
Open

Write code for Ready command #42

GoogleCodeExporter opened this issue Jul 17, 2015 · 3 comments

Comments

@GoogleCodeExporter
Copy link

The Ready command will ensure that the leg is in the back position, and some 
amount of tension is currently applied.

Thus, the Ready command will control the Leg subsystem, and the Tensioner 
subsystem.

In order to support the ability to display the ready command to the 
driver/shooter, the "ready" dashboard status value should be conditioned 
appropriately.


Original issue reported on code.google.com by [email protected] on 31 Jan 2014 at 8:27

@GoogleCodeExporter
Copy link
Author

Original comment by [email protected] on 31 Jan 2014 at 8:51

@GoogleCodeExporter
Copy link
Author

Original comment by [email protected] on 31 Jan 2014 at 8:56

  • Added labels: Type-Enhancement
  • Removed labels: Type-Defect

@GoogleCodeExporter
Copy link
Author

Tensioner has 4 States:  HighTension (Short Distance), LowTension (Long 
Distance), MediumTension (Very Short Distance), and Moving

Leg has 3 States:  Unlatched, Moving, Latched

NOTE 1:  The Tensioner Motor and the Leg should never be Moving at the same 
time, as they will "fight" against each other.  

NOTE 2:  The Tensioner cannot "hold" tension unless the Leg is latched.

Therefore, to prepare to fire, the Leg should be placed into the Latched state. 
 Then, and only then, the Tensioner should be moved to the HighTension state.

Slack (after firing):  Leg Unlatched, Tensioner MediumTension
LegMoving:             Leg Moving, Tensioner MediumTension
TensionerToHigh:       Leg Latched, TensionerMoving
Ready:                 Leg Latched, Tensioner HighTension (or Tensioner 
LowTension)


Original comment by [email protected] on 2 Feb 2014 at 2:34

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant