Refine FlowActorSensor.cpp