config.yaml 1.5 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778
  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. gripping_threshold_v: 0.8
  59. pump_watchdog_timeout_s: 30
  60. system_settings:
  61. speed: 400.0
  62. acceleration: 20.0
  63. safe_height: 25.0
  64. logging:
  65. level: INFO
  66. file_path: logs/robot.log
  67. max_file_size_mb: 1
  68. backup_count: 3
  69. console_output: true