Ask Your Question
0

Is it possible to run publisher and subscriber in single node under rosserial?

asked 2015-01-28 06:59:16 -0600

Kishore Kumar gravatar image

updated 2015-01-28 07:21:57 -0600

I need to get input from an analog sensor and control the LED. In this case can i run both the publisher and subscriber under same node in rosserial because i have only one Arduino board. Guide me towards some similar codes written.

edit retag flag offensive close merge delete

2 Answers

Sort by ยป oldest newest most voted
0

answered 2015-01-28 07:18:07 -0600

Wolf gravatar image

Yep, absolutely common standard use case, possible without problems......

edit flag offensive delete link more

Comments

Can you please give me an example code where both publisher and subscriber written in same node?

Kishore Kumar gravatar imageKishore Kumar ( 2015-01-28 07:24:24 -0600 )edit
0

answered 2015-01-28 10:37:40 -0600

Chrimo gravatar image

Watch this stupid sample from the past

https://github.com/mockbot/MockBot/bl...

edit flag offensive delete link more

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

Stats

Asked: 2015-01-28 06:59:16 -0600

Seen: 480 times

Last updated: Jan 28 '15