Streaming Data From Your iPhone to Foxglove Studio
It’s now easier than ever to try out Foxglove Studio, by streaming real sensor data from an iOS device with the new Foxglove WebSocket Bridge app. Whether you’re testing out Studio for the first time or demonstrating its capabilities to your teammates, this app can get you up and running with little setup.
Much like a typical robot, our smartphones are packed with sensors – like an accelerometer, gyroscope, GPS, and camera. With our iOS app, you can now instantly use a WebSocket connection to stream and visualize multimodal sensor data in Studio.
After downloading the app, use a computer on the same Wi-Fi network as your iOS device to open Foxglove Studio in a Google Chrome browser. Click “Open connection”, then type in the WebSocket URL shown in the iOS app. If you’re having trouble connecting, click the shield icon in the address bar and select “Load Unsafe Scripts” to allow the browser to establish the connection.
To allow the iOS app to access your phone’s sensors, go into the app’s Topics tab to toggle the “GPS” and “Camera” buttons. From here, you can build a layout in the web app with any combination of visualization panels. The video below demonstrates how to visualize camera feed images, 3D pose axes, and CPU and memory usage.
We’re excited to see how the community experiments with the Foxglove WebSocket Bridge app. If you encounter any bugs or have feature requests, you can contact the Foxglove team directly, share feedback in our Slack community, or contribute directly to our
foxglove-ios-bridge GitHub repo with a pull request.
Connect your eCAL systems to Studio to visualize autonomous driving data.
Visualize robot models in the context of a 3D scene.
Get blog posts sent directly to your inbox.