config.yaml 1.4 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576
  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. accepted:
  31. position: [0.0, 10.0, 0.0]
  32. capacity_threshold: 0.8
  33. 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: -1
  48. resolution: [640, 480]
  49. frame_rate: 30
  50. exposure: 0.1
  51. gain: 1.0
  52. vacuum:
  53. min_pressure_bar: 0.5
  54. max_pressure_bar: 1.0
  55. max_pump_time_s: 30
  56. pump_gpio_pin: 17
  57. valve_gpio_pin: 27
  58. system_settings:
  59. speed: 400.0
  60. acceleration: 20.0
  61. safe_height: 25.0
  62. logging:
  63. level: INFO
  64. file_path: logs/robot.log
  65. max_file_size_mb: 1
  66. backup_count: 3
  67. console_output: true