The current version of the ROS base package for Raspberry Pi Mouse. This package is derived from "pimouse_ros" package, which is coded for the book from Nikkei BP.
- old versions: ryuichiueda/raspimouse_ros
This package requires the following to run:
- Ubuntu
- Ubuntu 16.04
- Ubuntu MATE 16.04
- ROS
- ROS Kinetic Kame
- Device Driver
Please refer to ROS WiKi for installation, or run the following ros setup scripts.
Please refer to rt-net/RaspberryPiMouse for download and installation.
mkdir -p ~/catkin_ws/src
cd ~/catkin_ws/src
catkin_init_worksapce
cd ~/catkin_ws
catkin_make
Delete the following line from ~/.bashrc
:
source /opt/ros/kinetic/setup.bash
Add the follwing line to ~/.bashrc
:
source ~/catkin_ws/devel/setup.bash
cd ~/catkin_ws/src
git clone https://github.com/ryuichiueda/raspimouse_ros_2.git
rosdep install raspimouse_ros_2
cd ~/catkin_ws
catkin_make
source ~/catkin_ws/devel/setup.bash
roslaunch raspimouse_ros_2 raspimouse.launch
rostopic pub /buzzer std_msgs/UInt16 1000