Logo video2dn
  • Сохранить видео с ютуба
  • Категории
    • Музыка
    • Кино и Анимация
    • Автомобили
    • Животные
    • Спорт
    • Путешествия
    • Игры
    • Люди и Блоги
    • Юмор
    • Развлечения
    • Новости и Политика
    • Howto и Стиль
    • Diy своими руками
    • Образование
    • Наука и Технологии
    • Некоммерческие Организации
  • О сайте

Скачать или смотреть PID Line Follower Using EV3 and Small Basic

  • Creative Robotics
  • 2020-04-12
  • 738
PID Line Follower Using EV3 and Small Basic
  • ok logo

Скачать PID Line Follower Using EV3 and Small Basic бесплатно в качестве 4к (2к / 1080p)

У нас вы можете скачать бесплатно PID Line Follower Using EV3 and Small Basic или посмотреть видео с ютуба в максимальном доступном качестве.

Для скачивания выберите вариант из формы ниже:

  • Информация по загрузке:

Cкачать музыку PID Line Follower Using EV3 and Small Basic бесплатно в формате MP3:

Если иконки загрузки не отобразились, ПОЖАЛУЙСТА, НАЖМИТЕ ЗДЕСЬ или обновите страницу
Если у вас возникли трудности с загрузкой, пожалуйста, свяжитесь с нами по контактам, указанным в нижней части страницы.
Спасибо за использование сервиса video2dn.com

Описание к видео PID Line Follower Using EV3 and Small Basic

This video shows you how to build a 2 - sensor PID line follower using EV3 and Small Basic.


Learn more about PID in detail : http://www.inpharmix.com/jps/PID_Cont...

Code (in small basic language) :

Sensor.SetMode (1, 4) ' Change the first value of each to the port no
Sensor.SetMode (4, 4) '. of each of your sensors

Kp = 0.05
Ki = 0.02 ' These are K values which will differ
Kd = 0.5 'from robot-to-robot

power = -50 ' This is the speed of your robot on a straight line
' Decrease the speed if you want it to move
'smoothy (for curved lines) and increase it to
'move faster (for straight lines)
lasterror = 0
error = 0 ' Resetting the variables
integral = 0
derivative = 0
Sensorval = 0 ' Variables for storing values of the sensor
Sensorval1 = 0

motorpowerA = 0
motorpowerB = 0

While "True"
Sensorval = Sensor.ReadRawValue (4, 0)
Sensorval1 = Sensor.ReadRawValue (1, 0)
error = Sensorval - Sensorval1
integral = (integral + error)*2/3
derivative = error - lasterror

turn = Kp * error + Ki * integral + Kd * derivative
motorpowerA = power + turn
motorpowerB = power - turn
lasterror = error

Motor.StartSync ("BC", motorpowerA, motorpowerB)
EndWhile

Thanks for watching. Please like, share and subscribe.

Комментарии

Информация по комментариям в разработке

Похожие видео

  • О нас
  • Контакты
  • Отказ от ответственности - Disclaimer
  • Условия использования сайта - TOS
  • Политика конфиденциальности

video2dn Copyright © 2023 - 2025

Контакты для правообладателей [email protected]