I have coded this but for some reason im getting several error messages on the brain. Is there a specific way I need to set up the gyro or use something to start it?
Let's say your robot will turn to 90 degrees, but if you tell the robot to stop when it's already at 90 degrees, momentum will carry it and over turn a few more degrees. Instead, you want to simply tell the robot to stop earlier, e.g. 88 degrees. In this case, momentum is 2 degrees.
If you think the tutorial is helpful to you, please help us nominating our VEX IQ Team 839A to be VEX Innovators! sdqk.me/UnHTWRKV-fszmBRYte/vex-robotics-vex-innovators#/enter
This is so helpful 😁
Can you tell us how to tune your kp
is this an example of pid/ p loop programming
I coped the code and the robot keep on turning, any especial thing about setting up at the beginning? Thanks!
same!
did u ever figure it out
Yes. I figured out. In my case need to update my firmware. Anyway, update everything , you should fix the problem. Our bot runs great now
does inertial work too?
I have coded this but for some reason im getting several error messages on the brain. Is there a specific way I need to set up the gyro or use something to start it?
did u figure it out if so let me know
For some reason both of my motors go straight when only running the turning code. Do you think you have a solution for that?
try to reverse one motor
thanks a lot
wut are motorclicks?
how would you turn right with this code?
You need to put a negative number in the heading slot.
Hi, can you reexplain the momentum i did not get it
Let's say your robot will turn to 90 degrees, but if you tell the robot to stop when it's already at 90 degrees, momentum will carry it and over turn a few more degrees. Instead, you want to simply tell the robot to stop earlier, e.g. 88 degrees. In this case, momentum is 2 degrees.
@@CautionTapeRobotics ah okay thanks alot
How do you get accurate turns without gyros?
With some math and wheel encoder, you can do it.
@@CautionTapeRobotics Every turn is always a little different
@@knight8793 it wouldn't be a big problem, as you will typically have a go straight after the turn. the go straight will fix any over/under turn.
@@CautionTapeRobotics It does end up being a big problem
@@CautionTapeRobotics whats a wheel encoder and also whats a motor encoded
Did you steal from the best innovate the rest?
whos that
@@timileyinbanjo6631Joseph lipper
If you think the tutorial is helpful to you, please help us nominating our VEX IQ Team 839A to be VEX Innovators! sdqk.me/UnHTWRKV-fszmBRYte/vex-robotics-vex-innovators#/enter