X-Git-Url: https://defiant.homedns.org/gitweb/?p=ros_wild_thumper.git;a=blobdiff_plain;f=www%2Findex.html;h=97428fe915329182ea9e77e270e2c5f7f64e0b60;hp=5a229a790278504a0b9310f78255fe30703823c8;hb=c8ec98bdd30f8e533da331fe48742237ccc230d2;hpb=01848a9a84b296519ca4b4f41906159fd4158213;ds=sidebyside diff --git a/www/index.html b/www/index.html index 5a229a7..97428fe 100644 --- a/www/index.html +++ b/www/index.html @@ -6,295 +6,131 @@ + - - - + + + + + + + + + + + + - $('.led_color').minicolors({ - control: 'wheel', - format: 'rgb', - defaultValue: '#000000', - change: function(value) { - var rgb = $(this).minicolors('rgbObject'); - var num = $(this).prop("name"); - var msg = new ROSLIB.Message({ - leds: [{ - num: parseInt(num), - red: parseInt(rgb.r*127/255), - green: parseInt(rgb.g*127/255), - blue: parseInt(rgb.b*127/255) - }] - }); - ledStripeTopic.publish(msg); - } - }); - } -