old_schunk_mapping.py
Go to the documentation of this file.
00001 #!/usr/bin/env python3
00002 
00003 PDOs={
00004 "RPDO1": [1, ('6040',     "control_word",                 2), ('6042',     "target_velocity",              2), ('60C1sub1', "target_interpolated_velocity", 4)],
00005 "RPDO2": [1, ('607A',     "target_position",              4), ('6081',     "profile_velocity",             4)],
00006 
00007 "TPDO1": [1, ('6041',     "status_word",                  2), ('6061',     "op_mode_display",              1)],
00008 "TPDO3": [1, ('6064',     "actual_position",              4), ('606C',     "actual_velocity",              4)],
00009 }
00010 
00011 if __name__ == "__main__":
00012     import pdo, sys
00013 
00014     fname = sys.argv[1]
00015     pdo.patch_all(fname, fname, PDOs)


canopen_test_utils
Author(s): Mathias Lüdtke
autogenerated on Fri Feb 12 2016 02:43:15