config.yaml 1.2 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172
  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. feeder:
  15. position: [0.0, 0.0, 0.0]
  16. approach_position: [0.0, 0.0, 20.0]
  17. dropoff_grades:
  18. - id: accepted
  19. position: [0.0, 10.0, 0.0]
  20. capacity_threshold: 0.8
  21. - id: rejected
  22. position: [0.0, 20.0, 0.0]
  23. capacity_threshold: 0
  24. mqtt:
  25. broker: localhost # or debug
  26. port: 1883
  27. username: robot
  28. password: robot
  29. keepalive: 60
  30. grbl:
  31. # port: /dev/ttyACM0 # or debug
  32. port: debug
  33. baudrate: 115200
  34. vision:
  35. camera_id: 0
  36. resolution: [640, 480]
  37. frame_rate: 30
  38. exposure: 0.1
  39. gain: 1.0
  40. bbox: [100, 100, 200, 200] # (x, y, width, height)
  41. vacuum:
  42. min_pressure_bar: 0.14
  43. max_pressure_bar: 0.7
  44. max_pump_time_s: 20
  45. gripping_threshold_bar: 0.7
  46. pump_watchdog_timeout_s: 30
  47. gpio:
  48. debug: true
  49. pump_pin: 17
  50. valve_pin: 27
  51. i2c:
  52. debug: true
  53. movement:
  54. speed: 400.0
  55. acceleration: 20.0
  56. safe_height: 25.0
  57. logging:
  58. level: INFO
  59. file_path: logs/robot.log
  60. max_file_size_mb: 1
  61. backup_count: 3
  62. console_output: true