So I am starting to learn robotics and how to work with sensors. As one of my first lines of effort, I am attempting to learn about calibrating Inertial Measurement Units (IMUs) and working with their data. To do so, I want to collect some data from the IMU on my iPhone. After some research, I found an app called "IMU Utility" which can collect this data and stream it over a network. When I start the stream and select CSV as the data format, I am presented with an IP address and a UDP port number (let's say IP: 555.555.5.555, port: 32000, these are fake just used for illustration).
I want to collect this data on my computer and aggregate it into a single CSV file that I can play around with later for educational purposes. How would I go about doing this? I would like to do so in python however, this is not strictly necessary if there is a better language/toolkit for the task.
Note: The app can also stream the data in JSON and Protobuf format.
I'm grateful for any advice or help!
source https://stackoverflow.com/questions/74213776/record-csv-data-being-streamed-over-a-udp-port-from-a-smart-phone-in-python
Comments
Post a Comment