|
|
|
![]() |
|
|||||||
|
||||||||
![]() |
| Thread Tools | Rate Thread | Display Modes |
|
#1
|
|||
|
|||
|
FTC programming problem
I can't use the
import com.qualcomm.robotcore.eventloop.opmode.OpMode; import com.qualcomm.robotcore.hardware.DcMotor; import com.qualcomm.robotcore.hardware.Servo; import com.qualcomm.robotcore.util.Range; and Dcmotor under it. could u guys help me? T.Y. ~_~ |
|
#2
|
|||||
|
|||||
|
Re: FTC programming problem
Im not on an FTC team nor a programmer on my frc team but the syntax on that looks weird try this
import com.qualcomm.robotCore.eventLoop.opMode; import com.qualcomm.robotCore.hardware.dcMotor; import com.qualcomm.robotCore.hardware.servo; import com.qualcomm.robotCore.util.range; You can also try import com.qualcomm.robotCore.*; or import com.qualcomm,robotcore.*; |
|
#3
|
|||
|
|||
|
Re: FTC programming problem
Quote:
My guess would be that the project was not set up correctly, and the FTC libraries are not linked to it. |
![]() |
| Thread Tools | |
| Display Modes | Rate This Thread |
|
|