Caleb B
Caleb B
  • 7
  • 22 029

วีดีโอ

Safe Showcase from Internship
มุมมอง 479ปีที่แล้ว
A demo I made for my internship at DDC. I programmed, designed, 3D printed, and assembled all this myself.
Using Sensors with VEXcode V5
มุมมอง 5K3 ปีที่แล้ว
This video is meant to help junior coders learn about the different types of sensors VEX provides and how to use them in the VEXcode V5 C text editor. Link to Download VEXcode: www.vexrobotics.com/vexcode-download Link to Tutorial Playlist: th-cam.com/play/PLSnZY5SL-Y5Nqwi6SHr9R0Z4DCeZzzlH2.html Link to VEXcode Doxygen: api.vexcode.cloud/v5/html/index.html Timestamps 00:00​ - Intro 01:23 - Moto...
How to Create Your Own Functions in VEXcode V5
มุมมอง 1.7K3 ปีที่แล้ว
This video is meant to help junior coders learn how to create their own functions and run them in parallel using the VEXcode V5 C text editor. Link to Download VEXcode: www.vexrobotics.com/vexcode-download Link to Tutorial Playlist: th-cam.com/play/PLSnZY5SL-Y5Nqwi6SHr9R0Z4DCeZzzlH2.html Link to w3schools for extra help with C syntax: www.w3schools.com/cpp/default.asp Timestamps 00:00​ - Intro ...
How to Make a Simple Autonomous in VEXcode V5
มุมมอง 4.9K3 ปีที่แล้ว
This video is meant to help junior coders learn how to create a simple autonomous using the VEXcode V5 C text editor. Link to Download VEXcode: www.vexrobotics.com/vexcode-download Link to Tutorial Playlist: th-cam.com/play/PLSnZY5SL-Y5Nqwi6SHr9R0Z4DCeZzzlH2.html Timestamps 00:00 - Intro 01:18 - Starting an Autonomous 03:25 - Using Motor Encoders 06:36 - Simultaneous Rotation 09:20 - Resetting ...
How to Make a Basic Driver Control in VEXcode V5
มุมมอง 3K3 ปีที่แล้ว
This video is meant to help junior coders learn how to create a simple driver control using the VEXcode V5 C text editor. Link to Download VEXcode: www.vexrobotics.com/vexcode-download Link to Tutorial Playlist: th-cam.com/play/PLSnZY5SL-Y5Nqwi6SHr9R0Z4DCeZzzlH2.html Timestamps 00:00 - Intro 01:02 - Usercontrol Block and Comments 03:37 - Adding Motors 05:59 - Coding the User Control 09:24 - Usi...
Getting Started with VEXcode Pro V5
มุมมอง 6K3 ปีที่แล้ว
This video is meant to help junior coders learn how to download VEXcode V5 to a computer, how to use the development environment, and where to find external resources. Link to Download VEXcode: www.vexrobotics.com/vexcode-download Link to Doxygen: api.vexcode.cloud/v5/html/index.html Link to Official Knowledge Base: kb.vex.com/hc/en-us/categories/360002333191-V5 Link to Vex Forum: www.vexforum....

ความคิดเห็น

  • @brendon5553
    @brendon5553 29 วันที่ผ่านมา

    appreciate the video. thanks. :)

  • @OhBrother239
    @OhBrother239 ปีที่แล้ว

    if you are still a begineer and want to know a simplified version of this you can do something as simple as this /*--------------------------------This section gets the raw joystick values from the user input----------------------------------*/ /*-------------------------------------------------------------------------------------------------------------------------------*/ /*Rear Right motor, once axis3 is used it will move fwd or rev, if axis1 is used it will move the motor in a - or + direction*/ rRight.spin(fwd, +Controller1.Axis3.position(pct) -Controller1.Axis1.position(pct), pct); /*Front Right motor, once axis3 is used it will move fwd or rev, if axis1 is used it will move the motor in a - or + direction*/ fRight.spin(fwd, +Controller1.Axis3.position(pct) -Controller1.Axis1.position(pct), pct); /*Front Left motor, once axis3 is used it will move fwd or rev, if axis1 is used it will move the motor in a - or + direction*/ fLeft.spin(fwd, +Controller1.Axis3.position(pct) +Controller1.Axis1.position(pct), pct); /*Rear Left motor, once axis3 is used it will move fwd or rev, if axis1 is used it will move the motor in a - or + direction*/ rLeft.spin(fwd, +Controller1.Axis3.position(pct) +Controller1.Axis1.position(pct), pct); /*-------------------------------------------------------------------------------------------------------------------------------*/ explanation to this: So looking at this it is a lot of simple math and basic understanding of coding. So for example I want rLeft(rear Left motor) to spin forward unpon the user using Axis3 on the controller. Then calling position(pct) tells the robot to move well the Axis3 is in use, and the turning is pretty simple just take a look at your motors and look for the spinning circles. to turn right i would want my right drive side to go negative direction while the left side goes positive. Not the best explanation but a basic one.

  • @tianyouhu4050
    @tianyouhu4050 ปีที่แล้ว

    for a beginner in Vex coding, this video helps me a lot

  • @akalisama
    @akalisama ปีที่แล้ว

    bro is was kinda neat keep with the good work 🎉

  • @znth-gameworks
    @znth-gameworks ปีที่แล้ว

    I have no idea why this video got suggested to me since I live on the other side of the world, but nice job TH-cam algorithm be like:

    • @Darksabre1500
      @Darksabre1500 ปีที่แล้ว

      Dude honestly I just posted this video so people could see my portfolio idk how it got 300 views in 3 days

  • @rescyy2235
    @rescyy2235 ปีที่แล้ว

    What LCD component are you using?

    • @Darksabre1500
      @Darksabre1500 ปีที่แล้ว

      It’s this waveshare one: waveshare General 2inch IPS LCD Display Module 240×320 Resolution 2.0inch Monitor Embedded Controller RGB, 262K Color Display Color LED Backlight ST7789 Driver SPI Interface a.co/d/0thHL1K

    • @rescyy2235
      @rescyy2235 ปีที่แล้ว

      ​@@Darksabre1500I use a waveshare 2.4 inch one, but it doesn't seem to work for me with my mcu stm32f413zht6, I only got it to work in debug mode after step by step sending each byte, maybe the SPI peripheral isn't working properly and that's why it works in debug mode, tho have you encountered similar problems and how did you solve them?

    • @Darksabre1500
      @Darksabre1500 ปีที่แล้ว

      @@rescyy2235 I used the arduino platform and the adafruit drivers I used handled the sending of data over SPI. I’m not sure if your microcontroller has any equivalent premade drivers, but it still might be valuable to take a look at the adafruit or waveshare drivers and see how they setup and send data over SPI. It might clue you in to what’s going wrong. Other than that though, I unfortunately can’t offer much more help.

  • @nevinmorrison
    @nevinmorrison ปีที่แล้ว

    Good tutorial playlist. If you are looking to not use the built in ability to add arcade drive to drivetrain the following method will give you arcade drive. I maybe could have added left and right inversion parameters(you can see my one motor is inverted) and a speed and brake style parameter but I thought I would keep it simple: void arcadeDrive(controller Controller, motor_group LeftMotor, motor_group RightMotor) { if(Controller.Axis3.position(percent) != 0 || Controller.Axis4.position(percent) != 0) { int RightSpeed = (Controller.Axis3.position(percent) - Controller.Axis4.position(percent))/2; int LeftSpeed = (Controller.Axis3.position(percent) + Controller.Axis4.position(percent))/2; LeftMotor.spin(forward,LeftSpeed,percent); RightMotor.spin(reverse,RightSpeed,percent); } else { LeftMotor.stop(brake); RightMotor.stop(brake); } }

  • @sutton.s
    @sutton.s ปีที่แล้ว

    thank you! my partner in robotics wrote our driver code, but neither of us really understand it so i’m re-doing it on my own. code gets frustrating, (especially c++ in my opinion) so thanks for the thorough explanation.

  • @sumedha_k
    @sumedha_k 2 ปีที่แล้ว

    Do you have one for GPS?

  • @PapaFritas291
    @PapaFritas291 2 ปีที่แล้ว

    I’m failing robotics because of the coding ngl.

  • @steffenbrown1
    @steffenbrown1 2 ปีที่แล้ว

    I quite enjoyed this little tutorial

    • @Darksabre1500
      @Darksabre1500 2 ปีที่แล้ว

      I quite enjoyed this little comment of yours as well

  • @bustanut4610
    @bustanut4610 2 ปีที่แล้ว

    I wish I could like this video multiple times lol. it was very helpful. Thank You.

  • @bustanut4610
    @bustanut4610 2 ปีที่แล้ว

    All of your videos are super helpful. Thank you for taking the time to make them. I just started learning C++ for vex like a month ago and this video specifically has let me understand sensors a lot more than before.

  • @boardgamer1431
    @boardgamer1431 2 ปีที่แล้ว

    Yes. Thank you so much! I looked for a long time to find a video that was simple and easy to follow. This was just what I needed. It is my first year of robotics and we qualified for state based on skills score (thanks to your autonomous video) and then we qualified for worlds. None of that would have been possible without this video so thank you.

  • @borasaltk7702
    @borasaltk7702 2 ปีที่แล้ว

    I didn't get it, in the inertial sensor part, did you use 2 sensors?

  • @saavankiran2351
    @saavankiran2351 2 ปีที่แล้ว

    Is there any particular reason why you chose to use rotateTo and reset instead of rotateFor?

    • @senor_sensei
      @senor_sensei 2 ปีที่แล้ว

      RotateTo makes sure the motor reaches a specific position through the encoder whereas RotateFor spins the motor for a specific amount of time based on the motor RPM selected in the UI which could lead to precision issues after multiple commands. I could be wrong though but that is my understanding of it.

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

    thank you

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

    Thanks bro

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

    Thank you, very helpful!

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

    How would you solve the robot constantly turning, I've calibrated the sensor on a flat surface and I had it fit secure to some metal but whenever I run the code it's like it ignores the sensor (even unplugged it) and it spins in circles forever

    • @aryamanrtunjay7796
      @aryamanrtunjay7796 2 ปีที่แล้ว

      Not sure if you still need help, but the problem here is that the inertial sensor is trying to process lots of information as fast as possible, so it ends up skipping degrees in its reading causing your while loop (I'm assuming that's how you programmed it) to keep going. The solution to this problem is a neat little algorithm called PID. The P checks to see how much the robot needs to turn or needs to move and sets an acceleration, and that acceleration lowers until it reaches the desired value. The I figures out the position it will be at and "fine tunes" the velocity further so your don't overshoot and have to correct. The I is usually unesscary unless every second counts for you. The D is the reverse of I, in this the program checks to see what the previous position was and makes sure the robot doesn't undershoot its position. If you just used P, the robot would oscillate until it reached the value, if you just used PD, then the robot would overshoot then return to its normal position, PID makes it so that it turns perfectly to the position you want. Here's a good video explaining how to program it in C++ (th-cam.com/video/_Itn-0d340g/w-d-xo.html) and here is a video explaining PID in more depth than I just explained right now (th-cam.com/video/wkfEZmsQqiA/w-d-xo.html)

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

    thanks

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

    First lol