From 17c670f1932371d1b1ba431eb0f331507445023e Mon Sep 17 00:00:00 2001 From: Erik Andresen Date: Sun, 8 Jul 2018 10:31:20 +0200 Subject: [PATCH] www: Add mouse cmd_vel div --- config/cmd_vel_mux.yaml | 4 +++ www/index.html | 61 ++++++++++++++++++++++++++++++++++++++++- 2 files changed, 64 insertions(+), 1 deletion(-) diff --git a/config/cmd_vel_mux.yaml b/config/cmd_vel_mux.yaml index 6ed42cb..7e9f0ba 100644 --- a/config/cmd_vel_mux.yaml +++ b/config/cmd_vel_mux.yaml @@ -9,6 +9,10 @@ subscribers: timeout: 0.5 priority: 1 short_desc: "Navigation stack controller" + - name: "Default Teleop" + topic: "/teleop/cmd_vel" + timeout: 0.1 + priority: 9 - name: "Wii Teleop" topic: "/turtlebot_teleop_joystick/cmd_vel" timeout: 0.1 diff --git a/www/index.html b/www/index.html index a3b7c42..4e6b565 100644 --- a/www/index.html +++ b/www/index.html @@ -12,6 +12,13 @@ .bottom-leds > .minicolors-theme-default.minicolors { margin: 5px 0; } .top-leds > .minicolors-theme-default.minicolors { margin-top: 70px; } .wt-icon {background: url('assets/images/wt_top.png'); background-size: cover; background-size: 100%; background-repeat: no-repeat; background-position: center; height: 260px;} + .cmd_vel_circle { + height: 250px; + width: 250px; + background-color: #bbb; + border-radius: 50%; + display: inline-block; + } Wild Thumper control @@ -187,6 +240,9 @@ +
@@ -320,6 +376,9 @@
+
+
+
-- 2.39.2