ros-industrial-attic / keyence_experimental

BSD 3-Clause "New" or "Revised" License
11 stars 14 forks source link

Build Status

keyence_experimental

A library for communicating with Keyence LJ-V series sensors over TCP/IP.

It has been tested on the Keyence LJ-V7080 at Southwest Research Institute.

Organization

This package is divided into two logical components:

Build

The keyence library requires:

Download wstool and dependencies:

mkdir -p my_workspace/src
cd my_workspace/src
wstool init .
wstool merge https://github.com/ros-industrial/keyence_experimental/raw/kinetic-devel/keyence_experimental.rosinstall
wstool update
cd ..
catkin build

Capability

Currently, laser program configuration must be done through the Windows-based Keyence utility. This API supports:

Examples

See the keyence_library/src directory for C++ examples of the above capabilities.

ROS Node

To run the ros node:

rosrun keyence_experimental keyence_driver_node _controller_ip:=xxx.xxx.xxx.xxx

Or set the controller_ip parameter as a private param in a launch file.

The following additional parameters are supported:

By default the node publishes XYZ point clouds on the profiles topic. Note that nothing will be published if no one subscribes that topic.

The active program can be set via the keyence_experimental::ChangeProgram service call. See the srv/ directory for more info.