178 lines
6.6 KiB
HTML
178 lines
6.6 KiB
HTML
<!DOCTYPE html>
|
|
<html>
|
|
<head>
|
|
<meta charset="utf-8" />
|
|
<!--
|
|
Link to included files. These are typically done by fetching from the web.
|
|
Because this needs to run without an internet conection, the files were saved
|
|
locally
|
|
-->
|
|
<script type="text/javascript" src="include/js/eventemitter2.min.js"></script>
|
|
|
|
|
|
<!-- Bootstrap is a beatuful and usefull library of GUIs. Docs can be found here: http://getbootstrap.com/
|
|
Tutorials can be found here: http://www.w3schools.com/bootstrap/default.asp
|
|
-->
|
|
<link rel="stylesheet" href="include/css/bootstrap.min.css">
|
|
<script src="include/js/jquery.min.js"></script>
|
|
<script src="include/js/bootstrap.min.js"></script>
|
|
|
|
|
|
<script src="include/js/roslib.js"></script>
|
|
<script type="text/javascript" src="include/js/roslib.min.js"></script>
|
|
|
|
<script type="text/javascript" src="ProjectFiles/js/ros_scripts.js"></script>
|
|
<script type="text/javascript" src="ProjectFiles/js/update_guis.js"></script>
|
|
|
|
|
|
<audio id="audio" src="audio/beep-04.mp3" autostart="false" ></audio>
|
|
|
|
<meta name="viewport" content="width=device-width, initial-scale=1">
|
|
|
|
<!--<script>
|
|
$(function(){
|
|
$("#RobotInfo").load("ProjectFiles/HTML/RobotDisplayPanel.html");});
|
|
</script>
|
|
|
|
<link rel="import" href="ProjectFiles/HTML/RobotDisplayPanel.html"> -->
|
|
|
|
|
|
</head>
|
|
<body>
|
|
<div class="container">
|
|
<div id="jumbotronTitle" class="jumbotron">
|
|
<h1>Example GUI</h1>
|
|
</div>
|
|
|
|
<ul id="tabs" class="nav nav-pills" data-tabs="tabs">
|
|
<li class="active">
|
|
<a href="#RobotInfo" data-toggle="tab">
|
|
Robot Display
|
|
</a>
|
|
</li>
|
|
<li> <a href="#rosbridgeconnection" data-toggle="tab">
|
|
ROS Bridge Connection
|
|
<span id="rosbridgeconnection_badge" class="badge">
|
|
Not Connected
|
|
</span></a></li>
|
|
</ul>
|
|
|
|
<div id="my-tab-content" class="tab-content">
|
|
|
|
<div class="tab-pane active" id="RobotInfo">
|
|
|
|
<link rel="stylesheet" href="../../include/css/bootstrap.min.css">
|
|
<script src="../../include/js/jquery.min.js"></script>
|
|
<script src="../../include/js/bootstrap.min.js"></script>
|
|
|
|
|
|
<!-- ##################################### ROS BAG PANEL ######################################### -->
|
|
<!-- ROS Bag Panel -->
|
|
<div class="panel panel-default">
|
|
|
|
<div class="panel-heading">
|
|
ROS Bag
|
|
</div>
|
|
<div class="panel-body">
|
|
<div class="row">
|
|
<button id="ConnectionButton" type="button" >
|
|
Connect
|
|
</button>
|
|
</div>
|
|
</div>
|
|
|
|
</div>
|
|
|
|
<div class="panel panel-default">
|
|
|
|
<div class="panel-heading">
|
|
Example Pannel Heading
|
|
</div>
|
|
|
|
|
|
<div class="panel-body">
|
|
<div class="row">
|
|
<label class="col-sm-2"> Bar Title </label>
|
|
<div class="progress">
|
|
<div id="progressBar1" class="progress-bar progress-bar-striped active" role="progressbar"
|
|
aria-valuenow="40" aria-valuemin="0" aria-valuemax="100" style="width:100%" >
|
|
No data recieved yet. </div>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
|
|
<div class="row">
|
|
<label class="col-sm-2"> Up Time (s): </label>
|
|
<div class="col-sm-1" id="UpTime">
|
|
N/A
|
|
</div>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
|
|
|
|
<!-- ##################################### END ROS BAG PANEL ######################################### -->
|
|
|
|
|
|
<div class="tab-pane" id="rosbridgeconnection">
|
|
|
|
|
|
<div class="panel panel-default">
|
|
<div class="panel-body">
|
|
<form class="form-inline" role="form" onsubmit="return validateForm()">
|
|
<div id="ConnectionIPForm" class="form-group has-warning" align="center">
|
|
|
|
<label id="ConnectionIPLabel" class="col-sm-3 control-label" for="inputWarning">
|
|
Connection Warning
|
|
</label>
|
|
|
|
<div class="col-sm-6">
|
|
<input type="text" class="form-control" id="ConnectionIPInput" value="No IP Address yet"/>
|
|
</div>
|
|
|
|
<div class="col-sm-2">
|
|
<button id="ConnectionButton" type="button" onclick="ros.attemptConnection()">
|
|
Connect
|
|
</button>
|
|
<script type="text/javascript">
|
|
document.getElementById("ConnectionIPInput").value = ros.connectionName;
|
|
</script>
|
|
</div>
|
|
</div>
|
|
|
|
</form>
|
|
</div>
|
|
</div>
|
|
|
|
<div class="panel panel-default">
|
|
<div class="panel-heading">
|
|
ROS Topics
|
|
</div>
|
|
<div class="panel-body">
|
|
|
|
<div class="col-sm-1" id="ROSTopics">
|
|
N/A
|
|
</div>
|
|
</div>
|
|
</div>
|
|
|
|
<div class="panel panel-default">
|
|
<div class="panel-heading">
|
|
ROS Nodes
|
|
</div>
|
|
<div class="panel-body">
|
|
|
|
<div class="col-sm-1" id="ROSNodes">
|
|
N/A
|
|
</div>
|
|
</div>
|
|
</div>
|
|
|
|
</div>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
|
|
</body>
|
|
</html>
|