Update planner.h

Include extern variables for hysteresis