Created
July 26, 2018 14:37
-
-
Save KKostya/d29025a67828dbe11b5fc049f3efc4eb to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
theorem stopping_if_for_all state = | |
let open Sensor_msgs in | |
match state.incoming with None | Some (Clock _ ) -> true | |
| Some ( Sensor data ) -> | |
( data.laserScan_ranges <> [] | |
&& List.for_all (fun x -> x < 20000) data.laserScan_ranges | |
) ==> (one_step state).mode = Turning |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment