ROS Resources: Documentation | Support | Discussion Forum | Index | Service Status | ros @ Robotics Stack Exchange
Ask Your Question

JackBall's profile - activity

2019-05-20 02:36:25 -0500 marked best answer Using non-supported hardware in a ROS system

I'm trying to integrate a small radiation detector into a robot's sensory system, and am very new to both ROS (indigo) and Linux (Ubuntu 14.04).

The detector came with files and folders (containing various CMakeLists, .cpp, and .h files) I used to build the device driver for it so that it could work on a Linux system. It has a driver module (.ko file) and its own library (.so file); all I did to compile the library was use "cmake" while in its main folder, "make install" to install the driver module while in the driver module file, and then added a rule in /etc/udev/rules.d to disconnect it from the standard USB driver and connect it to the driver I installed.

I would like to be able to use the data coming from the detector in a ROS system, which I think means that it just needs to be able to publish on a ROS topic. The question I have is: what would be the easiest/smartest way to go about making this happen?

I have heard I could write a ROS wrapper for the device and include it as a node in some sensory package, and I have heard I can just write a script that includes roscpp and run a loop to publish incoming data. If this is too general a question, or if more information is needed to provide an answer, let me know and I'll gladly try to accommodate. Any help would be much appreciated!

2018-03-05 07:43:25 -0500 received badge  Famous Question (source)
2017-07-25 14:19:29 -0500 received badge  Supporter (source)
2017-07-25 14:19:26 -0500 commented answer Using non-supported hardware in a ROS system

Thanks for the response, this makes the path much clearer to me. In order to read data from the detector, I have to use

2017-07-25 10:36:22 -0500 received badge  Notable Question (source)
2017-07-24 17:59:30 -0500 received badge  Popular Question (source)
2017-07-24 11:56:47 -0500 asked a question Using non-supported hardware in a ROS system

Using non-supported hardware in a ROS system I'm trying to integrate a small radiation detector into a robot's sensory s