Spike Prime Proportional Programs Part 1: Gyro Straight

Поделиться
HTML-код
  • Опубликовано: 12 дек 2024

Комментарии • 42

  • @shortcoolmovies9535
    @shortcoolmovies9535 4 года назад +6

    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 года назад +3

    Thank you so much you my savior, I am new to spike and coaching a team.

  • @ishaanmehra9904
    @ishaanmehra9904 2 года назад +1

    Super helpful. Thanks Dude!

  • @surrenderToHim
    @surrenderToHim 2 года назад +1

    very good

  • @ictprofi
    @ictprofi 3 года назад +2

    amazing job Thanks a lot

  • @ElactiseEclipse
    @ElactiseEclipse 3 года назад +1

    Thank You!

  • @chevere3424
    @chevere3424 Год назад

    Thanks! New follower

  • @ashwindeverashetty6994
    @ashwindeverashetty6994 2 года назад +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 2 месяца назад

    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!

  • @sunilpatil7235
    @sunilpatil7235 2 года назад +1

    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.

  • @watermelon-f6w
    @watermelon-f6w 3 года назад +2

    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.

  • @FredrikEndresen
    @FredrikEndresen 3 года назад +1

    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 года назад +1

      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 года назад +1

      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.

  • @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.

  • @frankhe2278
    @frankhe2278 3 года назад +1

    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?

  • @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.

  • @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.

  • @huntheck6296
    @huntheck6296 3 года назад

    hey is there a way to make it so it goes backward

    • @watermelon-f6w
      @watermelon-f6w 3 года назад +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.

  • @Eyal2013-s3q
    @Eyal2013-s3q Год назад

    I don't have the move 50% 50% block could anybody help me ?

    • @clarkkent5431
      @clarkkent5431 Год назад +1

      You need to go down and add "more movement"

  • @1ofakindwork
    @1ofakindwork 3 года назад +1

    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.

  • @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.