pipecat.device.motion module¶
Data sources that retrieve motion information from portable devices such as smartphones.
-
pipecat.device.motion.
ios
(rate=<Quantity(1, 'second')>)¶ Retrieve motion information from an iOS device.
This component requires the motion module provided by Pythonista.
Parameters: rate (time quantity, required) – Rate at which motion data will be retrieved. Yields: records (dict) – Records will contain information including the current acceleration due to gravity and the user, along with device attitude.