cartographer-project / cartographer_turtlebot

Provides TurtleBot integration for Cartographer.
Apache License 2.0
151 stars 96 forks source link

2D Mapping with lidar and odometry #59

Closed apr8 closed 7 years ago

apr8 commented 7 years ago

Hi, I have been trying to generate a 2D map using the lidar and odometry data alone. However I get the following error when I set using odom = true. error:Check failed: frame_id[0] != '/' ('/' vs. '/')

My configuration is similar to that of pr2 but the enable odom is set true. Am I doing something wrong?

SirVer commented 7 years ago

Your frame_ids start with a /. This is no longer valid in ROS and it never was working as intended anyways. Cartographer refuses these frame id_s (as the error output after the crash should say).

See 1.7 in http://wiki.ros.org/tf2/Migration#Removal_of_support_for_tf_prefix.