A package to control sevenbot from ROS.
- ROS: http://wiki.ros.org/
- SevenBot: http://7bot.cc/
https://www.youtube.com/watch?v=U9kZBxp1-Tg
I expect that you have already created workspace for ros.
rosserial_arduino: http://wiki.ros.org/rosserial_arduino/Tutorials/Arduino%20IDE%20Setup
cd ~/catkin_ws/src
git clone https://github.com/ros-drivers/rosserial.git
cd ~/catkin_ws
catkin_make
catkin_make install
cd ~/catkin_ws/src
git clone [email protected]:asukiaaa/ros_sevenbot.git
cd ~/catkin_ws
catkin_make
I expect that you have already installed Arduino and its package for DUE.
- KPowerServoController
- SevenBotController
- rosserial_arduino
cd ~/Arduino/libraries
git clone [email protected]:asukiaaa/KPowerServoController.git
git clone [email protected]:asukiaaa/SevenBotController.git
# catkin_make install may be needed before the following command
source ~/catkin_ws/install/setup.bash
rosrun rosserial_arduino make_libraries.py ./
cd ~/Arduino
ln -s ~/catkin_ws/src/ros_sevenbot/arduino_sketch sevenbot_with_ros
Compile and upload a publisher program to Arduino DUE in sevenbot.
Use this file.
~/Arduino/sevenbot_with_ros/serial_publisher/serial_publisher.ino
Note: A package "Arduino SAM Boards" is needed for IDE to deal Arduino DUE. Install it via boadmanager before uploading sketch.
cd ~/catkin_ws
roslaunch ros_sevenbot arduino_pub.launch
- http://ros-robot.blogspot.jp/2009/12/python.html
- http://interimadd.com/2016/02/12/ros%E3%81%A7%E8%A4%87%E6%95%B0%E3%81%AEtopic%E3%82%92subscirbe%E3%81%97%E3%81%9F%E6%83%85%E5%A0%B1%E3%82%92%E5%87%A6%E7%90%86%E3%81%97%E3%81%A6publish%E3%81%99%E3%82%8B%E3%83%8E%E3%83%BC%E3%83%89/
- http://www.rt-shop.jp/blog/archives/6968