Control a motor with joystick in ros, hbridge motor drive and rpi3
Hello,
I want to control a small dc motor using a joystick. Similar to an rc car. I am using a raspberry pi 3 and an hbridge motor driver. I have already setup the joy package and can see the outputs each button gives. I need be able to control the motor speed via the a code, I'm familiar with python and c++. I just need help developing my code. I'm new-ish to ros and have already went through most of the tutorials on the ros wiki. Any help is much appreciated!
Asked by rellyrell on 2018-02-26 17:47:51 UTC
Comments
Is this any different than your other question #q283704?
Asked by jayess on 2018-02-26 17:56:22 UTC
I'm deleting the other post. This one is worded better.
Asked by rellyrell on 2018-02-26 18:26:36 UTC
Ok, in the future you can always edit your question instead of creating a new one and deleting the old one.
Asked by jayess on 2018-02-26 18:52:09 UTC