Clean up user inputs for driving
This commit is contained in:
18
index.html
18
index.html
@ -26,21 +26,21 @@
|
||||
<legend>Translation & Rotation</legend>
|
||||
|
||||
<div class="control-group">
|
||||
<label for="vx-slider">Move Forward/Backward (pixels/s)</label>
|
||||
<input type="range" id="vx-slider" min="-300" max="300" step="0.1" value="0">
|
||||
<output id="vx-value">0.0</output>
|
||||
<label for="vx-slider">Strafe Left/Right (pixels/s)</label>
|
||||
<input type="range" id="vx-slider" min="-300" max="300" step="10" value="0">
|
||||
<output id="vx-value">0</output>
|
||||
</div>
|
||||
|
||||
<div class="control-group">
|
||||
<label for="vy-slider">Strafe Left/Right (pixels/s)</label>
|
||||
<input type="range" id="vy-slider" min="-300" max="300" step="0.1" value="0">
|
||||
<output id="vy-value">0.0</output>
|
||||
<label for="vy-slider">Move Forward/Backward (pixels/s)</label>
|
||||
<input type="range" id="vy-slider" min="-300" max="300" step="10" value="0">
|
||||
<output id="vy-value">0</output>
|
||||
</div>
|
||||
|
||||
<div class="control-group">
|
||||
<label for="omega-slider">Rotation (rad/s)</label>
|
||||
<input type="range" id="omega-slider" min="-3" max="3" step="0.1" value="0">
|
||||
<output id="omega-value">0.0</output>
|
||||
<output id="omega-value">0</output>
|
||||
</div>
|
||||
|
||||
<button id="reset-btn" type="button">Reset Controls</button>
|
||||
@ -51,8 +51,8 @@
|
||||
|
||||
<div class="control-group">
|
||||
<label for="max-speed-slider">Max Module Speed (pixels/s)</label>
|
||||
<input type="range" id="max-speed-slider" min="1" max="300" step="0.1" value="4">
|
||||
<output id="max-speed-value">4.0</output>
|
||||
<input type="range" id="max-speed-slider" min="1" max="300" step="10" value="150">
|
||||
<output id="max-speed-value">0</output>
|
||||
</div>
|
||||
</fieldset>
|
||||
</section>
|
||||
|
||||
Reference in New Issue
Block a user