|
| 1 | +<?xml version='1.0' encoding='UTF-8'?> |
| 2 | +<pyvcp> |
| 3 | + |
| 4 | + <vbox> |
| 5 | + <relief>"sunken"</relief> |
| 6 | + <bd>3</bd> |
| 7 | + <label> |
| 8 | + <text>"ANGLE JOG"</text> |
| 9 | + <anchor>"w"</anchor> |
| 10 | + </label> |
| 11 | + <label> |
| 12 | + <bg>"black"</bg> |
| 13 | + <fg>"gold"</fg> |
| 14 | + <font>"bold"</font> |
| 15 | + <text>"NOTE:\nDisable required to change\nScale or Angle"</text> |
| 16 | + </label> |
| 17 | + <hbox> |
| 18 | + <checkbutton> |
| 19 | + <halpin>"enable"</halpin> |
| 20 | + <text>""</text> |
| 21 | + <initval>0</initval> |
| 22 | + </checkbutton> |
| 23 | + <label> |
| 24 | + <anchor>"w"</anchor> |
| 25 | + <text>"Enable/Disable"</text> |
| 26 | + </label> |
| 27 | + </hbox> |
| 28 | + |
| 29 | + <hbox> |
| 30 | + <led> |
| 31 | + <halpin>"enabled"</halpin> |
| 32 | + <on_color>"light green"</on_color> |
| 33 | + <off_color>"#d9d9d9"</off_color> |
| 34 | + </led> |
| 35 | + <label> |
| 36 | + <text>" Enabled"</text> |
| 37 | + <anchor>"w"</anchor> |
| 38 | + </label> |
| 39 | + </hbox> |
| 40 | + <hbox> |
| 41 | + <led> |
| 42 | + <halpin>"active"</halpin> |
| 43 | + <on_color>"blue"</on_color> |
| 44 | + <off_color>"#d9d9d9"</off_color> |
| 45 | + </led> |
| 46 | + <label> |
| 47 | + <text>" active"</text> |
| 48 | + <anchor>"w"</anchor> |
| 49 | + </label> |
| 50 | + </hbox> |
| 51 | + <hbox> |
| 52 | + <spinbox> |
| 53 | + <halpin>"max-vel"</halpin> |
| 54 | + <width>10</width> |
| 55 | + <initval>1.0</initval> |
| 56 | + <resolution>.1</resolution> |
| 57 | + <format>"10.1f"</format> |
| 58 | + <font>"bold"</font> |
| 59 | + <param_pin>1</param_pin> |
| 60 | + </spinbox> |
| 61 | + <label> |
| 62 | + <anchor>"w"</anchor> |
| 63 | + <text>"Max vel"</text> |
| 64 | + <font>"bold"</font> |
| 65 | + </label> |
| 66 | + </hbox> |
| 67 | + <hbox> |
| 68 | + <spinbox> |
| 69 | + <halpin>"max-accel"</halpin> |
| 70 | + <width>10</width> |
| 71 | + <initval>10.0</initval> |
| 72 | + <resolution>.1</resolution> |
| 73 | + <format>"10.1f"</format> |
| 74 | + <font>"bold"</font> |
| 75 | + <param_pin>1</param_pin> |
| 76 | + </spinbox> |
| 77 | + <label> |
| 78 | + <anchor>"w"</anchor> |
| 79 | + <text>"Max accel"</text> |
| 80 | + <font>"bold"</font> |
| 81 | + </label> |
| 82 | + </hbox> |
| 83 | + |
| 84 | + <hbox> |
| 85 | + <spinbox> |
| 86 | + <halpin>"accel-fraction"</halpin> |
| 87 | + <width>10</width> |
| 88 | + <initval>1.0</initval> |
| 89 | + <resolution>.1</resolution> |
| 90 | + <format>"10.1f"</format> |
| 91 | + <font>"bold"</font> |
| 92 | + <param_pin>1</param_pin> |
| 93 | + </spinbox> |
| 94 | + <label> |
| 95 | + <anchor>"w"</anchor> |
| 96 | + <text>"Accel fraction"</text> |
| 97 | + <font>"bold"</font> |
| 98 | + </label> |
| 99 | + </hbox> |
| 100 | + |
| 101 | + <hbox> |
| 102 | + <spinbox> |
| 103 | + <halpin>"scale-in"</halpin> |
| 104 | + <width>10</width> |
| 105 | + <initval>0.001</initval> |
| 106 | + <resolution>0.001</resolution> |
| 107 | + <format>"10.4f"</format> |
| 108 | + <font>"bold"</font> |
| 109 | + <max_>0.1</max_> |
| 110 | + <min_>0.0001</min_> |
| 111 | + <param_pin>1</param_pin> |
| 112 | + </spinbox> |
| 113 | + <label> |
| 114 | + <anchor>"w"</anchor> |
| 115 | + <text>"Scale"</text> |
| 116 | + <font>"bold"</font> |
| 117 | + </label> |
| 118 | + </hbox> |
| 119 | + <hbox> |
| 120 | + <number> |
| 121 | + <halpin>"current-scale"</halpin> |
| 122 | + <format>"10.8f"</format> |
| 123 | + <width>"13"</width> |
| 124 | + <bg>"black"</bg> |
| 125 | + <fg>"cyan"</fg> |
| 126 | + </number> |
| 127 | + <label> |
| 128 | + <text>"current-scale"</text> |
| 129 | + <anchor>"w"</anchor> |
| 130 | + </label> |
| 131 | + </hbox> |
| 132 | + <hbox> |
| 133 | + <number> |
| 134 | + <halpin>"current-scale-out"</halpin> |
| 135 | + <format>"10.8f"</format> |
| 136 | + <width>"13"</width> |
| 137 | + <bg>"black"</bg> |
| 138 | + <fg>"cyan"</fg> |
| 139 | + </number> |
| 140 | + <label> |
| 141 | + <text>"current-scale-out"</text> |
| 142 | + <anchor>"w"</anchor> |
| 143 | + </label> |
| 144 | + </hbox> |
| 145 | + <hbox> |
| 146 | + <spinbox> |
| 147 | + <halpin>"angle-degrees"</halpin> |
| 148 | + <min_>-90.0</min_> |
| 149 | + <max_>90.0</max_> |
| 150 | + <width>10</width> |
| 151 | + <initval>30</initval> |
| 152 | + <resolution>5</resolution> |
| 153 | + <format>"10.1f"</format> |
| 154 | + <font>"bold"</font> |
| 155 | + <param_pin>1</param_pin> |
| 156 | + </spinbox> |
| 157 | + <label> |
| 158 | + <anchor>"w"</anchor> |
| 159 | + <text>"Angle"</text> |
| 160 | + <font>"bold"</font> |
| 161 | + </label> |
| 162 | + </hbox> |
| 163 | + <hbox> |
| 164 | + <number> |
| 165 | + <halpin>"current-angle-degrees"</halpin> |
| 166 | + <format>"10.3f"</format> |
| 167 | + <width>"13"</width> |
| 168 | + <bg>"black"</bg> |
| 169 | + <fg>"cyan"</fg> |
| 170 | + </number> |
| 171 | + <label> |
| 172 | + <text>"Current angle"</text> |
| 173 | + <anchor>"w"</anchor> |
| 174 | + </label> |
| 175 | + </hbox> |
| 176 | + <hbox> |
| 177 | + <scale> |
| 178 | + <width>"25"</width> |
| 179 | + <halpin>"mpg"</halpin> |
| 180 | + <param_pin>1</param_pin> |
| 181 | + <resolution>1</resolution> |
| 182 | + <orient>HORIZONTAL</orient> |
| 183 | + <initval>0</initval> |
| 184 | + <min_>-500</min_> |
| 185 | + <max_> 500</max_> |
| 186 | + </scale> |
| 187 | + <label> |
| 188 | + <text>"MPG counts"</text> |
| 189 | + <anchor>"w"</anchor> |
| 190 | + </label> |
| 191 | + </hbox> |
| 192 | + |
| 193 | + <vbox> |
| 194 | + <button> |
| 195 | + <halpin>"mpgreset"</halpin> |
| 196 | + <text>"MPG Reset"</text> |
| 197 | + <bd>4</bd> |
| 198 | + <justify>"center"</justify> |
| 199 | + </button> |
| 200 | + </vbox> |
| 201 | + |
| 202 | +</vbox> |
| 203 | +</pyvcp> |
0 commit comments