adding servos tab
parent
0497924b9c
commit
711a052f04
|
@ -65,6 +65,8 @@ $(document).ready(function() {
|
|||
$('#content').load("./tabs/receiver.html", tab_initialize_receiver);
|
||||
} else if ($(this).parent().hasClass('tab_auxiliary_configuration')) {
|
||||
$('#content').load("./tabs/auxiliary_configuration.html", tab_initialize_auxiliary_configuration);
|
||||
} else if ($(this).parent().hasClass('tab_servos')) {
|
||||
$('#content').load("./tabs/servos.html", tab_initialize_servos);
|
||||
} else if ($(this).parent().hasClass('tab_gps')) {
|
||||
$('#content').load("./tabs/gps.html", tab_initialize_gps);
|
||||
} else if ($(this).parent().hasClass('tab_motor_outputs')) {
|
||||
|
|
|
@ -21,6 +21,7 @@
|
|||
<script type="text/javascript" src="./tabs/pid_tuning.js"></script>
|
||||
<script type="text/javascript" src="./tabs/receiver.js"></script>
|
||||
<script type="text/javascript" src="./tabs/auxiliary_configuration.js"></script>
|
||||
<script type="text/javascript" src="./tabs/servos.js"></script>
|
||||
<script type="text/javascript" src="./tabs/gps.js"></script>
|
||||
<script type="text/javascript" src="./tabs/motor_outputs.js"></script>
|
||||
<script type="text/javascript" src="./tabs/sensors.js"></script>
|
||||
|
@ -89,6 +90,7 @@
|
|||
<li class="tab_pid_tuning"><a href="#">PID Tuning</a></li>
|
||||
<li class="tab_receiver"><a href="#">Receiver</a></li>
|
||||
<li class="tab_auxiliary_configuration"><a href="#">Auxiliary Configuration</a></li>
|
||||
<li class="tab_servos"><a href="#">Servos</a></li>
|
||||
<li class="tab_gps"><a href="#">GPS</a></li>
|
||||
<li class="tab_motor_outputs"><a href="#">Motor/Servo Outputs</a></li>
|
||||
<li class="tab_sensors"><a href="#">Raw Sensor Data</a></li>
|
||||
|
|
|
@ -0,0 +1,3 @@
|
|||
<div class="tab-servos">
|
||||
servos
|
||||
</div>
|
|
@ -0,0 +1,6 @@
|
|||
function tab_initialize_servos() {
|
||||
ga_tracker.sendAppView('Servos');
|
||||
|
||||
// request current Servo Config
|
||||
send_message(MSP_codes.MSP_SERVO_CONF, MSP_codes.MSP_SERVO_CONF);
|
||||
}
|
Loading…
Reference in New Issue