Switching between reading from a live Kinect or from a RGBD dataset for debugging

1. Discussion

Due to the difficulty of properly debugging real-time applications, as all those involving robotics sensors, it becomes more convenient to do development offline (on a dataset saved to disk) and, only when it seems all work fine, switch to the real thing.

The following example will show you how to do it in a way that doesn’t affect your program structure: switching will be controlled by a simple bool variable.

Read here about the robotics dataset “rawlog” format and here about recording Kinect datasets.

 

2. The code

See the entire example in: https://raw.github.com/jlblancoc/mrpt/master/samples/kinect_online_offline_demo/

Leave a Reply

Your email address will not be published. Required fields are marked *

*

You may use these HTML tags and attributes: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code class="" title="" data-url=""> <del datetime=""> <em> <i> <q cite=""> <strike> <strong> <pre class="" title="" data-url=""> <span class="" title="" data-url="">

Search C++ API:

 

Share

Latest blog entries

Recent activity

Stats

stats
(more)

web stats