Skip to main content

Module carmen

Module carmen 

Source
Expand description

CARMEN log reader for 2D laser datasets (e.g. the Intel Research Lab and Freiburg logs of the Kümmerle et al. SLAM benchmark).

Supported lines:

FLASER n r1 … rn x y theta odom_x odom_y odom_theta ipc_timestamp ipc_hostname logger_timestamp
ROBOTLASER1 type start_angle fov resolution max_range accuracy remission_mode
            n r1 … rn m e1 … em laser_x laser_y laser_theta robot_x robot_y robot_theta
            tv rv forward_safety side_safety turn_axis ipc_timestamp ipc_hostname logger_timestamp

FLASER carries no beam geometry; the CARMEN convention for front lasers is used: angle_min = -π/2, angle_increment = π / n. Other message types (ODOM, PARAM, comments, …) are skipped.

Structs§

CarmenParseError
Error raised for a malformed laser line.
CarmenScan
One laser scan from a CARMEN log.

Functions§

format_flaser
Formats a scan as a CARMEN FLASER line (robot odometry = laser pose).
parse_carmen_log
Parses every FLASER and ROBOTLASER1 line of a CARMEN log.