Skip to content

asukiaaa/ros_sevenbot

Repository files navigation

ros_sevenbot

A package to control sevenbot from ROS.

Demo movie

https://www.youtube.com/watch?v=U9kZBxp1-Tg

Setup

ROS

I expect that you have already created workspace for ros.

setup rosserial_arduino

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

download this repository

cd ~/catkin_ws/src
git clone [email protected]:asukiaaa/ros_sevenbot.git
cd ~/catkin_ws
catkin_make

Arduino

I expect that you have already installed Arduino and its package for DUE.

Set dependent libraries for arduino

  • 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 ./

Set symlink for sketch.

cd ~/Arduino
ln -s ~/catkin_ws/src/ros_sevenbot/arduino_sketch sevenbot_with_ros

useage

Upload program to Arduino

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.

Launch

cd ~/catkin_ws
roslaunch ros_sevenbot arduino_pub.launch

References

About

No description or website provided.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published