Quantcast
Viewing all articles
Browse latest Browse all 314

Rosserial: Topic id 125 & creation of publisher failed

Hi, I created a custom message: SonarDistances.msg uint8 front_middle uint8 right_front uint8 right_middle uint8 right_rear uint8 left_front uint8 left_middle uint8 left_rear uint8 rear_middle Catkin_make install and creation of the ros_lib etc. was done. devel path added to .bashrc. Baud rate on arduino nano was set. > Serial.begin(57600) Upload to arduino was fine. Now I start roscore and rosserial > rosrun rosserial_python serial_node.py /dev/ttyUSB0 After this I receive continously the following messages in the terminal: > [ERROR] [1521061577.369482]: Tried to > publish before configured, topic id > 125 >> [ERROR] [1521061577.434796]: Creation > of publisher failed: need more than 1 > value to unpack If I just use a simple chatter rosserial example with a string message the connection works an the topic is shown with rostopic echo. Any advise? BR Marco

Viewing all articles
Browse latest Browse all 314

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>