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

Feature/hatch pid #82

Merged
merged 8 commits into from
Apr 10, 2019
Merged

Feature/hatch pid #82

merged 8 commits into from
Apr 10, 2019

Conversation

PhyXTGears-1720
Copy link
Member

@PhyXTGears-1720 PhyXTGears-1720 commented Apr 9, 2019

Merge Logan's code that adds a PID to the hatch mechanism arm.

Three buttons in vertical column on right edge of operator console controls new commands.

  • Uppermost button moves hatch arm to top position, grips hatch, and holds position with the PID.
  • Middle button moves the hatch arm to mid position, releases hatch, and holds position with PID.
  • Bottom button moves the hatch arm down, releases the hatch, but does not hold position so that collisions with the hatch mechanism while placing hatch panels are compliant.

@boxofrox boxofrox force-pushed the feature/hatch-pid branch from 4a28651 to cf094bb Compare April 10, 2019 21:09
PhyXTGears-1720 and others added 8 commits April 10, 2019 17:11
The cheesecake hatch mechanism replaced the version 1 hatch mechanism.
Remove commands related to version 1 hatch mechanism.

STATUS: Builds.

- Justin C
Hatch controls were wired directly to the subsystem.  Add commands and
replace subsystem interaction with commands.

Remove Grab/Release from Raise/Lower in subsystem.  Let the commands
coordinate those actions.

Try using lambdas to isolate operator controls from commands.

STATUS: Builds.

- Justin C
We have three isolated subsystems each with one arm.  We can afford to
simplify names.

STATUS: Builds.

- Justin C
STATUS: Builds.

- Justin C
STATUS: Builds.

- Logan H-D, Justin C
Use PID to move hatch arm.

Use rotation sensor to delay closing of gripper so hatch is fully
seated.

STATUS: Builds.

- Justin C
Use PID to move hatch arm to mid position.

Use PID to hold mid position.

STATUS: Builds.

- Justin C.
Add three vertical buttons from the operator console.

Connect two buttons to Grab and Ready commands.

Reuse LowerHatch command for third button.  It disables the pid and
controls the hatch motor while the button is pressed, which covers all
the bases for the third button, no need for an extra command.

STATUS: Builds.

- Justin C
@boxofrox boxofrox force-pushed the feature/hatch-pid branch from cf094bb to 3bf9604 Compare April 10, 2019 21:11
@boxofrox boxofrox changed the base branch from master to develop April 10, 2019 21:13
@boxofrox boxofrox merged commit 7cda2ba into develop Apr 10, 2019
@boxofrox boxofrox deleted the feature/hatch-pid branch April 10, 2019 21:17
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants