This is my code
if (!rightstick.GetTrigger()){
float angle = gyro.GetAngle;
myRobot.Drive(-1);
}
my goal of this code is when you push the right trigger the gyro tells it how far to turn
two questions
1)Am i correct on my assumption?
2)What are my inputs to make my robot turn, like 30 degrees or 180?