X-Git-Url: https://defiant.homedns.org/gitweb/?p=ros_wild_thumper.git;a=blobdiff_plain;f=www%2Findex.html;h=253c35d4cef259fa2440a2eabeb3d57d16187898;hp=4e6b5650bc3225ea157c69a65d88365f7f2cce3e;hb=38fd577a1efa5248a91105c1a907cb0f364a6dfa;hpb=17c670f1932371d1b1ba431eb0f331507445023e diff --git a/www/index.html b/www/index.html index 4e6b565..253c35d 100644 --- a/www/index.html +++ b/www/index.html @@ -6,226 +6,30 @@ + - - - + + + + + + + + + + + + - $('.cmd_vel_circle') - .bind('mousedown touchstart', function(e) { - isDragging = true; - }) - .bind('mouseup touchend mouseleave', function(e) { - isDragging = false; - setSpeed(0, 0); - }) - .bind('mousemove touchmove', function(e) { - if (isDragging) { - // absolute click position - var X,Y; - if (e.originalEvent.touches) { - X = e.originalEvent.touches[0].pageX; - Y = e.originalEvent.touches[0].pageY; - } else { - X = e.pageX; - Y = e.pageY; - } - // relative click position - var Xrel = X - this.offsetLeft - $(this).width()/2; - var Yrel = Y - this.offsetTop - $(this).height()/2; - // scale to -1..+1 - var trans = -Yrel / ($(this).height()/2); - var rot = -Xrel / ($(this).width()/2); - setSpeed(trans, rot*3); - } - }); - } - Wild Thumper control
+
+ {{alert.message}} +
+

Power

- -
- -
- V -
-
- -
- -
- A -
-
+ +

Sensors

- -
- -
- lx -
-
- -
- -
- -
-
- -
- -
- % -
-
- -
- -
- kPa -
-
- - + + + + +
- - - - +
- - +
- - - - +
- - +
- - - - +
-
- -
- -
-
-
- -
- -
-
-
- -
- -
-
-
- -
- -
-
-
- -
- -
-
+ + + + +
-
+
+
+
+
+
+ + +
+
+
+
+
- - - - - - - - - - - + +