moteus 0.3.79__py3-none-any.whl → 0.3.80__py3-none-any.whl

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
moteus/moteus_tool.py CHANGED
@@ -887,7 +887,7 @@ class Stream:
887
887
  if old_firmware is None else
888
888
  old_firmware.version,
889
889
  elf.firmware_version,
890
- None if old_firmware is None else old_firmware.family
890
+ None if old_firmware is None else getattr(old_firmware, 'family', 0)
891
891
  )
892
892
 
893
893
  if not self.args.bootloader_active and not self.args.no_restore_config:
@@ -1950,7 +1950,7 @@ class Stream:
1950
1950
  if self.firmware.version >= 0x010a:
1951
1951
  await self.command(f"conf set motor.Kv {motor_kv}")
1952
1952
  else:
1953
- if self.firmware.family == 2:
1953
+ if getattr(self.firmware, 'family', 0) == 2:
1954
1954
  # moteus-c1 in older firmwares had additional
1955
1955
  # scaling.
1956
1956
  motor_kv /= 1.38
moteus/version.py CHANGED
@@ -12,4 +12,4 @@
12
12
  # See the License for the specific language governing permissions and
13
13
  # limitations under the License.
14
14
 
15
- VERSION="0.3.79"
15
+ VERSION="0.3.80"
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: moteus
3
- Version: 0.3.79
3
+ Version: 0.3.80
4
4
  Summary: moteus brushless controller library and tools
5
5
  Home-page: https://github.com/mjbots/moteus
6
6
  Author: mjbots Robotic Systems
@@ -6,7 +6,7 @@ moteus/command.py,sha256=UkOsbtkso6Oyex8CfbpAKpBNriik519ymxL86EZGkRs,1169
6
6
  moteus/export.py,sha256=XitBUuf4MDRIneXQSUptizIhZi2BdHyFO2Vo_2d2CFI,1742
7
7
  moteus/fdcanusb.py,sha256=7PrQiCTROY96gdT2zSZYU1bOCriw-I7H6NspaZpiEx4,7431
8
8
  moteus/moteus.py,sha256=vImSRBn6VEmoijD6hvrSRVxuv1_xVaEJU3F_3Wi6GiE,52498
9
- moteus/moteus_tool.py,sha256=WPdz6npbj3g59Gpn0ogxetiYIlf_5Rfo5lDXb1UiO9A,93698
9
+ moteus/moteus_tool.py,sha256=eLMfUkixYio7dLHcF2OY1Xt_MLoa8DF74Z6SVdXLD_Y,93728
10
10
  moteus/multiplex.py,sha256=2tdNX5JSh21TOjN6N9LKribLQtVYyyYbXjzwXB64sfA,12119
11
11
  moteus/posix_aioserial.py,sha256=2oDrw8TBEwuEQjY41g9rHeuFeffcPHqMwNS3nf5NVq8,3137
12
12
  moteus/pythoncan.py,sha256=4CZygTWU0hGx_7Av2kETdmtOa4VDe0Hpt9ZdPDbBKYw,4289
@@ -14,10 +14,10 @@ moteus/reader.py,sha256=9i1-h4aGd4syfqtWJcpg70Bl-bmunkGU4FmXmOLyRt8,12121
14
14
  moteus/regression.py,sha256=M5gjDBYJQ64iBXIrvBhMkD8TYhtlnQ85x8U4py0niGA,1196
15
15
  moteus/router.py,sha256=501W5GZ12rFoc1lmcH3S7IYsoc-Q_-FJ4B3i37RzE3Q,2061
16
16
  moteus/transport.py,sha256=WhkW2G9i25lkOlO55eI5_oXmU0PhDmxTeJ75Sg_7nTI,1021
17
- moteus/version.py,sha256=AVfkc9UMWkwmntsKe2K_NkRkf-7tdDHzWL3H7J_x5Cw,627
17
+ moteus/version.py,sha256=eHPy6QUjfQRDsGhBBEQF1uCzJEi-CJ7dR_sTw8NVxO4,627
18
18
  moteus/win32_aioserial.py,sha256=culdl-vYxBKD5n2s5LkIMGyUaHyCcEc8BL5-DWEaxX8,2025
19
- moteus-0.3.79.dist-info/METADATA,sha256=N6ND_qb-INXmDBQf9TvgXJOgz1ddVLWxucIh8CHMCoA,3441
20
- moteus-0.3.79.dist-info/WHEEL,sha256=oiQVh_5PnQM0E3gPdiz09WCNmwiHDMaGer_elqB3coM,92
21
- moteus-0.3.79.dist-info/entry_points.txt,sha256=accRcwir_K8wCf7i3qHb5R6CPh5SiSgd5a1A92ibb9E,56
22
- moteus-0.3.79.dist-info/top_level.txt,sha256=aZzmI_yecTaDrdSp29pTJuowaSQ9dlIZheQpshGg4YQ,7
23
- moteus-0.3.79.dist-info/RECORD,,
19
+ moteus-0.3.80.dist-info/METADATA,sha256=wphTasyHXLREUKwd11-14HQzKPsQ0IoXJOQ5tYR1GEI,3441
20
+ moteus-0.3.80.dist-info/WHEEL,sha256=oiQVh_5PnQM0E3gPdiz09WCNmwiHDMaGer_elqB3coM,92
21
+ moteus-0.3.80.dist-info/entry_points.txt,sha256=accRcwir_K8wCf7i3qHb5R6CPh5SiSgd5a1A92ibb9E,56
22
+ moteus-0.3.80.dist-info/top_level.txt,sha256=aZzmI_yecTaDrdSp29pTJuowaSQ9dlIZheQpshGg4YQ,7
23
+ moteus-0.3.80.dist-info/RECORD,,