Very informative! I made mine go straight by using the "start moving at ___" block and then multiplied the yaw by -1 and put it in a forever loop
@priyanka23093 жыл бұрын
Thank you so much you my savior, I am new to spike and coaching a team.
@ashwindeverashetty69942 жыл бұрын
How do you add a stop block or piece of code so the robot will stop after a certain amount of rotations or degrees?
@gibfordsrobotlab2 жыл бұрын
You will need to go into more motors, then you can have it exit on a certain number of rotations of one of the motors.
@ninjabot9163 ай бұрын
I have a question. I would like to know if you would know why when I change the value of the variable "motor power" to 100, in order to accelerate the robot, it does not perform the readjustment. I have doubts about this and I would like to know whether or not I can increase the mentioned variable and if I can, of course without interfering in the robot's readjustment. Thank you!
@watermelon-f6w3 жыл бұрын
Is there a way you can measure it by distance instead of time?
@gibfordsrobotlab3 жыл бұрын
At the time of the video, I didn't have an answer, but under more motors, you can set the relative position to 0, then set your exit at a specific number of degrees on that motor using a greater than operation and that motor relative position oval.
@ishaanmehra99042 жыл бұрын
Super helpful. Thanks Dude!
@FredrikEndresen3 жыл бұрын
I love it! But how can I measure distance instead of time? I need my robot to drive for 45 cm og I can calculate rotations. But how?
@gibfordsrobotlab3 жыл бұрын
At the time of the video, I didn't have an answer, but under more motors, you can set the relative position to 0, then set your exit at a specific number of degrees on that motor using a greater than operation and that motor relative position oval.
@FredrikEndresen3 жыл бұрын
@@gibfordsrobotlab Thank you so much :)
@frankhe22783 жыл бұрын
I think you can use a relative motor position to track the distance
@gibfordsrobotlab3 жыл бұрын
@@frankhe2278 You absolutely can, I figured it out a recently but haven't gotten around to that video yet.
@sunilpatil72353 жыл бұрын
This video is very helpful to move the robot straight. We tried this program using spike prime but ran into the issues with the timer. When our spike prime is fully charged this program works perfectly with given number of seconds for a given distance, but as it starts loosing battery power, robot starts loosing its performance and we have to tweak the timer by increasing the seconds to go for same distance or length. Could you please let us know if you see this issue with your robot and guide us in fixing the problem.
@gibfordsrobotlab2 жыл бұрын
That makes sense, I have never thought about it. In classroom, it isn't much of an issue, but in competition I can see that would be a problem. You can set it to go on rotations but you need to add the extra motors and a couple of steps.
@8520amos2 жыл бұрын
Is it possible to determine the distance by relative position?
@gibfordsrobotlab2 жыл бұрын
Yes, you can set the motors to measure degrees and then set the exit on a certain number of degrees on one of the motors
@melissamarshall45163 жыл бұрын
We followed this exactly and our spike won't move at all! Help please, what are we missing. the motor power is at 0, when it pops up to the side and it won't allow us to change it.
@gibfordsrobotlab3 жыл бұрын
without more information about what's happening, first guess is to make sure your movement motors are assigned to the correct port.
@TheHillmom2 жыл бұрын
This works perfectly, however I'm trying to find out how to do this with Python instead of word blocks. I've not come across a solution that works.
@huntheck62963 жыл бұрын
hey is there a way to make it so it goes backward
@watermelon-f6w3 жыл бұрын
You, can set the motor power to -40 instead of 40.
@huntheck62963 жыл бұрын
@@watermelon-f6w not for spike prime im pretty sure
@gibfordsrobotlab3 жыл бұрын
I have never tried, but Ethan Zhang is right, you can set the motor power to a negative value.
@ictprofi3 жыл бұрын
amazing job Thanks a lot
@gibfordsrobotlab3 жыл бұрын
Thank you
@surrenderToHim2 жыл бұрын
very good
@Eyal2013-s3q Жыл бұрын
I don't have the move 50% 50% block could anybody help me ?
@clarkkent5431 Жыл бұрын
You need to go down and add "more movement"
@ElactiseEclipse3 жыл бұрын
Thank You!
@chevere3424 Жыл бұрын
Thanks! New follower
@1ofakindwork3 жыл бұрын
Didn’t work for my spike!
@gibfordsrobotlab3 жыл бұрын
I think a recent update has thrown the color sensor proportional program off. I have had to go back to the basic line follower. It is still working perfectly with the gyro for me though.
@frankhe22783 жыл бұрын
The video looks great. Have you encountered that the robot go off on a different straight line after being disturbed? We encounter that problem a lot. Are there any ideas for fixing such a problem?
@gibfordsrobotlab3 жыл бұрын
I have not had that issue with the spike prime robots yet?
@asianuso97092 жыл бұрын
Hi Mr Gibford, Great job. Its hard to admit it, but am an absolute beginner in FLL, I'd love to learn from you guys; especially robot programming. Please how can i contact you guys? Thanks for your kindness.
@gibfordsrobotlab2 жыл бұрын
Sorry to get to you so late, I do have an email attached to this channel, Mr.Gibford@GMail.com. I don't check it a lot, but I do check on occasion. I would be happy to help however I can.
@Leo-kr5rvАй бұрын
Gyro Straight
@Leo-kr5rvАй бұрын
09:05
@Lexvato2 жыл бұрын
Bruh 5 dislikes
@sak0rax158 Жыл бұрын
I have a question how do i create left turn
@sak0rax158 Жыл бұрын
Cuz problem ist that if i set -30 30 it turn left after right turn but it does 180 not the 90°
@gibfordsrobotlab Жыл бұрын
@@sak0rax158 When the robot is turning left the numbers get smaller, so you need to use less than instead of greater than, and if you go past 0, then you need to use negative numbers like -90 for example.
@svelterhino Жыл бұрын
There are also a number of videos around on the topic of a gyroscopic turn. This is a gyroscopic straight example, so you would need to use this program from driving straight, and then use gyro turns as needed for any intentional changes in direction.