Menu

1 / 5

Turning an iPhone into a LiDAR, IMU and GPS Sensor

DEV Community: ios·Harshit Agarwal·9 days ago
#Y65oi9HY
#devtoios#devto#dev#depth#sensor
Long article (3597 words) — no AI summary yet.
Reading 0:00
15s threshold

Originally published at aharshit123456.space .

In my first weeks at SMLab, NISER, in May 2024, before the ROS dashboard, I worked on a side track my notes call "iPhone Drone": use a LiDAR-equipped iPhone as the sensor head for a drone, for 3D mesh generation and SLAM. I wrote two iOS apps. DataSender (the SensorRecorder repo) reads the phone's motion sensors, GPS and LiDAR depth and streams them over TCP to a computer. LidarModel scans a space with ARKit and exports the reconstructed mesh as an OBJ file. This post explains the Apple frameworks involved for readers who have never written iOS code, walks through what each app does, and then audits the streaming code.…

Continue reading — create a free account

Join HashtagPLUS to read full articles, follow hashtags, vote, and join the conversation.