dillenberger / pepperl_fuchs

Pepperl+Fuchs R2000 Driver
http://wiki.ros.org/pepperl_fuchs_r2000
BSD 3-Clause "New" or "Revised" License
54 stars 56 forks source link

Cannot connect with the R2000 firmware 1.08 #3

Open IndraXIII opened 7 years ago

IndraXIII commented 7 years ago

I'm running ROS indigo on ubuntu 14.04. when I launch the gui_example launch file i get the following output:

[ INFO] [1480516367.084026091]: rviz version 1.11.14 [ INFO] [1480516367.084104566]: compiled against Qt version 4.8.6 [ INFO] [1480516367.084122873]: compiled against OGRE version 1.8.1 (Byatis) [ INFO] [1480516368.317476987]: Stereo is NOT SUPPORTED [ INFO] [1480516368.317657527]: OpenGl version: 4.5 (GLSL 4.5). Connecting to scanner at 192.168.0.14 ... Exception: Connection timed out ERROR: Exception: (1): expected object or array ERROR: Could not connect to laser range finder! FAILED! Connection to scanner at 192.168.0.14 failed!

Also when I try to connect to the sensor via my browser with the url: "192.168.0.14/cmd/get_protocol_info" I get the following output:

Error 404: Not Found File not found

I get the same error when i use ROS kinetic on my Jetson tx1. The error seems to occur somwhere a the read_json function part of the HttpCommandInterface::sendHttpCommand function.

Hopefully you can help / or fix the error if possible.

l20031018 commented 7 years ago

This driver is based on R2000 firmware 1.00. On the website of P+F I can only find mannul for firmware 1.02. If you have protocol mannul for firmware 1.08, please send a copy to l20031018@126.com, I will try some help.

samiamlabs commented 7 years ago

I had the same problem, but in my case this was because we got the wrong version of the scanner. This version, for example does not allow you to access scan data over Ethernet without authentication.

According to the release notes for 1.21 the protocol is backwards compatible to 1.0.