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

rosserial arduino ackermann_msgs subscriber problem

asked 2018-09-22 00:55:17 -0600

jsjsjs0775 gravatar image

Hello, i'm studying rosserial and arduino!

I want to build nodes that one node in ros(ros node) publish ackermann_msgs, and the other node in arduino(arduino node) subscribes it.

But, it's not work!

I think the subscriber callback function isn't triggered.

But when i check the rqt_graph, it shows they communicate well.

So how would i solve this problem?

Check list

  1. rosserial_python work well with arduino
  2. publisher(the ros node) publish topic properly. ( I also double checked it by echoing topic and implementing subscriber (in ros node) )
  3. All executed nodes didn't show any error message.
  4. rqt_graph shows they
edit retag flag offensive close merge delete

1 Answer

Sort by ยป oldest newest most voted
0

answered 2018-09-22 06:44:53 -0600

saurabh gravatar image

updated 2018-09-22 06:47:12 -0600

Can you share your Arduino code here. There are multiple examples given, how to make a ROS subscriber in Arduino.

If it is the problem with this specific message, then may be that message is not defined in Arduino libraries. If thatis the case, you have to take source code, and add that message library in rosserial.

edit flag offensive delete link more

Comments

Question Tools

1 follower

Stats

Asked: 2018-09-22 00:55:17 -0600

Seen: 416 times

Last updated: Sep 22 '18