Robotics StackExchange | Archived questions

There is no lidar image after launched the sensor

I have install and launched r2000 lidar. Rviz appeared but there is no scan image.


Edit:

ROS_MASTER_URI=http://localhost:11311
core service [/rosout] found
process[r2000_driver_node-1]: started with pid [4952]
process[dummy_slam_broadcaster-2]: started with pid [4953]
process[rvizLocal-3]: started with pid [4961]
Connecting to scanner at 192.168.1.203 ... Exception: Connection refused
ERROR: Exception: <unspecified file>(1): expected object or array
ERROR: Could not connect to laser range finder!
FAILED!
Connection to scanner at 192.168.1.203 failed!
_IceTransSocketUNIXConnect: Cannot connect to non-local host 8051
_IceTransSocketUNIXConnect: Cannot connect to non-local host 8051
Qt: Session management error: Could not open network socket
[ INFO] [1506500846.847457559]: rviz version 1.11.18
[ INFO] [1506500846.847563031]: compiled against Qt version 4.8.6
[ INFO] [1506500846.847608486]: compiled against OGRE version 1.8.1 (Byatis)
[ INFO] [1506500847.409381557]: Stereo is NOT SUPPORTED
[ INFO] [1506500847.409596281]: OpenGl version: 3 (GLSL 1.3).

I have still having problem after changing the host address.

Asked by gambit on 2017-09-25 04:02:19 UTC

Comments

Please see our support guidelines and update your question.

As it is we cannot help you effectively.

Asked by gvdhoorn on 2017-09-25 04:42:20 UTC

Please do not post answers unless you are answering your own question. For updates, edit your original question. For everything else (ie: interacting with other posters), use comments.

I've merged your answer with your original question. Please use the edit button/link in the future.

Thanks.

Asked by gvdhoorn on 2017-09-25 05:14:56 UTC

I have no experience with this particular device or ROS node, but from the error message I would say you have not succeeded in "installing" the r2000 lidar. Please check your configuration and physical setup and fix that. Have you correctly configured the ROS pkg/node?

Asked by gvdhoorn on 2017-09-25 05:16:59 UTC

I have followed the steps from the answer in other post about installing new pkg.

Asked by gambit on 2017-09-25 19:39:28 UTC

Answers

This looks like a networking issue. Can you ping the scanner's IP address?

Make sure the IP address in ROS matches the IP address of the scanner. You can change the network settings on the scanner with the two buttons.

Make sure your Linux networking settings are correct for the scanner's IP range.

Asked by kmhallen on 2017-09-26 08:04:15 UTC

Comments

I knew the IP address for lidar and it has worked perfectly with another pc. The problem occurred when I work with a new pc.

Asked by gambit on 2017-09-26 19:51:28 UTC

I have also encounter roscore error whenever I start.

A common cause is that the machine cannot ping itself. Please check for errors by running:

ping soosoo

Asked by gambit on 2017-09-26 19:52:09 UTC

I have solved the roscore error by re-install ubuntu and change the hostname. Thank you

Asked by gambit on 2017-09-27 02:34:16 UTC