Skip to content

Commit

Permalink
Update utility.h
Browse files Browse the repository at this point in the history
  • Loading branch information
ravijo authored Apr 25, 2018
1 parent 9f2900e commit 8bafb49
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions include/multiple_kinect_baxter_calibration/utility.h
Original file line number Diff line number Diff line change
Expand Up @@ -30,6 +30,8 @@
// preprocessor returns true if number is inside given limit
#define between(num, min, max) (num > min && num < max)

// source: http://www.dbase.com/help/Preprocessor/IDH_PREPROC_DEFINE.htm
#define mid(x,y) (((x)+(y))/2)

namespace utility {
// convert RGB pixel to HSV Pixel
Expand Down

0 comments on commit 8bafb49

Please sign in to comment.