Тёмный

FRC 0 to Autonomous: #1 Arcade drive + auto-line 

FRC 0 to Autonomous
Подписаться 2,2 тыс.
Просмотров 33 тыс.
50% 1

Опубликовано:

 

14 окт 2024

Поделиться:

Ссылка:

Скачать:

Готовим ссылку...

Добавить в:

Мой плейлист
Посмотреть позже
Комментарии : 25   
@christophercastor6666
@christophercastor6666 2 года назад
What an awesome description of the programming process for FRC! Fantastic job team!
@RoyDumlao
@RoyDumlao 5 лет назад
Great use of graphics. I like your pace and style. Keep up the good work. A video on how to incorporate a steering wheel and throttle would be cool.
@AileenLi-cy5yc
@AileenLi-cy5yc Год назад
Wonderful demonstration! Thanks for sharing!
@loshosorus5343
@loshosorus5343 5 лет назад
Very good video. I hope to see more. Just some questions did you manually create the arcade drive when you could use the differentialDrive class. Also in teleop periodic isint it best practice to instead define the variables once and then update them in perodic?
@0ToAuto
@0ToAuto 5 лет назад
Hi, thanks for the feedback, this video aims to create a more intuitive code rather the most efficient one. I think it is good to have rookies think about what arcade drive is actually doing and not to just blindly use libraries.
@curtisrozeboom6112
@curtisrozeboom6112 5 лет назад
You're not wrong, but they seem to be taking the approach of showing how things work to build understanding, rather than just giving beginning programmers black-box classes to work with. There are other approaches shown here that I would advise differently, but for a beginner video it is fine. Also, you should define variables at the scope they need to be used, usually. For ex, the startTime variable is defined at the class level because it needs to be used by 2 functions.
@FloatingCoder
@FloatingCoder 5 лет назад
@@curtisrozeboom6112 While it is typical best practice to define the variable where it is used, it's different when running highly repetitive methods like teleop periodic. When periodic runs repeatedly at high speed, if you define a variable within the method it will create it every time, then have to garbage collect it every time which is expensive. For one variable in one method for a simple example code it's not a big deal, but get a bunch of stuff stored that way and you can end up with performance issues. In things like robot programming or game programing it's common practice to move variables in this type of code to a reusable location.
@curtisrozeboom6112
@curtisrozeboom6112 5 лет назад
@@FloatingCoder Yep, you've stated my point a little better. Upon re-reading this, I see I got the point about 'usually' defining variables at scope mixed up in a way that implies it wouldn't be better here to make them class variables.
@tomer342
@tomer342 5 лет назад
Great video! Waiting for some more advanced topics!
@randallyoung9411
@randallyoung9411 2 года назад
Excellent!!!
@tamibrandl9022
@tamibrandl9022 8 месяцев назад
Thank you! Nice Video!
@samgeckler6046
@samgeckler6046 5 лет назад
Very well done. Love it. More please....soon.
@spidernh
@spidernh 3 года назад
Why did you stop working on this series after PID? You said you would talk about Pure Pursuit, which seems interesting, and also position tracking goes along with it.
@MattWilson801
@MattWilson801 4 года назад
Nicely done. if this is targeted towards rookie programmers, wouldn't it make sense to show how to deploy code to the robot?
@Billfred
@Billfred 4 года назад
Came here to say this. Trying to help my new programmer (who is starting from genuine 0) with this exact problem now.
@norim32
@norim32 5 лет назад
Amazing job! I love the video.
@nathanyao1233
@nathanyao1233 4 года назад
Thank you for the tutorial! I don't have the hardware with me rn and I don't know if you will see this comment but am I right by saying that this can also directly be applied to the TimedRobot template? Also, the method for giving the motor controller the speed on my end is supposed to take in two parameters. For example: motorController.set(ControlMode.PercentOutput, 0.5); Any possibility that you could explain if this is important?
@0ToAuto
@0ToAuto 4 года назад
The motor controller you are using has multiple control modes, and by adding PercentOutput, you are telling it to simply apply a percentage instead of using PID, motion magic, etc. If you are interested in learning about them, check out our episode 3 and 4!
@dwood2love
@dwood2love 4 года назад
Did you ever make a version of this for C++? Thanks!
@calpardo
@calpardo 4 года назад
MORE TUTORIALS PLEASE
@artemis-3083
@artemis-3083 2 года назад
Super Helpful!
@ahmetselim1166
@ahmetselim1166 2 года назад
is navx mxp needed for autonomus period
@nemo9608
@nemo9608 3 года назад
Can you help me have the robot drive in a circle ??
@Wacgoon
@Wacgoon 3 года назад
gigabrain over here
@aidanmason4672
@aidanmason4672 3 года назад
how you held the controller made me extremely uncomfortable
Далее
FRC 0 to Autonomous: #2 Chassis + mechanisms
21:14
Просмотров 18 тыс.
FRC 0 to Autonomous: #3 PID Auto-line (Part 1)
21:30
Просмотров 23 тыс.
САМАЯ ТУПАЯ СМЕРТЬ / ЧЕРНЕЦ
1:04:43
FRC 0 to Autonomous: #6 Swerve Drive Auto
24:10
Просмотров 45 тыс.
FRC 0 to Autonomous: #5 Command-Based Robot
25:05
Просмотров 23 тыс.
Let's Play Kick the Robot! (frc gyro programming)
7:13
Nvidia CUDA in 100 Seconds
3:13
Просмотров 1,3 млн
Learn To Code Like a GENIUS and Not Waste Time
9:41
Просмотров 1,6 млн
FRC 0 to Autonomous: #4 PID Auto-line (Part 2)
16:29
Просмотров 12 тыс.
The Brilliant Tricks Inside Telescopic Machines
11:40
Просмотров 125 тыс.
Harder Drive: Hard drives we didn't want or need
36:47