Control a motor with joystick in ros, hbridge motor drive and rpi3

asked 2018-02-26 16:47:51 -0600

rellyrell gravatar image


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!

edit retag flag offensive close merge delete


Is this any different than your other question #q283704?

jayess gravatar image jayess  ( 2018-02-26 16:56:22 -0600 )edit

I'm deleting the other post. This one is worded better.

rellyrell gravatar image rellyrell  ( 2018-02-26 17:26:36 -0600 )edit

Ok, in the future you can always edit your question instead of creating a new one and deleting the old one.

jayess gravatar image jayess  ( 2018-02-26 17:52:09 -0600 )edit