ROS Resources: Documentation | Support | Discussion Forum | Index | Service Status | ros @ Robotics Stack Exchange
Ask Your Question

Problem with Laser Scanner hokuyo URG-04LX-UG01 in ROS hydro

asked 2014-03-30 22:52:32 -0600

adroit89 gravatar image

updated 2016-10-24 09:02:15 -0600

ngrennan gravatar image


I want to run a laser scanner in ROS hydro. First of all I can connect to laser via hokuyo_node. But when I want to visit output data with RVIS, I can't! when I add laserscanner and change topic to scan , status changes to error. And also I try to log data with "rosbag record -O name /scan". But unfortunately I faced to this error:

/opt/ros/hydro/lib/rosbag/record: symbol lookup error: /opt/ros/hydro/lib/ undefined symbol: _ZN3ros7console5printEPNS0_10FilterBaseEPN7log4cxx6LoggerENS0_6levels5LevelEPKciS9_S9_z

I try: "apt-get update" and "apt-get upgrade"

but it doesn't work yet! What can I do now?


edit retag flag offensive close merge delete


What does "doesn't work" mean exactly? What errors do you get for apt-get and when you set the laser display in rviz?

dornhege gravatar image dornhege  ( 2014-03-30 23:28:05 -0600 )edit

The error that you see might be fixable with apt-get upgrade.

dornhege gravatar image dornhege  ( 2014-03-30 23:28:21 -0600 )edit

I meant that even after upgrade, rosbag doesn't work. But now I can solve problem with rosbag by another solution in this link "" I run roscore and then hokuyo_node and then rvis and I set laser scanner and topic scan.

adroit89 gravatar image adroit89  ( 2014-03-31 00:34:28 -0600 )edit

2 Answers

Sort by ยป oldest newest most voted

answered 2014-03-31 06:43:45 -0600

ahendrix gravatar image

It looks like you're hitting the same symbol error / ABI breakage with rosbag that many other users are seeing. Try running sudo apt-get dist-upgrade to upgrade everything.

I suspect the problem that you're seeing in rviz is due to a frame mismatch. You should be able to expand the topic and the error message to confirm this. By default, the hokuyo_node publishes sensor data in the laser frame; try changing your rviz fixed frame to laser.

edit flag offensive delete link more

answered 2014-04-01 23:47:46 -0600

adroit89 gravatar image

updated 2014-04-02 04:34:33 -0600

I can solve rosbag problem but not laser scanner in rviz! And actually now I can run rosbag record to log laser data but when I want run bag file I use these commands:

  1. rosmake hector_slam
  2. roslaunch hector_slam_launch tutorial.launch
  3. rosbag play test.bag --clock

But I face this error: why is it appear??

edit flag offensive delete link more



Please do not post answers that contain followup questions. Edit your original question instead. What exact error are you getting now?

demmeln gravatar image demmeln  ( 2014-04-02 03:13:08 -0600 )edit

[ERROR] [1396426573.655499170, 1396424951.430074463]: Trajectory Server: Transform from /map to scanmatcher_frame failed: "map" passed to lookupTransform argument target_frame does not exist. It is the error. Thanks.

adroit89 gravatar image adroit89  ( 2014-04-02 04:34:14 -0600 )edit

Please post a new question or edit the existing one.

demmeln gravatar image demmeln  ( 2014-04-02 04:56:33 -0600 )edit

Question Tools


Asked: 2014-03-30 22:52:32 -0600

Seen: 1,403 times

Last updated: Apr 02 '14