implemented periodic_gesture detection and publishing. still needs clustering of some sort