Added: 6 months ago
From: TheFLLCoach
Views: 40,537
Sort by time | Sort by thread (beta)

Link to this comment:

Share to:

All Comments (54)

Sign In or Sign Up now to post a comment!
  • I'm hoping to cover this topic in a future video. Everything I know about the PID algorithm came from a totally awesome article written by J. Sluka. Simply google "PID NXT Line Follower Sluka" to find it. This article is for using PID in a line follower. Apply the same ideas taught in this article to the going straight problem (the error term is the difference between two rotation sensor readings). We implemented a "PI" algo and got increased performance over P algo, but PID didnt work well

  • Hi, could you explain the PID algorithm?

    Our team made something similar that makes the two motors move at the same rate and it's very efficient but I'm interested in this algorithm.

  • how did you build the "smart move" blood?

  • Im in grade 4 and in our school we have this thing for juniors to join and make something cool out of lego. If your thing is really good you get to go to Toronto to COMPETE over lego things you design. I was thinking of a robot so

    thx!

  • what algrim you talking about, can u explain further about the program please, thanks

  • thr programming is hard

  • This is very informative. You have enlighten me on the robot design. Thank you.

  • what is the robotics software called

  • what is the robot porgrame

  • my team is the robonauts and we r going to state

  • Smart! But if you really want to go 99,9% straight you might want to try a differentalgear system as seen in many lego tank constructions over youtube.

    The only thing to worry about then is the wheels diffrence in size!

  • i won my fll scrimige/tourny!

  • Really great!

    Very useful instructions on how to make one's robot go straight.

    Can you post a video on how to track lines also?

  • Nice job! Very clear and helpful video.

    Good luck with Food Factor!

  • Hello! I really like your robot design! Do you have a guide on how to build it for my FLL team? Thanks!!!! :) Also where do you find those tall Technic wheels?

  • @cvarlamo

    Sorry that robot has been taken apart, and I don't have anything other than the video. Pause the video at 1:53, that should give you a good idea of most of the design. The Wheel/Tire are lego part 2902 and 2903. Buy them on bricklink. The design is quite simple. Just mount length 15 beams to the top of the NXT brick, then mount the motors to the beams. Then used the 3x7 bent liftarms to mount between the two white connection points on the motor and mount the back wheels to it

  • @cvarlamo the funnest part of building a robot for fll is well COMING UP WITH YOUR OWN IDEA;)

  • @cvarlamo i took part in a tournomant yesterday in bristol we where cheated!:( it was very annoyingbecause we would of won!!

  • Hello! I really like your robot design! Do you have a guide on how to build it for my FLL team? Thanks!!!! :)

  • Thats a nice long innovative way, but what we did was we just put stickers lined up on our wheels and ran them for about 10 rotations. Then we looked at the placements of the stickers to determine if the motors matched or not.

  • Great work! This is a very good video and process. I bet your robots go really straight. well done.

  • I need instructions on that motor testing program. I couldn't copy it from the video . Do you think you could make a video on how to program it? That would be great! I have been doing a FLL robotics team for 2 years (This year is my second) and last year one of our problems was not going straight.

  • thanks you helped me much

  • Great Tips on keeping the robot straight and selecting 2 well matched motors. Thanks so much for sharing !! Good Luck !

  • Thank you for your help! I just matched our best pair of motors out of 27! Whew! I made a video similar to yours (and gave you credit for the process).

  • @andrewdenio

    So now the question is after you've got that prime set of motors, do you verify them running them head to head simultaneously? We found in our 1st round of testing that our results were skewed by our battery weakening. hastypete made the suggestion of running the tests with the battery charger plugged in. We did that and only began a test when battery was indicating full charge too. The seond round found us some good pairs (verified by running them simultaneously!)

  • @TheFLLCoach thanks:) and so you are aloud to use blocks other than what is given? I have a friend who has tubs and tubs full of legos. Could we use those? And what grade is your team in this year? Thank you!:)

  • @The

  • Im just not starting fll this year and im in 9th grade i had no idea what it was about or what to do until today! This all seems pretty complicated. How is it that u have the mat and the peices for this years challenge? Also you already have your car made? Ive just now learned about this and im not sure if i will be able to make a robot as good as this one. Any advise.

  • @mromar53

    It is pretty complicated. There are books out there to help get you up to speed quickly. I like 'Winning Design by Trobaugh.' We have our mat because our team registered early. Building these robots takes practice and you need to learn how to work with the available LEGOs. Our team buys a lot of LEGO from sellers on bricklink because what comes with one kit is not nearly enough. Google 'nxtprograms' to find example robot designs.

  • What grade are u in?

  • What grade are u in?

  • Thanks!

  • Wow - your team is a mine of knowledge. Great presentation.

  • very nice video.  thanks much!

  • great advice for choosing the best parts from our supply.

  • Try using software techniques too... in my team we put a lot of effort in the software to make the robot drive straight.

    The point is to check the difference between the motors while it is driving (if motor B drove 255 degrees and C drove 250, there is a 5 deg difference - obviously the robot is not driving straight. Then, the program reduces power from B and adds to C. This runs in a loop while the robot drives. That's the concept- use it and your robot will drive even better!

  • @MozartJunior22

    Yes, our team does use software to make our robot monitor and correct the motion as it drives. Our algorithm is basically to proportionally reduce the power of the motor that's going too fast based on the difference between the rotation sensors. The move block uses a little bit more advanced algorithm called Proportional Integral Derivative (PID). This algorithm does a pretty good job of correcting for unbalanced motors.Yes, you can probably get better if you made your own PID

  • @TheFLLCoach We use PID too... using it and planning the robot well is the key to a straight robot.

  • @MozartJunior22

    Even with software correction (which the MoveBlock already does) it still would be better if your motors were well matched; so you are relying less on the algorithm to correct for a bad situation. Think if you had two horses harnessed together and one of them always wanted to run faster than the other. Yes you could keep correcting each horse to get them to stay in sync, but it would be easier if the horses just naturally stayed in sync so you wouldn't need to always correct em

  • Your Team Rocks!!!!  Thanks for great information.

  • great job!

  • what kind of motor does it use (sorry if you say it later in the video, i havent seen it all yet)

  • @charmanderstail

    We're using the motors that come with the Mindstorms kit. LEGO refers to them as:" 9842 Interactive Servo Motor"

  • You should get a rechargeable NXT battery pack and use it plugged in to make sure that your running voltage is always consistent.

  • @hastypete

    This is an excellent suggestion. I think we'll repeat all of our testing with the battery fully charged and the charger plugged in. Thanks for the Excellent comment!

  • do you share the testing program??

  • @luavcbef

    It has MyBlocks which don't share well. We made a MyBlock with two inputs: power(number) and direction (logical). The MyBlock simply has 3 cascaded loops and prior to each timer 1 is reset. Each loop has a motor blk set to infinte dur and will be exited when the rotation sensor equals 3600 and then Timer1 will be read and stored to a variable. The three time are averaged and used as an output of the MyBlock. the main program calls the MyBlock for 8 cases and displays results on NXT

  • @TheFLLCoach

    Sharing is easy with myblocks. Just use "Pack and Go" under the tools menu. It makes a single file that contains all necessary myblocks. When you load this file, all the my blocks are installed for you. it seems easy enough to figure out for most teams and a good exercise anyway.

  • that is a brillant method im going to do this with my 4 NXT´s

  • did you use two different cameras?

  • @shmlu

    No same camera. We recorded the segments over periods when it was light and dark outside. When we're filming with artificial light, everything looks yellowish to our camera.

  • Go JJ!

    

Loading...
Alert icon
0 / 00Unsaved Playlist Return to active list
    1. Your queue is empty. Add videos to your queue using this button:
      or sign in to load a different list.
    Loading...Loading...Saving...
    • Clear all videos from this list
    • Learn more