Skip to content
Snippets Groups Projects
Commit 326ef196 authored by Coda Phillips's avatar Coda Phillips
Browse files

Output float from scene_checks

parent 7803bb4c
No related branches found
No related tags found
No related merge requests found
......@@ -23,7 +23,7 @@ def safing_check(frame, parameters):
return frame
hatch_closing = ((frame.hatchOpen == 1) & ((frame.hatchOpen == -3).diff(-1) == 1)).shift(1)
frame['safing_check'] = hatch_closing & frame.sceneMirrorPosition.isin([ord('H'), ord('A')])
frame['safing_check'] = (hatch_closing & frame.sceneMirrorPosition.isin([ord('H'), ord('A')])) * 1
frame = invalidate_records(frame, 'safing_check')
return frame
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment