|
|
|
![]() |
|
|||||||
|
||||||||
![]() |
|
|
Thread Tools | Rate Thread | Display Modes |
|
|
|
#1
|
|||
|
|||
|
Gyro Code: Will this work?
This is my code
Code:
if (!rightstick.GetTrigger()){
float angle = gyro.GetAngle;
myRobot.Drive(-1);
}
two questions 1)Am i correct on my assumption? 2)What are my inputs to make my robot turn, like 30 degrees or 180? |
![]() |
| Thread Tools | |
| Display Modes | Rate This Thread |
|
|