Read-only mirror of https://github.com/ethz-asl/kinect_tilt_calibration — ETHZ ASL. Issues & pull requests at the source.
  • C++ 77%
  • CMake 23%
Find a file
Repository files (latest commit first)
Filename Latest commit message Latest commit date
2018-03-17 16:43:53 +01:00
include/kinect_tilt_calibration Initial commit. 2014-12-01 20:49:59 +01:00
launch Add realsense D435 launch file. 2018-03-17 16:43:53 +01:00
src Updated for new versions of ROS and Kindr. 2017-08-30 12:38:56 +02:00
.gitignore Initial commit. 2014-12-01 20:49:59 +01:00
CMakeLists.txt Updated for new versions of ROS and Kindr. 2017-08-30 12:38:56 +02:00
LICENSE Initial commit. 2014-12-01 20:49:59 +01:00
package.xml Updated for new versions of ROS and Kindr. 2017-08-30 12:38:56 +02:00
README.md Initial commit. 2014-12-01 20:49:59 +01:00

Kinect Tilt Calibration

Overview

This is a simple ROS node to calibrate the tilt angles (pitch and roll) of a Kinect-like depth sensor. It works by averaging a plane from the depth data and computing the rotation that aligns this plane with the world horizontal plane.

The Kinect tilt calibration has been tested under ROS Indigo and Ubuntu 14.04. This is research code, expect that it changes often and any fitness for a particular purpose is disclaimed.

Author: Peter Fankhauser, pfankhauser@ethz.ch
Affiliation: Autonomous Systems Lab, ETH Zurich

Installation

Dependencies

This software is built on the Robotic Operating System (ROS), which needs to be installed first. Additionaly, the it depends on following software:

Building

In order to install the Kinect tilt calibration, clone the latest version from this repository into your catkin workspace and compile the package using ROS.

cd catkin_workspace/src
git clone https://github.com/ethz-asl/kinect_tilt_calibration.git
cd ../
catkin_make

Usage

Place your robot on a flat floor in its nominal configuration and make sure that all the Kinect sensor captures is the floor. Copy the launch-file from launch/example.launch and adapt the parameters.

roslaunch kinect_tilt_calibration your_launch_file.launch

Nodes

Node: kinect_tilt_calibration

Subscribed Topics

Published Topics

Parameters

  • topic (string, default: "/camera/depth/points")

    The name of the point cloud messages from the distance sensor.

  • tilting_frame (string, default: "camera_link")

    Reference frame id of the frame for which the rotation should be estimated. This does not have to be the frame in which the point clouds are published. Note: The parent from of the tilting_frame is assumed to be aligned with the world vertical axis.

  • distance_threshold (double, default: 0.01)

    The distance threshold to determine plane segmentation [m].

  • number_of_snapshots (int, default: 10)

    The number of point clouds to average for calibration

Bugs & Feature Requests

Please report bugs and request features using the Issue Tracker.