config.yaml 1.6 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586
  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. dropoff_grades:
  32. - id: accepted
  33. position: [167.5, 630, 40]
  34. capacity_threshold: 0.8
  35. - id: rejected
  36. position: [167.5, 630, 40]
  37. capacity_threshold: 0
  38. mqtt:
  39. broker: localhost # or debug
  40. port: 1883
  41. username: robot
  42. password: robot
  43. keepalive: 60
  44. grbl:
  45. port: /dev/ttyUSB0 # or debug
  46. # port: debug
  47. baudrate: 115200
  48. vision:
  49. camera_id: 0
  50. resolution: [640, 480]
  51. frame_rate: 30
  52. exposure: 0.1
  53. gain: 1.0
  54. bbox: [100, 100, 200, 200] # (x, y, width, height)
  55. vacuum:
  56. min_pressure_bar: 0.13
  57. max_pressure_bar: 0.6
  58. max_pump_time_s: 20
  59. gripping_threshold_bar: 0.6
  60. pump_watchdog_timeout_s: 30
  61. gpio:
  62. debug: false
  63. pump_pin: 17
  64. valve_pin: 27
  65. i2c:
  66. debug: false
  67. movement:
  68. speed: 400.0
  69. acceleration: 20.0
  70. safe_height: 0.0
  71. logging:
  72. level: INFO
  73. file_path: logs/robot.log
  74. max_file_size_mb: 1
  75. backup_count: 3
  76. console_output: true