config.yaml 1.5 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485
  1. measurement_devices:
  2. - id: device_1
  3. position: [50.0, 50.0, 0.0]
  4. slots:
  5. - position: [10.0, 20.0, 0.0]
  6. occupied: False
  7. slot_id: 0
  8. - position: [20.0, 20.0, 0.0]
  9. occupied: False
  10. slot_id: 1
  11. - position: [30.0, 20.0, 0.0]
  12. occupied: False
  13. slot_id: 2
  14. - id: device_2
  15. position: [100.0, 50.0, 0.0]
  16. slots:
  17. - position: [10.0, 20.0, 0.0]
  18. occupied: False
  19. slot_id: 0
  20. - position: [20.0, 20.0, 0.0]
  21. occupied: False
  22. slot_id: 1
  23. - position: [30.0, 20.0, 0.0]
  24. occupied: False
  25. slot_id: 2
  26. feeder:
  27. position: [0.0, 0.0, 0.0]
  28. approach_position: [0.0, 0.0, 20.0]
  29. dropoff_grades:
  30. - id: accepted
  31. position: [0.0, 10.0, 0.0]
  32. capacity_threshold: 0.8
  33. - id: rejected
  34. position: [0.0, 20.0, 0.0]
  35. capacity_threshold: 0
  36. mqtt:
  37. broker: localhost # or debug
  38. port: 1883
  39. username: robot
  40. password: robot
  41. keepalive: 60
  42. grbl:
  43. # port: /dev/ttyACM0 # or debug
  44. port: debug
  45. baudrate: 115200
  46. vision:
  47. camera_id: 0
  48. resolution: [640, 480]
  49. frame_rate: 30
  50. exposure: 0.1
  51. gain: 1.0
  52. bbox: [100, 100, 200, 200] # (x, y, width, height)
  53. vacuum:
  54. min_pressure_bar: -0.85
  55. max_pressure_bar: -0.35
  56. max_pump_time_s: 30
  57. gripping_threshold_bar: -0.35
  58. pump_watchdog_timeout_s: 30
  59. gpio:
  60. debug: true
  61. pump_pin: 17
  62. valve_pin: 27
  63. i2c:
  64. debug: true
  65. movement:
  66. speed: 400.0
  67. acceleration: 20.0
  68. safe_height: 25.0
  69. logging:
  70. level: INFO
  71. file_path: logs/robot.log
  72. max_file_size_mb: 1
  73. backup_count: 3
  74. console_output: true