config.yaml 1.3 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869
  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. system_settings:
  53. speed: 400.0
  54. acceleration: 20.0
  55. safe_height: 25.0
  56. logging:
  57. level: INFO
  58. file_path: logs/robot.log
  59. max_file_size_mb: 1
  60. backup_count: 3
  61. console_output: true