congatudo / Congatudo

Cloud replacement for Conga vacuum robots enabling local-only operation
https://congatudo.cloud
Apache License 2.0
77 stars 23 forks source link

Conga 5090: Segments endpoints not working #32

Closed angelbarrera92 closed 1 year ago

angelbarrera92 commented 1 year ago

Describe the bug

I'm unable to clean specific segments by clicking on the zones, then click on "Clean X Zones".

To Reproduce

Select at least one segment/zone, then click on Clean X Zones.

Screenshots

error

Vacuum Model

Conga 5090

Valetudo Version

2022.09.0-conga.0 d662967fc3bae473c7d8afe21c3570277280d6ce

Expected behavior

I want my conga to clean specific zones

Additional context

Logs:

[2022-11-06T11:21:02.271Z] [WARN] Received "PUT "to "/api/v2/robot/capabilities/MapSegmentationCapability" with invalid payload [
  {
    keyword: 'type',
    dataPath: '.segment_ids[0]',
    schemaPath: '#/properties/segment_ids/items/type',
    params: { type: 'string' },
    message: 'should be string'
  },
  {
    keyword: 'type',
    dataPath: '.segment_ids[1]',
    schemaPath: '#/properties/segment_ids/items/type',
    params: { type: 'string' },
    message: 'should be string'
  }
]
angelbarrera92 commented 1 year ago

The same happen with:

Any idea?