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

Resets elevator #19

Closed
wants to merge 1 commit into from
Closed

Resets elevator #19

wants to merge 1 commit into from

Conversation

prateekma
Copy link
Member

No description provided.

@@ -110,8 +105,8 @@ class Robot : IterativeRobot() {
* Executed when autonomous is initialized
*/
override fun autonomousInit() {
ElevatorSubsystem.set(ControlMode.MotionMagic, ElevatorSubsystem.currentPosition)
ArmSubsystem.set(ControlMode.Position, ArmSubsystem.currentPosition.toDouble())
ResetElevatorCommand().start()
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

CommandGroup might override this.

@prateekma prateekma closed this Feb 4, 2018
@prateekma prateekma deleted the elevatorReset branch February 4, 2018 01:12
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