ur_interface_config.json 3.3 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140
  1. {
  2. "controller_port": 5277,
  3. "variable_list": [
  4. {
  5. "name": "ur_joint_target_q",
  6. "type": "array6_obj"
  7. },
  8. {
  9. "name": "ur_joint_target_qd",
  10. "type": "array6_obj"
  11. },
  12. {
  13. "name": "ur_joint_target_qdd",
  14. "type": "array6_obj"
  15. },
  16. {
  17. "name": "ur_joint_actual_q",
  18. "type": "array6_obj"
  19. },
  20. {
  21. "name": "ur_joint_actual_qd",
  22. "type": "array6_obj"
  23. },
  24. {
  25. "name": "robot_tcp_target_pose",
  26. "type": "transform_obj"
  27. },
  28. {
  29. "name": "robot_tcp_target_speed",
  30. "type": "array6_obj"
  31. },
  32. {
  33. "name": "robot_tcp_actual_pose",
  34. "type": "transform_obj"
  35. },
  36. {
  37. "name": "robot_tcp_actual_speed",
  38. "type": "array6_obj"
  39. },
  40. {
  41. "name": "robot_is_controllable",
  42. "type": "bool_obj"
  43. },
  44. {
  45. "name": "robot_is_moving",
  46. "type": "bool_obj"
  47. },
  48. {
  49. "name": "robot_control_mode",
  50. "type": "u64int_obj"
  51. },
  52. {
  53. "name": "robot_tcp_offset_pose",
  54. "type": "transform_obj"
  55. },
  56. {
  57. "name": "robot_target_tcp_pose",
  58. "type": "transform_obj"
  59. },
  60. {
  61. "name": "robot_target_tcp_speed",
  62. "type": "array6_obj"
  63. },
  64. {
  65. "name": "ur_target_joint_q",
  66. "type": "array6_obj"
  67. },
  68. {
  69. "name": "ur_target_joint_qd",
  70. "type": "array6_obj"
  71. },
  72. {
  73. "name": "robot_tcp_speed_limit",
  74. "type": "double_obj",
  75. "value": 10
  76. },
  77. {
  78. "name": "robot_tcp_acceleration_limit",
  79. "type": "double_obj"
  80. },
  81. {
  82. "name": "ur_joint_speed_limit",
  83. "type": "double_obj"
  84. },
  85. {
  86. "name": "ur_joint_acceleration_limit",
  87. "type": "double_obj"
  88. }
  89. ],
  90. "object_list": [
  91. {
  92. "type": "ur_interface",
  93. "name": "ur",
  94. "init_config": {
  95. "address": "10.0.0.15"
  96. },
  97. "start_config": {
  98. "output_config": {
  99. "report_frequency": 125,
  100. "joint_info": {
  101. "target_q": "ur_joint_target_q",
  102. "target_qd": "ur_joint_target_qd",
  103. "target_qdd": "ur_joint_target_qdd",
  104. "actual_q": "ur_joint_actual_q",
  105. "actual_qd": "ur_joint_actual_qd"
  106. },
  107. "tcp_info": {
  108. "target_pose": "robot_tcp_target_pose",
  109. "target_speed": "robot_tcp_target_speed",
  110. "actual_pose": "robot_tcp_actual_pose",
  111. "actual_speed": "robot_tcp_actual_speed"
  112. },
  113. "is_controllable": "robot_is_controllable",
  114. "is_moving": "robot_is_moving",
  115. "current_control_mode": "robot_control_mode"
  116. },
  117. "input_config": {
  118. "control_mode": "tcp_speed",
  119. "tcp_offset_pose": "robot_tcp_offset_pose",
  120. "target_tcp_pose": "robot_target_tcp_pose",
  121. "target_tcp_speed": "robot_target_tcp_speed",
  122. "target_joint_q": "ur_target_joint_q",
  123. "target_joint_qd": "ur_target_joint_qd",
  124. "tcp_speed_limit": "robot_tcp_speed_limit",
  125. "tcp_acceleration_limit": "robot_tcp_acceleration_limit",
  126. "joint_speed_limit": "ur_joint_speed_limit",
  127. "joint_acceleration_limit": "ur_joint_acceleration_limit"
  128. }
  129. }
  130. },
  131. {
  132. "type": "bool_obj_recorder",
  133. "name": "moving_recorder",
  134. "start_config": {
  135. "variable_name": "robot_is_moving",
  136. "save_file": "is_moving.txt"
  137. }
  138. }
  139. ]
  140. }