Table of Contents
This repository is for launching Laser Range-Finders (LRF). This repository contains a node that publishes sensor data from a Laser Range-Finder to the Robot Operating System (ROS). Developers working with ROS can use this node to connect a LRF to an existing ROS installation.
This section describes how to set up this repository.
First, please set up the following environment before proceeding to the next installation stage.
System | Version |
---|---|
Ubuntu | 20.04 (Focal Fossa) |
ROS | Noetic Ninjemys |
Python | 3.8 |
Driver | SCIP 2.2 |
Note
If you need to install Ubuntu
or ROS
, please check our SOBITS Manual.
- Go to the
src
folder of ROS.$ roscd # Or just use "cd ~/catkin_ws/" and change directory. $ cd src/
- Clone this repository.
$ git clone https://github.com/TeamSOBITS/urg_node
- Navigate into the repository.
$ cd urg_node/
- Install the dependent packages.
$ bash install.sh
- Compile the package.
$ roscd # Or just use "cd ~/catkin_ws/" and change directory. $ catkin_make
- Set the parameters inside urg_lidar.launch.
<!-- If using LAN cable, set IP address --> <param name="ip_address" value=""/> <!-- If using USB cable, set serial configuration --> <param name="serial_port" value="/dev/ttyACM0"/> <param name="serial_baud" value="115200"/>
Note
You can find the value of serial_port with ls -la /dev/ttyACM*
command.
- Execute the launch file urg_lidar.launch.
$ roslaunch urg_node urg_lidar.launch
Topic Name | Type | Meaning |
---|---|---|
/scan | sensor_msgs/LaserScan | Scan result from URG |
- TBD