The Ultimate Line Squaring Program! - EV3 Navigation with Bendik Skarpnes

แชร์
ฝัง
  • เผยแพร่เมื่อ 26 ต.ค. 2024

ความคิดเห็น • 25

  • @shivamsoni5894
    @shivamsoni5894 6 ปีที่แล้ว +1

    WHOA ! i just opened your channel expecting a new video and at the same time i got a notification that builderdude 35 uploaded a video

  • @HexhamFoodCo
    @HexhamFoodCo 6 ปีที่แล้ว +1

    Really like the inclusion of lighting up the brick a colour as the program transitions to another section of the program

  • @samikocak9830
    @samikocak9830 3 ปีที่แล้ว

    Bro this is just insane!! You must be a beast :D

  • @Toontingy
    @Toontingy 5 ปีที่แล้ว +4

    Is there a ev3 file to download? It is tough writing the program by fast-foreword and rewinding the video. Thanks. Great work

  • @HexhamFoodCo
    @HexhamFoodCo 6 ปีที่แล้ว +1

    Hi Kyle, excellent. Refinement of. The original, far more elegant than my solution to line squaring.

    • @Builderdude35
      @Builderdude35  6 ปีที่แล้ว

      Thanks! Really, all of the credit belongs to Bendik on this one!

  • @HexhamFoodCo
    @HexhamFoodCo 5 ปีที่แล้ว +1

    Nice job and well explained

  • @mwendell
    @mwendell 6 ปีที่แล้ว +1

    I've watched the section where you describe the 'coarse adjustment' loop twice, and I cannot figure out how the robot would work if the color sensor on input 4 is the first one to find the black line. At the end of the video I can clearly see Sirius approaching the line from both the left and right, but how is this achieved? Assuming sensor 1 hits the target color first, then you stop the wheel on motor B and pivot the robot around it until the sensor on 4 sees the target color, using forward motion on motor C (reverse power on Sirius). However, if the robot approaches from the opposite angle, then by the time sensor 1 sees the target color, wouldn't sensor 4 have already passed it? Am I missing something? Are you watching both sensors for the target color value?

    • @bendikskarpnes1834
      @bendikskarpnes1834 6 ปีที่แล้ว +1

      Hi Michael! Thanks for your question! The if statements, where sensor 1 looks for the line, has an else statement as well (checks if sensor 4 sees the line). If that returns False as well, the algorithm will conduct this process over again; until one of the sensors has found the line (because of the loop). Therefore, we are watching both sensors simoultainiosly, sensor 1 right before sensor 4.
      I hope this lowchart makes it simple to understand:
      Senor 1?
      Yes: stop the motor, drive with the other motor until sensor 4 is on the line, continue to the fine adjustment stage.
      No: Sensor 4? Yes: stop the motor, drive with the other motor until sensor 1 is on the line, continue to the fine adjustment stage.
      NO: start over again

    • @mwendell
      @mwendell 6 ปีที่แล้ว +1

      Ahhh... okay, I see it now. It's hard to really analyze the program by stopping the video repeatedly. I'm a software developer by profession, and trying to coach my girls' FLL team. Trying to learn this well enough to teach them. While I consider myself an accomplished developer, I find the graphical programming here to be a little baffling sometimes. Thanks again!

  • @8520amos
    @8520amos ปีที่แล้ว

    Hello, can you show the code in Mindstorm, thank you

  • @rochesterrobotics5259
    @rochesterrobotics5259 6 ปีที่แล้ว

    Could you explain more on how you figure out the light target values that you put in? Why wouldn't it be black- low around 5, white around 100 and in-between at 50 if the sensor was calibrated?

    • @Builderdude35
      @Builderdude35  6 ปีที่แล้ว

      See my video on proportional line following. I include a full explanation on how to get the light values in that video.

  • @veebhushah9667
    @veebhushah9667 6 ปีที่แล้ว +1

    Can you make a link for the program as it is hard to see every thing in the video
    thanks

    • @Builderdude35
      @Builderdude35  6 ปีที่แล้ว +3

      Unfortunately, I do not provide the programs for download. Doing so would be contrary to the spirit of competition. By building your own program, you get a better understanding of how it works.

  • @nikhilgante313
    @nikhilgante313 6 ปีที่แล้ว +1

    Dear kyle, I love your videos, and I'm wondering about creating my own coding channel. I just want to know what programs you use for editing your videos? Also, is it free? Thanks.

    • @Builderdude35
      @Builderdude35  6 ปีที่แล้ว

      Hello, that sounds like a great idea! I use Audacity (free) and a Blue Snowball Microphone (~$50) to record my audio, and Shotcut (free) to edit video (I used Windows Movie Maker for a long time). I use Open Broadcast Software (OBS, free) for screen recording. Good luck!

  • @cristibasoc4207
    @cristibasoc4207 5 ปีที่แล้ว

    Very good Video like

  • @raptorawesome8654
    @raptorawesome8654 5 ปีที่แล้ว

    Can you make this an archived file on google drive so it's easier to get?

    • @Builderdude35
      @Builderdude35  5 ปีที่แล้ว

      No, I cannot provide programs for download. Doing so violates the spirit of competition.

  • @aaronacademia4592
    @aaronacademia4592 5 ปีที่แล้ว

    Why were some switch blocks changed to tablet view?

    • @Builderdude35
      @Builderdude35  5 ปีที่แล้ว

      "Tabbed view" makes the program more compact and easier to navigate when there is a lot of code on screen.

  • @THEbonny95
    @THEbonny95 6 ปีที่แล้ว +3

    This is too complicated, you can use the proportional regulator and it will be wonderful.