<commit_before>extends /jade/templates/regular-layout

block prepend head
  title Hubo Live Display | Hubo-js
block append head
  link(rel='stylesheet', href='/lib/jquery-mobile/jquery.mobile-1.3.2.min.css')
  link(rel='stylesheet', type='text/css', href='index.css')
  meta(name='viewport', content='initial-scale=1.0, maximum-scale=1.0, user-scalable=0')

block body
  #content
    #hubo_container
      #load(style='position:absolute')
      // Source: http://openclipart.org/detail/88123/led-red-by-bnielsen
      img#led(style='position:absolute; top:10px; left:10px; display:none',src="led_green_black.png")

    #controls
      p.
        This is a live display of what Hubo the Humanoid Robot is doing in
        the back workshop.
      p.
        If the robot is active, a green indicator (<img src="led_green_black.png"/>) will appear 
        in the top-left corner of the 3D display area.
      p.
        The arrows next to his hands and feet show how much force is 
        being applied to them. Red is more force than green.
      div(style="display: inline-block")
        button#fullscreen-button Fullscreen
      br
      table(style="width:400px")
        tr
          td
            div(data-role='fieldcontain', style="width:100%")
              fieldset(data-role="controlgroup", data-type="horizontal")
                legend Show Angles:
                input#pos(type="radio",name="angle-source",value="pos",checked="checked")
                label(for="pos") Encoder
                input#ref(type="radio",name="angle-source",value="ref")
                label(for="ref") Reference
        tr
          td
            div(data-role='fieldcontain', style="width:100%")
              fieldset(data-role="controlgroup", data-type="horizontal")
                legend Show Current:
                input#off(type="radio",name="current-source",value="off",checked="checked")
                label(for="off") Off
                input#on(type="radio",name="current-source",value="on")
                label(for="on") On                
        //-th
        //-  label(for="fullscreen-toggle") Fullscreen Mode:
        //-td
        //-  select(name="fullscreen-toggle",id="fullscreen-toggle",data-role="slider")
        //-    option(value="off") off
        //-    option(value="on") on
        //- tr
        //-   td
        //-     button#fix-button(title="Restart hubo-ach remote connection") Fix
      div(style="display:none")
        p Adjust the bounds of the red-green color gradient here.
        #ft_hand_limits
          table
            tr 
              th(colspan='4') FT_HAND LIMITS:
            tr
              td m_x min:
              td 
                input.m_x_min(type='number', value='-0.05')
              td m_x max:
              td
                input.m_x_max(type='number', value='0.05')<commit_msg>Renamed 'Show Current' to 'Power Usage' in UI for laypeople.<commit_after>extends /jade/templates/regular-layout

block prepend head
  title Hubo Live Display | Hubo-js
block append head
  link(rel='stylesheet', href='/lib/jquery-mobile/jquery.mobile-1.3.2.min.css')
  link(rel='stylesheet', type='text/css', href='index.css')
  meta(name='viewport', content='initial-scale=1.0, maximum-scale=1.0, user-scalable=0')

block body
  #content
    #hubo_container
      #load(style='position:absolute')
      // Source: http://openclipart.org/detail/88123/led-red-by-bnielsen
      img#led(style='position:absolute; top:10px; left:10px; display:none',src="led_green_black.png")

    #controls
      p.
        This is a live display of what Hubo the Humanoid Robot is doing in
        the back workshop.
      p.
        If the robot is active, a green indicator (<img src="led_green_black.png"/>) will appear 
        in the top-left corner of the 3D display area.
      p.
        The arrows next to his hands and feet show how much force is 
        being applied to them. Red is more force than green.
      div(style="display: inline-block")
        button#fullscreen-button Fullscreen
      br
      table(style="width:400px")
        tr
          td
            div(data-role='fieldcontain', style="width:100%")
              fieldset(data-role="controlgroup", data-type="horizontal")
                legend Show Angles:
                input#pos(type="radio",name="angle-source",value="pos",checked="checked")
                label(for="pos") Encoder
                input#ref(type="radio",name="angle-source",value="ref")
                label(for="ref") Reference
        tr
          td
            div(data-role='fieldcontain', style="width:100%")
              fieldset(data-role="controlgroup", data-type="horizontal")
                legend Power Usage:
                input#off(type="radio",name="current-source",value="off",checked="checked")
                label(for="off") Off
                input#on(type="radio",name="current-source",value="on")
                label(for="on") On                
        //-th
        //-  label(for="fullscreen-toggle") Fullscreen Mode:
        //-td
        //-  select(name="fullscreen-toggle",id="fullscreen-toggle",data-role="slider")
        //-    option(value="off") off
        //-    option(value="on") on
        //- tr
        //-   td
        //-     button#fix-button(title="Restart hubo-ach remote connection") Fix
      div(style="display:none")
        p Adjust the bounds of the red-green color gradient here.
        #ft_hand_limits
          table
            tr 
              th(colspan='4') FT_HAND LIMITS:
            tr
              td m_x min:
              td 
                input.m_x_min(type='number', value='-0.05')
              td m_x max:
              td
                input.m_x_max(type='number', value='0.05')
{'fraction_non_alphanumeric': 0.1328125, 'fraction_numerical': 0.011805555555555555, 'mean_word_length': 2.085698982324585, 'pattern_counts': {'":': 0, '<': 5, '<?xml version=': 0, '>': 5, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '3499447', 'n_tokens_mistral': 1727, 'n_tokens_neox': 1653, 'n_words': 370}