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

Create Manual override for Container arm #35

Open
Tstano opened this issue Feb 6, 2015 · 0 comments
Open

Create Manual override for Container arm #35

Tstano opened this issue Feb 6, 2015 · 0 comments

Comments

@Tstano
Copy link
Contributor

Tstano commented Feb 6, 2015

There will be a protected toggle switch(in code: button) that, when flipped, we want the container arm to react to manual controls. Once this switch is flipped, the usual buttons for positions should be disabled, the PID disabled, and there will be a digital joystick(in code: 2 buttons) One of the code buttons will make arm go up, one will make it go down. There is a setRaw method in the container arm class on my branch.

During normal operation, this switch that does the controlling should do the same thing but on a smaller scale. eg, when the protected toggle is flipped, it should move the arm faster(maybe with like full speed(1)), but when its not flipped, it should only move it like half or quarter power. 'full speed', 'half' are intentionally vague; they need to be tuned, so should be constants somewhere. Perhaps when the protected toggle isn't flipped, it should increment the setpoint instead of setting raw. The implementation is up to you; basically, it should be fine control when sensor is working(protected toggle not flipped), and grosser control when its not(protected toggle flipped). But once you take your hands off, it should stay where it is. This will likely need to be accomplished through PID.

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