You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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.
The text was updated successfully, but these errors were encountered:
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.
The text was updated successfully, but these errors were encountered: