Use iPhone as IMU in ROS

Pietro Colombo
3 min readMay 19, 2021
Photo by Jason Leung on Unsplash

For a project, I needed IMU data in ROS but didn’t have any sensors. So I used my iPhone by downloading the SensorLog App and writing a ROS node to receive real-time data and republish it on a topic.

The only thing is that the App I used costs $4.99, but if you find a free one and modify my code write it in the comments.

Pietro Colombo

Robotics and Software engineering