fracture_robot_interface_config.json 1.3 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566
  1. {
  2. "controller_port": 5277,
  3. "variable_list": [
  4. {
  5. "name": "robot_control_mode",
  6. "type": "u64int_obj"
  7. },
  8. {
  9. "name": "robot_is_moving",
  10. "type": "bool_obj"
  11. },
  12. {
  13. "name": "motor_velocity",
  14. "type": "array6_obj"
  15. }
  16. ],
  17. "object_list": [
  18. {
  19. "type": "fracture_robot_interface",
  20. "name": "frac_robot",
  21. "init_config": {
  22. "com_port": "COM4",
  23. "screw": {
  24. "top": {
  25. "origin": [
  26. 0,
  27. 0,
  28. 0
  29. ],
  30. "direction": [
  31. 0,
  32. 1,
  33. 0
  34. ]
  35. },
  36. "side": {
  37. "origin": [
  38. 0,
  39. 0,
  40. 0
  41. ],
  42. "direction": [
  43. 0,
  44. 0,
  45. -1
  46. ]
  47. }
  48. }
  49. },
  50. "start_config": {
  51. "input_config": {
  52. "max_velocity": 5.0,
  53. "controller_gain": 3.0,
  54. "control_mode": "direct",
  55. "current_tcp": "tcp_in_robot_base",
  56. "target_tcp": "target_tcp_in_robot_base",
  57. "target_motor_velocity": "motor_velocity"
  58. },
  59. "output_config": {
  60. "current_control_mode": "robot_control_mode",
  61. "is_moving": "robot_is_moving"
  62. }
  63. }
  64. }
  65. ]
  66. }