-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.html
58 lines (58 loc) · 3.5 KB
/
index.html
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
<html>
<head>
<script src="https://ajax.googleapis.com/ajax/libs/jquery/3.3.1/jquery.min.js"></script>
<link rel="stylesheet" href="https://maxcdn.bootstrapcdn.com/bootstrap/4.0.0-beta.3/css/bootstrap.min.css" integrity="sha384-Zug+QiDoJOrZ5t4lssLdxGhVrurbmBWopoEl+M6BdEfwnCJZtKxi1KgxUyJq13dy" crossorigin="anonymous">
<link rel="stylesheet" href="js/style.css">
<script type="text/javascript" src="https://www.gstatic.com/charts/loader.js"></script>
<script src="js/RotorPirates.js"></script>
</head>
<body>
<!-- <img class="logo" src="js/cf_logo_white.svg">-->
<div id="curve_chart" style="width: 900px; height: 500px; margin-top:-70px"></div>
<div class="rateBox">
<span class="block-title">BetaFlight Rates</span>
<div>
<span class="input-title">RC Rate:</span>
<span class="input-title">Super Rate:</span>
<span class="input-title">RC Expo:</span>
</div>
<div>
<input type="number" id="bfRate" step="0.01" min="0.00" max="3.00" value="1.00" placeholder='0.00' class="input-field"/>
<input type="number" id="bfSuper" step="0.01" min="0.00" max="1.00" value="0.70" placeholder='0.00' class="input-field"/>
<input type="number" id="bfExpo" step="0.01" min="0.00" max="1.00" value="0.00" placeholder='0.00' class="input-field"/>
</div>
<div>
<input type="range" id="bfRateSlider" class="slider" step="0.01" min="0.00" max="3.00" value="1.00" placeholder='0.00'/>
<input type="range" id="bfSuperSlider" class="slider" step="0.01" min="0.00" max="1.00" value="0.70" placeholder='0.00'/>
<input type="range" id="bfExpoSlider" class="slider" step="0.01" min="0.00" max="1.00" value="0.00" placeholder='0.00'/>
</div>
</div>
<div class="rateBox">
<span class="block-title">Actual Rates</span>
<br>divide Center and Max by 1000
<div>
<span class="input-title">Center Sensitivity</span>
<span class="input-title">Max Rate:</span>
<span class="input-title">Expo:</span>
</div>
<div>
<span class="input-title-a">(RC Rate)</span>
<span class="input-title-a">(Super Rate)</span>
<span class="input-title-a">(RC Expo)</span>
</div>
<div>
<input type="number" id="aRate" step="0.01" min="0.00" max="3.00" value="0.2" placeholder='0.00' class="input-field"/>
<input type="number" id="aSuper" step="0.01" min="0.00" max="1.00" value="0.67" placeholder='0.00' class="input-field"/>
<input type="number" id="aExpo" step="0.01" min="0.00" max="1.00" value="0.54" placeholder='0.00' class="input-field"/>
</div>
<div>
<input type="range" id="aRateSlider" class="slider" step="0.01" min="0.00" max="3.00" value="0.2" placeholder='0.00'/>
<input type="range" id="aSuperSlider" class="slider" step="0.01" min="0.00" max="1.00" value="0.67" placeholder='0.00'/>
<input type="range" id="aExpoSlider" class="slider" step="0.01" min="0.00" max="1.00" value="0.54" placeholder='0.00'/>
</div>
</div>
<div class="footer">
See original code on <a href="https://github.com/Huozzzy/Huozzzy.github.io">GitHub</a>
</div>
</body>
</html>