Skip to content

Instantly share code, notes, and snippets.

@KKostya
Last active July 26, 2018 14:34
Show Gist options
  • Save KKostya/c43732a66b401402f548ce3ec1cde45f to your computer and use it in GitHub Desktop.
Save KKostya/c43732a66b401402f548ce3ec1cde45f to your computer and use it in GitHub Desktop.
verify ( fun state ->
let open Sensor_msgs in
match state.incoming with None | Some (Clock _ ) -> true
| Some ( Sensor data ) ->
( 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