|
| 1 | +<?xml version="1.0" encoding="UTF-8"?> |
| 2 | +<ui version="4.0"> |
| 3 | + <class>Form</class> |
| 4 | + <widget class="QWidget" name="Form"> |
| 5 | + <property name="geometry"> |
| 6 | + <rect> |
| 7 | + <x>0</x> |
| 8 | + <y>0</y> |
| 9 | + <width>689</width> |
| 10 | + <height>536</height> |
| 11 | + </rect> |
| 12 | + </property> |
| 13 | + <property name="windowTitle"> |
| 14 | + <string>Form</string> |
| 15 | + </property> |
| 16 | + <layout class="QGridLayout" name="gridLayout"> |
| 17 | + <item row="0" column="1"> |
| 18 | + <widget class="QGroupBox" name="groupBox_2"> |
| 19 | + <property name="sizePolicy"> |
| 20 | + <sizepolicy hsizetype="Preferred" vsizetype="Preferred"> |
| 21 | + <horstretch>2</horstretch> |
| 22 | + <verstretch>0</verstretch> |
| 23 | + </sizepolicy> |
| 24 | + </property> |
| 25 | + <property name="title"> |
| 26 | + <string>Info</string> |
| 27 | + </property> |
| 28 | + <layout class="QGridLayout" name="gridLayout_2"> |
| 29 | + <item row="1" column="0"> |
| 30 | + <widget class="QLabel" name="label_4"> |
| 31 | + <property name="text"> |
| 32 | + <string>Model:</string> |
| 33 | + </property> |
| 34 | + </widget> |
| 35 | + </item> |
| 36 | + <item row="0" column="0"> |
| 37 | + <widget class="QLabel" name="label_6"> |
| 38 | + <property name="text"> |
| 39 | + <string>Voltage:</string> |
| 40 | + </property> |
| 41 | + </widget> |
| 42 | + </item> |
| 43 | + <item row="1" column="1"> |
| 44 | + <widget class="QLabel" name="label_model"> |
| 45 | + <property name="frameShape"> |
| 46 | + <enum>QFrame::StyledPanel</enum> |
| 47 | + </property> |
| 48 | + <property name="text"> |
| 49 | + <string/> |
| 50 | + </property> |
| 51 | + </widget> |
| 52 | + </item> |
| 53 | + <item row="0" column="1"> |
| 54 | + <widget class="QLabel" name="label_voltage"> |
| 55 | + <property name="frameShape"> |
| 56 | + <enum>QFrame::StyledPanel</enum> |
| 57 | + </property> |
| 58 | + <property name="text"> |
| 59 | + <string>Not available</string> |
| 60 | + </property> |
| 61 | + </widget> |
| 62 | + </item> |
| 63 | + <item row="2" column="0"> |
| 64 | + <widget class="QLabel" name="label_7"> |
| 65 | + <property name="text"> |
| 66 | + <string>Errors:</string> |
| 67 | + </property> |
| 68 | + <property name="alignment"> |
| 69 | + <set>Qt::AlignLeading|Qt::AlignLeft|Qt::AlignTop</set> |
| 70 | + </property> |
| 71 | + </widget> |
| 72 | + </item> |
| 73 | + <item row="2" column="1"> |
| 74 | + <widget class="QLabel" name="label_errornames"> |
| 75 | + <property name="frameShape"> |
| 76 | + <enum>QFrame::StyledPanel</enum> |
| 77 | + </property> |
| 78 | + <property name="text"> |
| 79 | + <string>None</string> |
| 80 | + </property> |
| 81 | + <property name="alignment"> |
| 82 | + <set>Qt::AlignBottom|Qt::AlignLeading|Qt::AlignLeft</set> |
| 83 | + </property> |
| 84 | + </widget> |
| 85 | + </item> |
| 86 | + </layout> |
| 87 | + </widget> |
| 88 | + </item> |
| 89 | + <item row="4" column="0" colspan="2"> |
| 90 | + <widget class="QGroupBox" name="groupBox_3"> |
| 91 | + <property name="sizePolicy"> |
| 92 | + <sizepolicy hsizetype="Preferred" vsizetype="Preferred"> |
| 93 | + <horstretch>2</horstretch> |
| 94 | + <verstretch>1</verstretch> |
| 95 | + </sizepolicy> |
| 96 | + </property> |
| 97 | + <property name="title"> |
| 98 | + <string>Help</string> |
| 99 | + </property> |
| 100 | + <layout class="QVBoxLayout" name="verticalLayout"> |
| 101 | + <item> |
| 102 | + <widget class="QTextBrowser" name="textBrowser"> |
| 103 | + <property name="html"> |
| 104 | + <string><!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0//EN" "http://www.w3.org/TR/REC-html40/strict.dtd"> |
| 105 | +<html><head><meta name="qrichtext" content="1" /><style type="text/css"> |
| 106 | +p, li { white-space: pre-wrap; } |
| 107 | +</style></head><body style=" font-family:'MS Shell Dlg 2'; font-size:8.25pt; font-weight:400; font-style:normal;"> |
| 108 | +<p style=" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;">This controls a MyActuator RMD motor via CAN bus.</p> |
| 109 | +<p style=" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;">It is recommended to use not more than 250Hz FFB update rates due to the slow packet rates of the motor driver.</p> |
| 110 | +<p style="-qt-paragraph-type:empty; margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;"><br /></p> |
| 111 | +<p style=" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;"><span style=" text-decoration: underline;">Setup:</span></p> |
| 112 | +<p style=" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;">Enable fault status sending and set the CAN id and CAN rate in the motor.</p> |
| 113 | +<p style=" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;">1M baud is recommended.</p> |
| 114 | +<p style="-qt-paragraph-type:empty; margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;"><br /></p> |
| 115 | +<p style=" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;"><span style=" text-decoration: underline;">Active requests &amp; Interpolation:</span></p> |
| 116 | +<p style=" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;">The motor can either send positions at a fixed 10ms interval (active requests off) or the FFBoard can actively request positions and use the low resolution torque reply status for interpolation.</p> |
| 117 | +<p style="-qt-paragraph-type:empty; margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;"><br /></p> |
| 118 | +<p style=" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;"><span style=" text-decoration: underline;">Active requests off (high resolution)</span>:</p> |
| 119 | +<p style=" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;">The motor sends the position every 10ms using the active reply function. </p> |
| 120 | +<p style=" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;">Reduces the overhead and jitter.<br />Recommended for multi motor systems and shared CAN bus.</p> |
| 121 | +<p style=" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;">Status info is not available. Active reply mode disables all replies.</p> |
| 122 | +<p style="-qt-paragraph-type:empty; margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;"><br /></p> |
| 123 | +<p style=" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;"><span style=" text-decoration: underline;">Active requests on (low resolution)</span>:</p> |
| 124 | +<p style=" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;">FFBoard actively requests positions and uses low resolution 1° torque status replies for interpolation. Status info is available.</p> |
| 125 | +<p style=" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;">May cause jitter in time and position, significant bus traffic.</p> |
| 126 | +<p style="-qt-paragraph-type:empty; margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;"><br /></p> |
| 127 | +<p style=" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;"><span style=" text-decoration: underline;">Torque:</span></p> |
| 128 | +<p style=" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;">Enter the maximum current of the motor to scale the available range.</p> |
| 129 | +<p style="-qt-paragraph-type:empty; margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;"><br /></p> |
| 130 | +<p style=" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;"><span style=" text-decoration: underline;">CAN speeds:</span></p> |
| 131 | +<p style=" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;">1Mbit/s is recommended and must match the setting in the motor.</p></body></html></string> |
| 132 | + </property> |
| 133 | + </widget> |
| 134 | + </item> |
| 135 | + </layout> |
| 136 | + </widget> |
| 137 | + </item> |
| 138 | + <item row="2" column="1"> |
| 139 | + <spacer name="verticalSpacer"> |
| 140 | + <property name="orientation"> |
| 141 | + <enum>Qt::Vertical</enum> |
| 142 | + </property> |
| 143 | + <property name="sizeHint" stdset="0"> |
| 144 | + <size> |
| 145 | + <width>0</width> |
| 146 | + <height>0</height> |
| 147 | + </size> |
| 148 | + </property> |
| 149 | + </spacer> |
| 150 | + </item> |
| 151 | + <item row="1" column="1"> |
| 152 | + <spacer name="verticalSpacer_2"> |
| 153 | + <property name="orientation"> |
| 154 | + <enum>Qt::Vertical</enum> |
| 155 | + </property> |
| 156 | + <property name="sizeHint" stdset="0"> |
| 157 | + <size> |
| 158 | + <width>0</width> |
| 159 | + <height>0</height> |
| 160 | + </size> |
| 161 | + </property> |
| 162 | + </spacer> |
| 163 | + </item> |
| 164 | + <item row="0" column="0" rowspan="2"> |
| 165 | + <widget class="QGroupBox" name="groupBox"> |
| 166 | + <property name="sizePolicy"> |
| 167 | + <sizepolicy hsizetype="Preferred" vsizetype="Minimum"> |
| 168 | + <horstretch>0</horstretch> |
| 169 | + <verstretch>0</verstretch> |
| 170 | + </sizepolicy> |
| 171 | + </property> |
| 172 | + <property name="title"> |
| 173 | + <string>Settings</string> |
| 174 | + </property> |
| 175 | + <layout class="QFormLayout" name="formLayout"> |
| 176 | + <item row="0" column="0"> |
| 177 | + <widget class="QLabel" name="label_2"> |
| 178 | + <property name="text"> |
| 179 | + <string>CAN speed</string> |
| 180 | + </property> |
| 181 | + </widget> |
| 182 | + </item> |
| 183 | + <item row="1" column="0"> |
| 184 | + <widget class="QLabel" name="label"> |
| 185 | + <property name="text"> |
| 186 | + <string>Max torque range</string> |
| 187 | + </property> |
| 188 | + </widget> |
| 189 | + </item> |
| 190 | + <item row="1" column="1"> |
| 191 | + <widget class="QDoubleSpinBox" name="doubleSpinBox_torque"> |
| 192 | + <property name="suffix"> |
| 193 | + <string>A</string> |
| 194 | + </property> |
| 195 | + <property name="maximum"> |
| 196 | + <double>300.000000000000000</double> |
| 197 | + </property> |
| 198 | + <property name="singleStep"> |
| 199 | + <double>0.010000000000000</double> |
| 200 | + </property> |
| 201 | + </widget> |
| 202 | + </item> |
| 203 | + <item row="3" column="0"> |
| 204 | + <widget class="QPushButton" name="pushButton_apply"> |
| 205 | + <property name="text"> |
| 206 | + <string>Submit</string> |
| 207 | + </property> |
| 208 | + </widget> |
| 209 | + </item> |
| 210 | + <item row="2" column="0"> |
| 211 | + <widget class="QLabel" name="label_5"> |
| 212 | + <property name="text"> |
| 213 | + <string>CAN ID</string> |
| 214 | + </property> |
| 215 | + </widget> |
| 216 | + </item> |
| 217 | + <item row="2" column="1"> |
| 218 | + <widget class="QSpinBox" name="spinBox_id"> |
| 219 | + <property name="prefix"> |
| 220 | + <string>0x140+</string> |
| 221 | + </property> |
| 222 | + <property name="minimum"> |
| 223 | + <number>1</number> |
| 224 | + </property> |
| 225 | + <property name="maximum"> |
| 226 | + <number>32</number> |
| 227 | + </property> |
| 228 | + <property name="singleStep"> |
| 229 | + <number>1</number> |
| 230 | + </property> |
| 231 | + </widget> |
| 232 | + </item> |
| 233 | + <item row="0" column="1"> |
| 234 | + <widget class="QPushButton" name="pushButton_cansettings"> |
| 235 | + <property name="text"> |
| 236 | + <string>Change CAN settings</string> |
| 237 | + </property> |
| 238 | + </widget> |
| 239 | + </item> |
| 240 | + <item row="3" column="1"> |
| 241 | + <widget class="QCheckBox" name="checkBox_activerequests"> |
| 242 | + <property name="toolTip"> |
| 243 | + <string>Stores and reloads absolute encoder offset at startup for centering</string> |
| 244 | + </property> |
| 245 | + <property name="text"> |
| 246 | + <string>Active requests/High speed position mode</string> |
| 247 | + </property> |
| 248 | + </widget> |
| 249 | + </item> |
| 250 | + </layout> |
| 251 | + </widget> |
| 252 | + </item> |
| 253 | + </layout> |
| 254 | + </widget> |
| 255 | + <resources/> |
| 256 | + <connections/> |
| 257 | +</ui> |
0 commit comments