Skip to content
This repository has been archived by the owner on Jan 29, 2025. It is now read-only.

Commit

Permalink
fix: init claw in TeleOpMain
Browse files Browse the repository at this point in the history
  • Loading branch information
BD103 committed Feb 19, 2024
1 parent 89b63a5 commit 7b47f1f
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 8 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -13,8 +13,6 @@ object Claw : API() {
private lateinit var gripR: Servo
private lateinit var oscillator: Servo



override fun init(opMode: OpMode) {
super.init(opMode)

Expand Down
Original file line number Diff line number Diff line change
@@ -1,11 +1,8 @@
@file:Suppress("DEPRECATION")

package org.firstinspires.ftc.teamcode.opmode.teleop

import com.qualcomm.robotcore.eventloop.opmode.OpMode
import com.qualcomm.robotcore.eventloop.opmode.TeleOp
import com.qualcomm.robotcore.hardware.DcMotor
import org.firstinspires.ftc.teamcode.api.Box
import org.firstinspires.ftc.teamcode.api.Claw
import org.firstinspires.ftc.teamcode.api.Drone
import org.firstinspires.ftc.teamcode.api.GamepadEx
Expand Down Expand Up @@ -35,11 +32,11 @@ class TeleOpMain : OpMode() {
// Advanced gamepad inputs
GamepadEx.init(this)

// Box controls
//Box.init(this)
// Claw controls
Claw.init(this)

// Drone controls
//Drone.init(this)
// Drone.init(this)

// Log that we are initialized
Telemetry.sayInitialized()
Expand Down

0 comments on commit 7b47f1f

Please sign in to comment.