sick_timxx driver in ros

sick_tim

A ROS driver for the SICK TiM series of laser scanners.

Source: git https://github.com/uos/sick_tim.git (branch: kinetic)

Choosing the right branch

Choose the branch named according to your ROS version (e.g. fuerte, groovy...). One exception is hydro, for which there are two branches: hydro for rosbuild, or hydro_catkin for Catkin (recommended). From indigo on, Catkin will be the only supported option.

Supported scanner types

This package provides one node for each supported type of scanner (all nodes provide the same features). The model name and part no. can be found on the side of the scanner. Since all scanners of the TIM line look alike, this is the only reliable way of identifying your device.
If your TIM scanner is not listed below, just try out whether one of the nodes works for you. If it does, drop us a mail, so we can add that model to the list. If it doesn't, open a Github issue, and we'll try to add support.

Node: sick_tim310s01
Model Name: TIM310-1030000S01
Part No.: 1056791
Web site: link
This is the "special edition" of the TIM3xx line. It was developed on request and officially supports ranging (i.e., there is a specification of the datagram format).
Frequency: 15 Hz, range: 4m. Range + intensities.

Node: sick_tim310
Model Name: TIM310-1030000
Part No.: 1052627
Web site: link.
This is the standard edition of the TIM310. It does not support ranging (only detection). There was a firmware bug in versions prior to V2.50 that allowed ranging output, and this node works with those firmware versions. All newer firmware versions will not work.
Frequency: 1.875 Hz, range: 4m. Range + intensities. (This is a little strange, because according to the specs, frequency should be 15 Hz).

Node: sick_tim310_1130000m01
Model Name: TIM310-1130000M01
Part No.: 1062563
Web site: none
Only available as a sample device (?). Angular resolution: 3°, no intensities. Will probably be rebranded as TIM-510.
Frequency: 15 Hz, range: 4m. Only range, no intensities.

Node: sick_tim551_2050001
Model Name: TIM551-2050001
Part No.: 1060445
Web site: link
Frequency: 15 Hz, angular resolution: 1°, range: 10m. Range + intensities.
Other devices tested to work with this node (both TCP and USB, where available):
TIM351-2134001 only works with firmware revisions prior to V2.50 (cf. Issue)

TIM561-2050101

TIM571-2050101 (P/N 1075091); frequency: 15 Hz, angular resolution: 0.333°, range: 25m; see sick_tim571_2050101.launch

ROS API

sick_tim
Published Topics
scan
(sensor_msgs/LaserScan)The published laser scans.

datagram
(std_msgs/String)The datagrams as received from the scanner (for debug purposes). Is only enabled when the publish_datagram param is set.

Parameters

Dynamically Reconfigurable Parameters
See the dynamic_reconfigure package for details on dynamically reconfigurable parameters.

~min_ang
(double
, default: -2.35619449019)The angle of the first range measurement [rad]. Range: -2.35619449019 to 2.35619449019

~max_ang
(double
, default: 2.35619449019)The angle of the last range measurement [rad]. Range: -2.35619449019 to 2.35619449019

~intensity
(bool
, default: True)Whether or not to return intensity values. RSSI output must be enabled on scanner (see "Enabling intensity (RSSI) output").

~skip
(int
, default: 0)The number of scans to skip between each measured scan. Range: 0 to 9

~frame_id
(str
, default: laser)The TF frame in which laser scans will be returned.

~time_offset
(double
, default: -0.001)An offset to add to the time stamp before publication of a scan [s]. Range: -0.25 to 0.25

~auto_reboot
(bool
, default: True)Whether or not to reboot laser if it reports an error

Not Dynamically Reconfigurable Parameters

~hostname
(string
, default: None)Enables TCP (Ethernet) instead of USB connection; hostname
is the host name or IP address of the laser scanner (only valid for TiM551)

~port
(string
, default: "2112")TCP port used (only evaluated if hostname
is set).

~publish_datagram
(bool
, default: False)Only for debug purposes: enables publishing messages on the /datagram
topic (see above).

~subscribe_datagram
(bool
, default: false)Only for debug purposes: If set to true
, enables subscribing to the /datagram
topic (instead of reading from the physical device). Useful to debug datagrams from a rosbag that was previously recorded using the publish_datagram
param.

Before starting

See the udev/README
file in the package directory.

USB vs. TCP (Ethernet) connection

By default the node will try to use the USB connection. To use the ethernet connection instead (for those scanners that have one), you have to set the parameter "hostname" to the scanner hostname or IP (see commented out part in the respective sick_tim/launch/sick*.launch files).
The scanner IP can be changed using the SICK SOPAS-ET configuration software.
In case of problems, make sure your PC is on the same network as the scanner and that you can ping the scanner from your PC.

Enabling intensity (RSSI) output

To reduce data rates, some scanners (e.g., the TiM 571) don't send RSSI data by default. It must first be enabled in the configuration software by downloading SOPAS-ET 3.2.0, connecting to the sensor using USB or Ethernet, logging in (UID: Authorized Client, PWD: client), and clicking the checkbox shown below:

sopas-enable-rssi.png

Quick start

roslaunch sick_tim sick_tim551_2050001.launch
Now you can visualize the /scan
topic using rviz. Enjoy!

sick_tim3xx.png

Report a Bug

Use GitHub to report bugs or submit feature requests. [View active issues]
Enable publish_datagram
in the launch file, by moving it out of the xml comments () and setting it to true: <param name="publish_datagram" type="bool" value="true" />

roslaunch sick_tim sick_timXXX.launch
(in a new terminal:) rosbag record --limit=50 --bz2 /scan /datagram /diagnostics
Attach the resulting bag file to the bug report.

最后编辑于
©著作权归作者所有,转载或内容合作请联系作者
  • 序言:七十年代末,一起剥皮案震惊了整个滨河市,随后出现的几起案子,更是在滨河造成了极大的恐慌,老刑警刘岩,带你破解...
    沈念sama阅读 204,053评论 6 478
  • 序言:滨河连续发生了三起死亡事件,死亡现场离奇诡异,居然都是意外死亡,警方通过查阅死者的电脑和手机,发现死者居然都...
    沈念sama阅读 85,527评论 2 381
  • 文/潘晓璐 我一进店门,熙熙楼的掌柜王于贵愁眉苦脸地迎上来,“玉大人,你说我怎么就摊上这事。” “怎么了?”我有些...
    开封第一讲书人阅读 150,779评论 0 337
  • 文/不坏的土叔 我叫张陵,是天一观的道长。 经常有香客问我,道长,这世上最难降的妖魔是什么? 我笑而不...
    开封第一讲书人阅读 54,685评论 1 276
  • 正文 为了忘掉前任,我火速办了婚礼,结果婚礼上,老公的妹妹穿的比我还像新娘。我一直安慰自己,他们只是感情好,可当我...
    茶点故事阅读 63,699评论 5 366
  • 文/花漫 我一把揭开白布。 她就那样静静地躺着,像睡着了一般。 火红的嫁衣衬着肌肤如雪。 梳的纹丝不乱的头发上,一...
    开封第一讲书人阅读 48,609评论 1 281
  • 那天,我揣着相机与录音,去河边找鬼。 笑死,一个胖子当着我的面吹牛,可吹牛的内容都是我干的。 我是一名探鬼主播,决...
    沈念sama阅读 37,989评论 3 396
  • 文/苍兰香墨 我猛地睁开眼,长吁一口气:“原来是场噩梦啊……” “哼!你这毒妇竟也来了?” 一声冷哼从身侧响起,我...
    开封第一讲书人阅读 36,654评论 0 258
  • 序言:老挝万荣一对情侣失踪,失踪者是张志新(化名)和其女友刘颖,没想到半个月后,有当地人在树林里发现了一具尸体,经...
    沈念sama阅读 40,890评论 1 298
  • 正文 独居荒郊野岭守林人离奇死亡,尸身上长有42处带血的脓包…… 初始之章·张勋 以下内容为张勋视角 年9月15日...
    茶点故事阅读 35,634评论 2 321
  • 正文 我和宋清朗相恋三年,在试婚纱的时候发现自己被绿了。 大学时的朋友给我发了我未婚夫和他白月光在一起吃饭的照片。...
    茶点故事阅读 37,716评论 1 330
  • 序言:一个原本活蹦乱跳的男人离奇死亡,死状恐怖,灵堂内的尸体忽然破棺而出,到底是诈尸还是另有隐情,我是刑警宁泽,带...
    沈念sama阅读 33,394评论 4 319
  • 正文 年R本政府宣布,位于F岛的核电站,受9级特大地震影响,放射性物质发生泄漏。R本人自食恶果不足惜,却给世界环境...
    茶点故事阅读 38,976评论 3 307
  • 文/蒙蒙 一、第九天 我趴在偏房一处隐蔽的房顶上张望。 院中可真热闹,春花似锦、人声如沸。这庄子的主人今日做“春日...
    开封第一讲书人阅读 29,950评论 0 19
  • 文/苍兰香墨 我抬头看了看天上的太阳。三九已至,却和暖如春,着一层夹袄步出监牢的瞬间,已是汗流浃背。 一阵脚步声响...
    开封第一讲书人阅读 31,191评论 1 260
  • 我被黑心中介骗来泰国打工, 没想到刚下飞机就差点儿被人妖公主榨干…… 1. 我叫王不留,地道东北人。 一个月前我还...
    沈念sama阅读 44,849评论 2 349
  • 正文 我出身青楼,却偏偏与公主长得像,于是被迫代替她去往敌国和亲。 传闻我的和亲对象是个残疾皇子,可洞房花烛夜当晚...
    茶点故事阅读 42,458评论 2 342

推荐阅读更多精彩内容

  • **2014真题Directions:Read the following text. Choose the be...
    又是夜半惊坐起阅读 9,363评论 0 23
  • 凤栖兮,归故乡,念梧桐,夜已凉。悲秋别,已三载,何念兮,凤求凰。呦呦兮,啾啾吁,思已别,愿无望。风云会,雨露恩,饯...
    法王司诺阅读 244评论 0 0
  • 我一个好友的父亲在老家开了一家工厂,做的是大理石的开采工作,本身属于危险系数比较高的工种,前几天她给我留言,说工地...
    达达令阅读 335评论 0 3
  • 2016年1月2日 #向上的生命,亲子共成长# 宸宸3岁3月 诗诗1月 宝贝记录 1.大姨来家里玩,正好赶上妹妹在...
    雪维他阅读 268评论 0 0
  • 1 我还记得刚进男生寝室204的时候,一股独属我们男生的汗味与烟味夹杂着,像他们五个人的面孔,扑面而来。 一个黝黑...
    字微阅读 513评论 9 16