ROS Resources: Documentation | Support | Discussion Forum | Index | Service Status | ros @ Robotics Stack Exchange |
2018-08-08 01:01:47 -0500 | marked best answer | Need help in subscribing from one topic and publishing to another. I'm trying to subscribe the values from a potentiometer which is connected to an Arduino and publish it to /cmd_vel topic in order to move my robot. So far i've tried to subscribe the values from the potentiometer using rosserial. The code is as follows. I tried to get these values by writing a subscriber node program , But there is no output coming onto the terminal. Kindly help in subscribing to the /adc topic and publish its values to /cmd_vel topic. Thank you. |
2017-07-03 06:54:14 -0500 | received badge | ● Famous Question (source) |
2017-06-30 00:51:04 -0500 | received badge | ● Notable Question (source) |
2017-06-30 00:45:00 -0500 | commented answer | Need help in subscribing from one topic and publishing to another. Hi ahendrix, As per your suggestion i edited the subscriber by importing rosserial_msgs.msgs import |
2017-06-30 00:44:27 -0500 | commented answer | Need help in subscribing from one topic and publishing to another. Hi ahendrix, As per your suggestion i edited the subscriber by importing "rosserial_msgs.msgs impor |
2017-06-30 00:42:43 -0500 | commented answer | Need help in subscribing from one topic and publishing to another. Hi ahendrix, |
2017-06-30 00:40:25 -0500 | commented question | Need help in subscribing from one topic and publishing to another. Hi Ruben, I ran the command "rostopic echo /adc" and i'm able to see the values from the potentiometer |
2017-06-29 22:04:08 -0500 | received badge | ● Popular Question (source) |
2017-06-29 09:04:37 -0500 | asked a question | Need help in subscribing from one topic and publishing to another. Need help in subscribing from one topic and publishing to another. I'm trying to subscribe the values from a potentiomet |