Spike Prime Proportional Programs Part 1: Gyro Straight

  Рет қаралды 49,229

Gibford's Robot Lab

Gibford's Robot Lab

Күн бұрын

Пікірлер: 44
@shortcoolmovies9535
@shortcoolmovies9535 4 жыл бұрын
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
@priyanka2309
@priyanka2309 3 жыл бұрын
Thank you so much you my savior, I am new to spike and coaching a team.
@ashwindeverashetty6994
@ashwindeverashetty6994 2 жыл бұрын
How do you add a stop block or piece of code so the robot will stop after a certain amount of rotations or degrees?
@gibfordsrobotlab
@gibfordsrobotlab 2 жыл бұрын
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.
@ninjabot916
@ninjabot916 3 ай бұрын
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-f6w
@watermelon-f6w 3 жыл бұрын
Is there a way you can measure it by distance instead of time?
@gibfordsrobotlab
@gibfordsrobotlab 3 жыл бұрын
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.
@ishaanmehra9904
@ishaanmehra9904 2 жыл бұрын
Super helpful. Thanks Dude!
@FredrikEndresen
@FredrikEndresen 3 жыл бұрын
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?
@gibfordsrobotlab
@gibfordsrobotlab 3 жыл бұрын
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.
@FredrikEndresen
@FredrikEndresen 3 жыл бұрын
@@gibfordsrobotlab Thank you so much :)
@frankhe2278
@frankhe2278 3 жыл бұрын
I think you can use a relative motor position to track the distance
@gibfordsrobotlab
@gibfordsrobotlab 3 жыл бұрын
@@frankhe2278 You absolutely can, I figured it out a recently but haven't gotten around to that video yet.
@sunilpatil7235
@sunilpatil7235 3 жыл бұрын
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.
@gibfordsrobotlab
@gibfordsrobotlab 2 жыл бұрын
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.
@8520amos
@8520amos 2 жыл бұрын
Is it possible to determine the distance by relative position?
@gibfordsrobotlab
@gibfordsrobotlab 2 жыл бұрын
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
@melissamarshall4516
@melissamarshall4516 3 жыл бұрын
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.
@gibfordsrobotlab
@gibfordsrobotlab 3 жыл бұрын
without more information about what's happening, first guess is to make sure your movement motors are assigned to the correct port.
@TheHillmom
@TheHillmom 2 жыл бұрын
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.
@huntheck6296
@huntheck6296 3 жыл бұрын
hey is there a way to make it so it goes backward
@watermelon-f6w
@watermelon-f6w 3 жыл бұрын
You, can set the motor power to -40 instead of 40.
@huntheck6296
@huntheck6296 3 жыл бұрын
@@watermelon-f6w not for spike prime im pretty sure
@gibfordsrobotlab
@gibfordsrobotlab 3 жыл бұрын
I have never tried, but Ethan Zhang is right, you can set the motor power to a negative value.
@ictprofi
@ictprofi 3 жыл бұрын
amazing job Thanks a lot
@gibfordsrobotlab
@gibfordsrobotlab 3 жыл бұрын
Thank you
@surrenderToHim
@surrenderToHim 2 жыл бұрын
very good
@Eyal2013-s3q
@Eyal2013-s3q Жыл бұрын
I don't have the move 50% 50% block could anybody help me ?
@clarkkent5431
@clarkkent5431 Жыл бұрын
You need to go down and add "more movement"
@ElactiseEclipse
@ElactiseEclipse 3 жыл бұрын
Thank You!
@chevere3424
@chevere3424 Жыл бұрын
Thanks! New follower
@1ofakindwork
@1ofakindwork 3 жыл бұрын
Didn’t work for my spike!
@gibfordsrobotlab
@gibfordsrobotlab 3 жыл бұрын
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.
@frankhe2278
@frankhe2278 3 жыл бұрын
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?
@gibfordsrobotlab
@gibfordsrobotlab 3 жыл бұрын
I have not had that issue with the spike prime robots yet?
@asianuso9709
@asianuso9709 2 жыл бұрын
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.
@gibfordsrobotlab
@gibfordsrobotlab 2 жыл бұрын
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
@Leo-kr5rv Ай бұрын
Gyro Straight
@Leo-kr5rv
@Leo-kr5rv Ай бұрын
09:05
@Lexvato
@Lexvato 2 жыл бұрын
Bruh 5 dislikes
@sak0rax158
@sak0rax158 Жыл бұрын
I have a question how do i create left turn
@sak0rax158
@sak0rax158 Жыл бұрын
Cuz problem ist that if i set -30 30 it turn left after right turn but it does 180 not the 90°
@gibfordsrobotlab
@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
@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.
Spike Prime Proportional Programs Part 2: Gyro Straight any angle
5:33
Gibford's Robot Lab
Рет қаралды 21 М.
小丑教训坏蛋 #小丑 #天使 #shorts
00:49
好人小丑
Рет қаралды 54 МЛН
Stopping at Lines and Following Lines - LEGO Spike Prime
6:58
JackBricks
Рет қаралды 33 М.
FLL SUBMERGED 620 Point MAX RUN | FIRST LEGO League
3:15
NxtGen Robotics
Рет қаралды 175 М.
Mastering Linefollower Optimization with Spike Prime!
3:44
Robots are not boring!
Рет қаралды 8 М.
3 Hours vs. 3 Years of Blender
17:44
Isto Inc.
Рет қаралды 6 МЛН
Proportional Line Follower for LEGO 51515 - Fast and Reliable
14:31
Builderdude35
Рет қаралды 49 М.
Major Changes in SPIKE 3: Gyro Sensor Updates (Drift and Inaccuracy)
3:29