Robotics StackExchange | Archived questions

rosserial arduino ackermann_msgs subscriber problem

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

Asked by jsjsjs0775 on 2018-09-22 00:55:17 UTC

Comments

Answers

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.

Asked by saurabh on 2018-09-22 06:44:53 UTC

Comments