# interval_intersection Documentation

### interval_intersection: Compute the intersection of many interval msgs

*
Tools for calculating the intersection of interval messages coming
in on several topics. This package is experimental and unstable.
Expect its APIs to change.
*

**interval_intersection** is a node that listens to streams of time intervals from various sources, and outputs the maximal intervals contained in one interval from each stream.

List of nodes:

interval_intersection is a node that listens to streams of time intervals from various sources, and outputs the maximal intervals contained in one interval from each stream.

$ interval_intersection_node [/interval_topic]...

**Example**

$ interval_intersection_node /camera_stable_intervals /mechanism_stable_intervals

Subscribes to:

**"in"**: [calibration_msgs/Interval] the list of topics provided in argument

Publishes to:

**"out"**: [calibration_msgs/Interval] the maximum intersection intervals