config.yaml 1.6 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788899091
  1. measurement_devices:
  2. - id: device_1
  3. position: [375.5, 898, 107]
  4. slots:
  5. - position: [10, 0, 0]
  6. occupied: False
  7. slot_id: 0
  8. - position: [31, 0, 0]
  9. occupied: False
  10. slot_id: 1
  11. - position: [52, 0, 0]
  12. occupied: False
  13. slot_id: 2
  14. - position: [75, 0, 0]
  15. occupied: False
  16. slot_id: 3
  17. - position: [98, 0, 0]
  18. occupied: False
  19. slot_id: 4
  20. - position: [120, 0, 0]
  21. occupied: False
  22. slot_id: 5
  23. - position: [142, 0, 0]
  24. occupied: False
  25. slot_id: 6
  26. - position: [165, 0, 0]
  27. occupied: False
  28. slot_id: 7
  29. feeder:
  30. position: [27.5, 621.5, 47.5]
  31. min_voltage: 2.0
  32. dropoff_grades:
  33. - id: accepted
  34. position: [167.5, 630, 40]
  35. capacity_threshold: 0.8
  36. - id: rejected
  37. position: [167.5, 630, 40]
  38. capacity_threshold: 0
  39. mqtt:
  40. broker: localhost # or debug
  41. port: 1883
  42. username: robot
  43. password: robot
  44. keepalive: 60
  45. grbl:
  46. port: /dev/ttyUSB0 # or debug
  47. # port: debug
  48. baudrate: 115200
  49. vision:
  50. camera_id: 0
  51. resolution: [640, 480]
  52. frame_rate: 30
  53. exposure: 0.1
  54. gain: 1.0
  55. bbox: [100, 100, 200, 200] # (x, y, width, height)
  56. vacuum:
  57. min_pressure_bar: 0.13
  58. max_pressure_bar: 0.6
  59. max_pump_time_s: 20
  60. gripping_threshold_bar: 0.6
  61. pump_watchdog_timeout_s: 30
  62. gpio:
  63. debug: false
  64. pump_pin: 17
  65. valve_pin: 27
  66. probe_pin: 22
  67. measure_dir_pin: 11
  68. measure_step_pin: 9
  69. measure_en_pin: 10
  70. i2c:
  71. debug: false
  72. movement:
  73. speed: 400.0
  74. acceleration: 20.0
  75. safe_height: 0.0
  76. logging:
  77. level: INFO
  78. file_path: logs/robot.log
  79. max_file_size_mb: 1
  80. backup_count: 3
  81. console_output: true