Fix a bug about softdog check.

Check every 5 frames but every frame use the check result.
Add the com num setting to the conf file. Need to be added to the GUI.