Giter Club home page Giter Club logo

raspimouse_ros_2's Introduction

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.

Beforehand, please check the value of $ROS_PACKAGE_PATH. (The path in which raspimouse_ros_2 exists should be included.)

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

Support of RT-USB-9axisIMU2

If you have an RT-USB-9axisIMU2 9-axis sensor, its z angular velocity can be reflected to the /odom topic.

requirement

configuration

Please set 1 to the argument imu. When you want to use this feature permanently, please rewrite the arg element of raspimouse.launch as follows.

<launch>
  <arg name="imu" default="1" />   <!-- change from 0 to 1 -->
    <include if="$(arg imu)" file="$(find rt_usb_9axis_sensor)/launch/rt_usb_9axis_sensor.launch" />
...

raspimouse_ros_2's People

Contributors

nnabeyang avatar ryuichiueda avatar shotaak avatar tiryoh avatar

Watchers

 avatar  avatar  avatar

Forkers

yoshitoosanai

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.