agnunez / espros

ROS serial for ESP8266 over WiFi
MIT License
126 stars 51 forks source link

NodeMCU ESP32 : Protocol version of client is unrecognized, expected Rev 1 (rosserial 0.5+) #7

Open sunnysetia93 opened 5 years ago

sunnysetia93 commented 5 years ago

I have ROS melodic installed on my Master Linux machine where I have my roscore running.

I have serially connected NodeMCU esp32 to the linux machine, where esp32 publishes data of an ultrasonic sensor on a topic which is then subscribed by node running on a linux machine.

I get this error when I am trying to run _rosrun rosserial_python serialnode.py /dev/ttyUSB0 Error: Protocol version of client is unrecognized, expected Rev 1 (rosserial 0.5+)

that is why when i run rostopic echo /topicname, there is no such topic found.

Also, When I run the same code on arduino UNO, everything works as expected.

Kindly help me with a detailed explanation as I am a beginner in ROS and cannot proceed further.

sujoy743175 commented 3 years ago

hi @sunnysetia93 ... you must have solved the problem ... can you help me to come out of the same ... m using neotic and foxy . thank you...

DeepakKumarShah commented 3 years ago

@sujoy743175

https://github.com/ros-drivers/rosserial/issues/354 here some people seem to have solved this problem. If you understand their there discussion then please explain me too, I am not good at programming.

DeepakKumarShah commented 3 years ago

It solved my problem.

temp1

joedavid-tuni commented 1 year ago

My ESP-32 was running at 240Mhz, when I changed it to 160Mhz this error was gone. You change it in the Arduino IDE tools>CPU frequency

AbrarMahmud commented 3 months ago

It solved my problem.

temp1

It worked for me too.---Thanks---