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

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

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

adroit89 gravatar image

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

ngrennan gravatar image

Hi,

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/librosbag.so: 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?

Thanks.

edit retag flag offensive close merge delete

Comments

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 -0500 )edit
1

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

dornhege gravatar image dornhege  ( 2014-03-30 23:28:21 -0500 )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 "http://answers.ros.org/question/123421/hydro-kinect-ubuntu-1204-library-issue/" 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 -0500 )edit

2 Answers

Sort by ยป oldest newest most voted
2

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

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
-1

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

adroit89 gravatar image

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

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

Comments

1

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 -0500 )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 -0500 )edit

Please post a new question or edit the existing one.

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

Question Tools

Stats

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

Seen: 1,404 times

Last updated: Apr 02 '14