FW-186. re-organize adaptive_sync module.
FW-186. fix the calculation of compensation period.
FW-186. remove sync method enum. add some code to make sure the accuracy of adaptive sync.
FW-186. Fix the name of global variable of adaptive_sync.