Adafruit DC and Stepper Motor HAT for Raspberry Pi
100:1 Micro Metal Gearmotor HP 6V
- Flash Ubuntu 16.04 (LXDE) and pre-installed ROS-Kinetic image into your micro ssd.
- Install Adafruit-Motor-HAT-Python-Library
cd ~
git clone https://github.com/adafruit/Adafruit-Motor-HAT-Python-Library.git
cd Adafruit-Motor-HAT-Python-Library
python setup.py install
- Install Catkin Command Line Tools
- Create ROS workspace and build this package
cd ~
mkdir -p ros_ws/src
cd ros_ws/src
git clone https://github.com/linZHank/zumo_pi.git
cd ~/ros_ws
catkin build
- Install teleop_twist_keyboard:
sudo apt install ros-kinetic-teleop-twist-keyboard
- Open a terminal, then
roslaunch zumo_pi zumo_driver.launch
- Open a new terminal, then
rosrun teleop_twist_keyboard teleop_twist_keyboard.py