Skip to content

susaikum/raspimouse_ros_2

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

43 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Build Status

raspimouse_ros_2

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.

Requirements

This package requires the following to run:

Installation

1. Install the latest stable version of ROS.

Please refer to ROS WiKi for installation, or run the following ros setup scripts.

2. Download and install device driver.

Please refer to rt-net/RaspberryPiMouse for download and installation.

3. Make a workspace.

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

4. Download this repository into ~/catkin_ws/src.

cd ~/catkin_ws/src
git clone https://github.com/ryuichiueda/raspimouse_ros_2.git

5. Resolve the system dependencies.

rosdep install raspimouse_ros_2

6. Build this repository.

cd ~/catkin_ws
catkin_make
source ~/catkin_ws/devel/setup.bash

7. Test with the buzzer node

roslaunch raspimouse_ros_2 raspimouse.launch
rostopic pub /buzzer std_msgs/UInt16 1000

About

The current version of the ROS base package for Raspberry Pi Mouse

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Python 49.0%
  • C++ 25.7%
  • CMake 21.9%
  • Shell 3.4%