Using the Hokuyo Sensor with ROS on the Raspberry Pi

Slides:



Advertisements
Similar presentations
IP-700 Specification Video input Supporting NTSC/PAL system Video compression H.264 baseline Level 2.2 Video resolution PAL: 320*240 (QVGA),
Advertisements

Yokogawa Network Solutions Presents:
Configuring APACS & AAN Controllers
Grade Cam Dustin Foster 2/4/13 Please open Chrome & Login to Skyward.
Module 3 Configuring Hardware on a Computer Running Windows XP Professional.
MHSL - Dolphin Training Class
Network Printing Windows XP. Setting Up a Network Printer Before you begin this exercise you should configure your target printer with a static IP address.
UPLOAD YOUR S2 SCANNER. To upload your Scanner means: Sending the data of the scans you made from your Scanner to the worldwide Nu Skin server. Benefits:
Spyder Re-flash 2.0 How-To
1 Resolving Host Selector Issues. 2 Table of Contents Page 3 - 6: User unable to connect to an account. Page 7: Host Selector crashing. Page 8 - 9: Saving.
Raspberry Pi <-> APM 2.6 Communication and Control
Spyder Re-flash How-To
SIS - Security Lab Introductory Session University of Pittsburgh 2006.
DIR-505 All-in-One Mobile Companion Greg Quinlan Technical Trainer.
Introduction to the Raspberry Pi ® Saman Amighi 10/2013 ® Raspberry Pi Foundation.
Raspberry Pi Programming Mitch Neilsen
A+ Guide to Software, 4e Chapter 11 Supporting Printers and Scanners.
Embedded Programming and Robotics Lesson 12 Introducing the Raspberry Pi Intro to Raspberry Pi1.
Remote Accessing Your Home Computer Using VNC and a Dynamic DNS Name.
Setting a CD to Run Automatically Betsy DeGeorge.
SINGLE BOARD COMPUTERS -KEVIN JOSE. WHY DO WE USE THEM? Good performance at low price GPIO capability to interact with the outside world Small form factor,
Chabot College ELEC autoinstall and SLARP.
Drivers Station 2010 Joe Ross Team /12/2009.
Driver Station MVRT 2009 – 2010 Season. Add information Breadboard Classmate PC USB Hub Joysticks Stop Button.
Lab How to Use WANem Last Update Copyright 2011 Kenneth M. Chipps Ph.D. 1.
Objectives Define IP Address To be able to assign an IP address with its Subnet Mask and Default Gateway to a PC that operates using Windows 7 or Fedora.
R2 Confidential IJQA Center MP Navigator EX.
BBBK Programming Notes Rudra Dutta CSC , Fall, 2013.
Microsoft Windows 7 - Illustrated Unit P Managing Hardware.
1 © 2003, Cisco Systems, Inc. All rights reserved. CCNA 2 Module 9 Basic Router Troubleshooting.
Designing Interface Components. Components Navigation components - the user uses these components to give instructions. Input – Components that are used.
 The Control Panel window will pop up. Existing LAN USB-to-Ethernet adapter  Use an inexpensive USB-to-Ethernet adapter and connect it to your computer’s.
Links and LANs Link between two computers via cross cable The most simple way to connect two hosts is to link the two hosts with a cross cable.
Hello We are looking for a coder to code the following We have a network that has different sites: we need an application that will scan the network and.
By Naveed Ahmad! How to setup a. First of all, what are the parts of a Raspberry Pi? Source:
Configuring a Router. Router user interface The Cisco IOS software uses a command-line interface (CLI) as the traditional console environment. This environment.
BENS BLOG BY BEN. ABOUT ME My device is a Samsung Galaxy S2 8 Megapixel back camera.
Samantha. What is it? –It is a Wi-Fi interface for the Lego Mindstorms –It replaces the Bluetooth connection for running matches It is mostly for running.
NetTech Solutions Common Connectivity Problems Lesson Eight.
Quick guide to ASIMON configuration For version 3.0 or greater SAFETY AT WORK Date: 3/18/2009.
U2020 X-Series Power Sensor Firmware Upgrade Process Version 1 Date: 8 August 2012.
Intro to Raspberry Pi A Southwest Florida Hackerspace Workshop Presented by: Russell Benzing & Eric Schiffli.
Bonus EV3 Programming Lessons By Droids Robotics LEGO MINDSTORMS and Raspberry Pi Communicator.
Bonus EV3 Programming Lessons By Droids Robotics LEGO MINDSTORMS and Raspberry Pi IR Light controller.
Bonus EV3 Programming Lessons LEGO MINDSTORMS ev3dev and Raspberry Pi IR Light controller.
How to Recover Deleted Photos from Android Cell Phone? Android is keeping on improving their products and make sure to provide the best software service.
Multi-Programmer User Guide 1. Contents 1.Product ComponentsProduct Components 2.Software InstallationSoftware Installation 3.Software UseSoftware Use.
Raspberry Pi Project Control Your Home Lights with a Raspberry Pi.
A+ Second Edition Genetic Computer School Lesson 13 Drivers, Applications, Printers, Scanners and Printing.
Chapter 4: server services. The Complete Guide to Linux System Administration2 Objectives Configure network interfaces using command- line and graphical.
Wireless Access Point. What is a WAP?  A Wireless access point (WAP) is a device that allows a wireless device to connect to a wired network.
Workshop on Raspberry Pi 3
Welcome POS Synchronize Concept 08 Sept 2015.
Automated ADT Interface Version .02
Do-more Technical Training
EPC3000 Controllers Helping deliver an efficient and secure process Maintain the highest standard of production quality and ease your.
CPLD Software Setup Note: Some of the images contained in this presentation are captured from Altera’s Quartus II software. Please see the Altera web.
How To Setup HP Printer For USB Connection In Windows?
Welcome! Thank you for joining us. We’ll get started in a few minutes.
Intro to Ethical Hacking
fischertechnik® RoboPro Software for Gateway To Technology® RoboPro
The Internet of Things (IoT)
Development Commitment Package
About AirPrint AirPrint is an Apple technology that helps you create full-quality printed output without the need to download or install drivers.
Intro to Ethical Hacking
Chapter 11 Supporting Printers and Scanners
Quick Introduction to ROS
How to install HP printer using IP address? How to install HP printer using IP address? Call
Configuring Server to communicate with CET meters (Ethernet)
Robot and Crickit HAT © Copyright 2019 by Dr. Elizabeth I. Horvath and Dr. Eva A. Horvath 1.
Presentation transcript:

Using the Hokuyo Sensor with ROS on the Raspberry Pi Varanon Austin Pukasamsombut 留学生 Field Robotics Group, Tohoku University Prof. Yoshida Kazuya, Assoc. Prof. Keiji Nagatani May 12, 2015

Basics Required Skills: Basic Knowledge of C++ Experience with the ROS system on the Raspberry Pi http://wiki.ros.org/ My Methods: Raspberry Pi Model B+ running Raspbian ROS Indigo installed from Source Hokuyo UST-20LX Sensor with Ethernet Cable Connection (Other sensor models should work as well) UST-20LX

Installation First install the following ROS packages: hokuyo_node [Main sensor package] http://wiki.ros.org/hokuyo_node urg_node [Updated version for newer sensor models] http://wiki.ros.org/urg_node If you are using a new Hokuyo sensor model (ex. UST-20LX), use urg_node. If you are using an older model that has a USB interface, you will only need the hokuyo_node package.

Connecting the UST-20LX to the Raspberry Pi If you are using a Hokuyo Sensor with an Ethernet cable (UST-20LX), connect it to the Raspberry Pi’s Ethernet port. You will need to edit “/etc/network/interfaces” and add a static IP address for the eth0 port. “192.168.0.10” is the default IP address for the Hokuyo Sensor. So to use a static IP address to connect with the Raspberry Pi, use “192.168.0.XX” . The last two digits should be different from “10”. Confirm the connection by pinging the sensor. $ ping 192.168.9.10

Obtain Data from the Hokuyo Sensor Once you have powered the Hokuyo Sensor and properly established connection to the Raspberry Pi, use urg_node to obtain data from the Hokuyo Sensor through ROS. $ rosrun urg_node urg_node _ip_address:=192.168.0.10 If you cannot connect and get an error message, make sure that you are connected to the Hokuyo Sensor (ping 192.168.0.10).

Connecting other Hokuyo Models If the Hokuyo connects via USB, it should automatically be able to connect to the Raspberry Pi by just plugging it in. You can then use hokuyo_node to connect to the sensor. You may need to change the default parameters to connect. http://wiki.ros.org/hokuyo_node

Reading Data from the Hokuyo Sensor If you successfully connect, open a new terminal window and type: $rostopic echo /scan to see the data from the sensor. (However, it will be too fast to read.) This image shows the message details of the scan. Ranges and Intensities are defined as arrays.

Understanding the Data [UST 20LX] The data from the sensor is put into two arrays. ranges[ ] //Range = Distance intensities [ ] 270° Every “step” is 0.25°. [Look At Image] Step 0 = 0° Step 540 = 135° [Front of UST] Step 1080 = 270° 0° A Full 270 ° scan will have 1081 steps. So the arrays have a size of 1081. ranges[0], ranges[1], …. ranges[1080] Measurement Steps: 1081 Detection Angle: 270° Angular Resolution: 0.25° For example, to find the distance and intensity directly in front of the UST sensor, use: float distance_front = ranges[540]; float intensity_front = intensities[540]; *Information on reading the sensor data can also be found on the sensor’s data sheet.

Writing C++ Code to Obtain the Data in your own ROS program. To obtain the sensor data in your own program, just subscribe to “/scan”. This is a basic ROS concept that can be learned from the wiki page. http://wiki.ros.org/ROS/Tutorials/WritingPublisherSubscriber%28c%2B%2B%29 Make sure to also properly update your CMake and package files. My sensor test code to obtain the Distance and Intensity of the front of the sensor is shown in the next slide.

Test Code Output

Other Notes If you are using both USB and the Ethernet cable at the same time to connect to an ip address, one will stop the other. To avoid this, enable hotplug for both ports in /etc/network/interfaces.

End More information and instructions for using urg_node and hokuyo_node can be found on their respective wiki pages on the ROS site. If you have any questions, feel free to contact me at: austinpuk@gmail.com Varanon Austin Pukasamsombut 留学生 Field Robotics Group, Tohoku University Prof. Yoshida Kazuya, Assoc. Prof. Keiji Nagatani May 12, 2015