{"shas":[["6165e22dbf31adfa1bb311f0f0442e2ea9a6a87e","8c14cb85721e192e9f053819819534315b04bf67@borgette.gateway.2wire.net","Fixed simulator bug where set_create_angle_... and set_create_distance did not first clean out the accumulated values stored in the Create simulator.  The actual libraries on the CBC already had the fix for this for the angle functions, but this same problem occurred on the real create with respect to distance.  The problem manifested itself when the Create has traveled (and in the case of the simulator, turned) a significant amount since the Create was last polled for its distance (or angle).  The set function reset the global state as it should, but did not empty the values stored in the encoders which were then added into the global state the next time distance or angle were pulled.  This commit fixes that problem in the simulator and an update to the CBC files is being submitted to correct the same problem on the physical Create.  This commit also keeps any Create function from moving or getting data from Create unless the create has been connected (previously, doing a create_connect or not had limited effect on the rest of the program; now the simulator behaves more like the real thing.","David Miller"]],"repo":"kipr/kiss","actor":"dpmiller","ref":"refs/heads/master","size":1,"head":"6165e22dbf31adfa1bb311f0f0442e2ea9a6a87e","actor_gravatar":"2ed6f4cc9fc52c0450c9f48c3ea24f0c","push_id":23246099}