Ask Your Question

simple proximity sensor msg

asked 2014-09-08 09:33:13 -0600

MosheS gravatar image


I'm trying to connect a simple driver for a proximity sensor that only returns a Boolean answer for a preset range. It seems that all the messages under sensor_msgs require a more complex answer like: "what is the range". Well, I don't have that answer, I only have "yes/no".

Am I missing something?



edit retag flag offensive close merge delete

1 Answer

Sort by ยป oldest newest most voted

answered 2014-09-08 10:39:03 -0600

bvbdort gravatar image

Create your own custom message with bool data type.

edit flag offensive delete link more


Well, I guess that this is what I should do then. I thought that maybe I'm missing something. Thanks,

MosheS gravatar image MosheS  ( 2014-09-09 00:21:40 -0600 )edit

Your Answer

Please start posting anonymously - your entry will be published after you log in or create a new account.

Add Answer

Question Tools

1 follower


Asked: 2014-09-08 09:33:13 -0600

Seen: 160 times

Last updated: Sep 08 '14