Remote control dc motor , ROS, RPi3

asked 2018-02-25 23:59:02 -0500

rellyrell gravatar image

Hello,

I'm currently working on a project that requires me to control a small dc motor( similar to that in a toy car) with a controller(ps3, xbox, etc.) using a Raspberry Pi 3, H bridge motor driver and ROS. I am familiar with python, c++. I'm getting more and more familiar with ROS I understand topics,subscribers,publishers,etc. In short I need help with getting started with the code to have my controller publish commands that will be read and interpreted by the raspberry pi which will then tell the motors what to do, start stop change direction speed up etc. Any help would be greatly appreciated. Also any arduino source code would be helpful I usually can close the gaps between the two.

edit retag flag offensive close merge delete

Comments

1

Scope is a bit larger, but you could take a look at Using ROS for simulating autonomous RC cars?. Try to reuse as much as possible. Unless your ultimate goal is to just control the motor of course.

gvdhoorn gravatar imagegvdhoorn ( 2018-02-26 02:57:25 -0500 )edit