GitXplorerGitXplorer
H

alti

public
3 stars
0 forks
2 issues

Commits

List of commits on branch gh-pages.
Unverified
5ab4287c9dad8ad541bb1493822ea0eb562a7d8e

wrong position no select in button

HHaroenv committed 8 years ago
Unverified
a99816dcbd793b400c5d728ab6bf3e24cf8635c1

typo fixing

HHaroenv committed 8 years ago
Unverified
64ff885f775b54dc4abcfdcf66e2a918be11da4e

style and script tidying

HHaroenv committed 8 years ago
Unverified
4ab0c696d806f8ea516c78bb8e4c5b298aaa740c

pattern in input

HHaroenv committed 8 years ago
Unverified
8a6d19be6e9fb0c7f693e8b233152187d5345c23

different styling for inputs and buttons

HHaroenv committed 8 years ago
Unverified
d2d0a8a8c3d28b1053456bbf2635e98fadc78522

use jekyll to include files and minify the output

HHaroenv committed 9 years ago

README

The README file for this repository.

Alti

A manual altimeter for use with i.e. water bottle or micro rockets. It asks the user for the distance between the launch point and the observation point. It uses the phone's gyroscope to give an angle. Using basic trigonometry, the height of the rocket can be calculated.

height = tan(angle) * distance

Is the basic formula used for guessing the height the rocket went.

Live version

other included

There's also a simple CLI that will make the building of a manual altimeter easier. It's called Height, and you execute it by (after installing the JDK) executing javac Height.java; java Height. This will output something like this:

angle (°) height at 50.0m (m) distance for 10.0m (m)
5.0 4.0 114.0
10.0 8.0 56.0
15.0 13.0 37.0
20.0 18.0 27.0
25.0 23.0 21.0
30.0 28.0 17.0
35.0 35.0 14.0
40.0 41.0 11.0
45.0 50.0 10.0
50.0 59.0 8.0
55.0 71.0 7.0
60.0 86.0 5.0
65.0 107.0 4.0
70.0 137.0 3.0
75.0 186.0 2.0
80.0 283.0 1.0
85.0 571.0 0.0

The column is the angle, second the height at that angle at 50m distance, the third is the distance you need for that angle to be 10m

A way to make the output more readable is to save the output in a markdown file and processing or previewing it.

java Height > output.md

License

Creative Commons Licence

Alti is licensed under a Creative Commons Attribution 4.0 International License. No warranty whatsoever.