leuze_phidget_driver package from leuze_ros_drivers repoleuze_bringup leuze_description leuze_msgs leuze_phidget_driver leuze_ros_drivers leuze_rsl_driver |
|
Package Summary
Tags | No category tags. |
Version | 1.0.1 |
License | Apache 2.0 |
Build type | CATKIN |
Use | RECOMMENDED |
Repository Summary
Checkout URI | https://gitlab.cc-asp.fraunhofer.de/led/leuze_ros_drivers.git |
VCS Type | git |
VCS Version | master |
Last Updated | 2021-10-07 |
Dev Status | MAINTAINED |
CI status |
|
Released | RELEASED |
Tags | No category tags. |
Contributing |
Help Wanted (0)
Good First Issues (0) Pull Requests to Review (0) |
Package Description
Additional Links
Maintainers
- Ludovic Delval
Authors
- Ludovic Delval
- Harshavardhan Deshpande
- Tejas Kumar Shastha
Leuze Phidget Interface Kit (IK) driver
This package maps the I/Os of the Leuze RSL sensor to ROS messages. For this purpose, we use a Phidget IK Board. The outputs of the RSL scanner should be connected to the inputs of the IK board and the inputs of the RSL scanner should be connected to the outputs of the IK board.
Requirements
The ROS driver for the IK board is available here and needs to be installed first, either from source or as a Debian package :
sudo apt install ros-<distro>-phidgets-ik
where <distro>
is your distribution of ROS (Kinetic/Melodic).
Bringup
roslaunch leuze_bringup leuze_phidget_driver.launch
This starts up the Phidget IK driver that you installed, as well as the Leuze Phidget Driver from this package. The Phidget IK driver spawns a large number of topics based on the specific RSL model connected. The Leuze Phidget Driver from this package combines them conveniently into one single publishing topic for the inputs of the IK (i.e. outputs of the RSL) as ik_show_inputs
, and a single subscribing topic for the outputs of the IK (i.e. inputs of the RSL) as ik_set_outputs
. Note that the terms inputs/outputs in the topic names refer to the Phidget IK board.
Usage
This driver is utilized as follows:
RSL Output --> IK Input --> Publish on /ik_show_inputs (leuze_msgs/PhidgetIKInputMSG) --> User can read
User can write --> Subscribe from /ik_set_outputs (leuze_msgs/PhidgetIKOutputMSG) --> IK Output --> RSL Inputs
!!ALERT!!
The user must note that the default Phidget IK driver publishes new information based on state changes. That is, only when there is a transition in the state of an output, does it publish a message on it’s respective topic. Therefore, once the Leuze Phidget Driver is launched via roslaunch, the user is advised to briefly place an obstacle (a hand or a foot for example) directly in front of the RSL scanner in order to force trigger all I/Os. Until this is done, the Phidget IK may show junk values for the I/Os, but thereafter faithfully follows the correct values.
I/O Mapping
The mapping of the I/Os of the scanner to the pins of the Phidget board can be seen below. Note that in the first table, the first column refers to the outputs of the scanner, and the second column refers to the inputs of the Phidget board. Vice versa for the second table. Depending on your model of the RSL400 laser scanner family, not every I/O seen below will be used. Please refer to the Leuze manuals to know which I/Os are available for you model. Since the I/Os of the scanner are recognized by the colors of the cables, the user is advised to be cautious when setting up the connections for different models. Refer the last section for the manuals, including cable color coding.
Outputs of the scanner:
| Output Name (RSL)| Input slot (Phidget Board)| |:-: |:-: | |EA1 | 0| |OSSDA1 | 1| |OSSDA2 | 2| |MELD | 3| |A1 | 4| |A2 | 5| |A3 | 6| |A4 | 7| |EA2 | 8| |OSSDB1 | 9| |OSSDB2 | 10|
Inputs of the scanner:
| Input Name (RSL)| Output slot (Phidget Board)| |:-: |:-: | |RES1 | 0| |F1 | 1| |F2 | 2| |F3 | 3| |F4 | 4| |F5 | 5| |SE1 | 6| |SE2 | 7| |F6 | 8| |F7 | 9| |F8 | 10| |F9 | 11| |F10 | 12| |RES2 | 13|
List of supported devices and links to their manuals:
Changelog for package leuze_phidget_driver
1.0.1 (2019-11-14)
1.0.0 (2019-11-11)
- Merge branch 'package_updates' into 'master' Package updates See merge request ipa326/leuze_ros_drivers!10
- Added author and maintainer info
- Updated README.md of all packages
- Merge branch 'WP2-documentation' into 'master' Added WP2 documentation See merge request ipa326/leuze_ros_drivers!9
- Added WP2 documentation
- Merge branch 'refactoring' into 'master' Refactoring See merge request ipa326/leuze_ros_drivers!7
- added License to all packages
- Added the phidget driver
- Contributors: Ludovic Delval, kut
Wiki Tutorials
Package Dependencies
Deps | Name |
---|---|
std_msgs | |
catkin | |
roscpp | |
leuze_msgs |
System Dependencies
Dependant Packages
Name | Deps |
---|---|
leuze_bringup | |
leuze_ros_drivers |