passing sensor input between processes