Commit 180fec18 authored by JOSSOUD Olivier's avatar JOSSOUD Olivier
Browse files

Encoder. Better detection of end of moveup event. Smooth unblocking events.

parent 0940962c
Pipeline #172384 failed with stage
in 1 minute and 14 seconds
......@@ -144,5 +144,5 @@ def smooth_unblocking_events(unblocking_events_df: pd.DataFrame, arrival_df: pd.
positions.append(event["start_position"] - i * step_mm)
# Reset the positions, during the event
arrival_df.loc[event["start_datetime"]:event["end_datetime"]]["position"] = positions
arrival_df.loc[event["start_datetime"]:event["end_datetime"], "position"] = positions
return arrival_df
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment