ROBOTIS-GIT / OpenCR

Software for ROS Embedded board (a.k.a. OpenCR). OpenCR means Open-source Control Module for ROS.
Apache License 2.0
386 stars 238 forks source link

error: Connection refused #123

Closed wsung1 closed 6 years ago

wsung1 commented 6 years ago

Hi, ROBOTIS, While following the textbook - ROS robot programming, I got stuck in 9.2.6. rosserial examples (p.276). As written in the textbook, I first downloaded a_LED.ino to the OpenCR. download a_led ino

Then, I tried to run rosserial_server using rosserial_python as shown below but it failed with the following error: socket error

Please help me solve this problem. Thanks in advance :)

kijongGil commented 6 years ago

Hi @wsung1 :) I think ros is installed incorrectly, or the python configuration seems to be wrong. could you try to install ros-serial? sudo apt-get install ros-kinetic-rosserial ros-kinetic-rosserial-server ros-kinetic-rosserial-arduino

wsung1 commented 6 years ago

Thanks for your reply @kijongGil :) The cause turned out to be in ROS_MASTER_URI. https://answers.ros.org/question/248280/rosserial-arduino-connectivity-problem-socketerror-errno-111-connection-refused/