Skip to content

Commit

Permalink
Adding support for MX-12W
Browse files Browse the repository at this point in the history
  • Loading branch information
pierre-rouanet committed Nov 25, 2014
1 parent 007b236 commit 058791b
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
1 change: 1 addition & 0 deletions pypot/dynamixel/conversion.py
Expand Up @@ -99,6 +99,7 @@ def pid_to_dxl(value, model):
28: 'RX-28', # 28 + (0<<8)
29: 'MX-28', # 29 + (0<<8)
64: 'RX-64', # 64 + (0<<8)
360: 'MX-12', # 104 + (1<<8)
310: 'MX-64', # 54 + (1<<8)
320: 'MX-106', # 64 + (1<<8)
}
Expand Down
2 changes: 1 addition & 1 deletion pypot/dynamixel/io.py
Expand Up @@ -694,7 +694,7 @@ def _add_control(name,

_add_control('pid gain',
address=0x1A, length=1, nb_elem=3,
models=('MX-28', 'MX-64', 'MX-106'),
models=('MX-12', 'MX-28', 'MX-64', 'MX-106'),
dxl_to_si=dxl_to_pid,
si_to_dxl=pid_to_dxl)

Expand Down

0 comments on commit 058791b

Please sign in to comment.