Это видео недоступно.
Сожалеем об этом.
Mark 01 - Differential Robot #1 : TT Motor + Raspberry PI + PS4 controller
HTML-код
- Опубликовано: 17 авг 2024
- This video shows how to build a differential robot and control it using a PS4 controller.
It uses 2 TT motors, a Raspberry PI 3, and an AdaFruit Motor HAT.
Project folder:
github.com/gus...
Command to clone the repository:
git clone -b "v1.1" github.com/gus...
Installing dependencies:
sudo pip3 install adafruit-circuitpython-motorkit
sudo pip3 install ds4drv
Excelente Gustavo 👏. Parabéns!
Parabéns Gustavo.
Congrats! Very nice! Sucess!
Parabéns pelo trabalho, fruto de muita dedicação.
show - congratulations
Show. Maravilha Gu, sucesso.
Muito legal. Parabéns!!!!
Sucesso!
👏🏻
Show 🏆
Gustavo, thanks for the video and congrats on your English. I have one question and one issue: what happens if I change the motor driver code to use only a L293d on breadboard connected to Arduino? I see the throttle value is what makes the wheels move to a certain direction. As it ranges from -1.0 to 1.0, I had to convert the values for a 0-256 range (since those are the values the enable pin meant for PWM accepts). Arduino connected to RPi through USB cable communicates by means of Standard Firmata protocol. And the issue is the following: I am using a RPi 3+ and when I start ds4drv and pair it with the PS4 pad the RPI 3+ freezes and I end up losing connection (I ssh to it, since I use it headless). What could I do to solve those two matters? And I am looking to watching your videos showing ROS integration with your differential robot!
Hi Marlon. I am not so familiar with L293d but after a quick look it seems you need 2 PWM inputs. One for each directions. So your Arduino will have one PWM (0-256) to drive the motor in one direction (similar to my 0 to 1 motor command), and another PWM output (0-256) to drive to the other direction (similar to my 0 to -1 motor command). Is this sounds right? Now, about the ds4drv I am not sure. What I would do is just reinstall everything. These problems may happen because incompatibility between versions of libraries and python. Let me know if worked.
Nice video. Please where can I get a similar chassis to buy?
Hi !!! Inside the project doc folder, there is a worksheet with links for everything I used in the robot.
Here is a link to it:
github.com/gusbots/mark01/blob/master/doc/Mark%2001%20-%20Bill%20Of%20Material.xlsx