ROS Resources: Documentation | Support | Discussion Forum | Index | Service Status | ros @ Robotics Stack Exchange |
1 | initial version |
This answer is based on this solution found here for future users.
The problem is caused by ROS looking for wifi
connection over serial
.
To solve, change ros.h
in the library folder: ~/Arduino/libraries/ros_lib/ros.h
Original:
#if defined(ESP8266) or defined(ESP32) or defined(ROSSERIAL_ARDUINO_TCP)
#include "ArduinoTcpHardware.h"
#else
#include "ArduinoHardware.h"
#endif
Modified:
#if defined(ROSSERIAL_ARDUINO_TCP)
#include "ArduinoTcpHardware.h"
#else
#include "ArduinoHardware.h"
#endif
Also it's suggested to check baud rate.