Tool for polar aligning a star tracker with a phone.
- Open the app in the browser on your iOS device.
- Tap the Share icon (the square with an arrow pointing out of it) at the bottom of the screen.
- Scroll down to the list of actions and tap Add to Home Screen.
- Attach your device to a star tracker
- Move the half ball to move the lines to the center of the circles. When the center circle turns green, the top is level.
- Replace the device mount with e.g. a ball head or with a camera.
- Snap some photos (optional).
In order to access the accelerometer on the iOS device the page needs to be served over a secure connection (https). One way of achieving this is to:
- Install ngrok and http-server with e.g.
brew install ngrok
andnpm i -g http-server
- Setup ngrok (you can get (better) instructions by running
npm start
):- Register for a ngrok account
- Generate an authtoken
- Save the authtoken to your local config
./ngrok authtoken YOUR_AUTHTOKEN_HERE
- Start the server with
npm start
- Open
https://NGROK_PUBLIC_URL/tripod-level/
(NGROK_PUBLIC_URL
being in the formhttps://0000-00-000-00-00.ngrok.io
) in a browser