client.py icon indicating copy to clipboard operation
client.py copied to clipboard

Missing "angle" in Position

Open lnx85 opened this issue 9 months ago • 4 comments

Checks

  • [X] I have searched the existing issues and no issue is describing my issue
  • [X] I have checked the FAQ
  • [X] I have checked the documentation
  • [X] I have installed the latest version

The problem

The Position object is missing informations about the robot angle.

On which deebot device (vacuum) you have the issue?

Deebot N8

Which version of the deebot-client are you using?

7.2.0

Country

it

Continent

eu

Anything in the logs that might be useful for us?

Log for PositionsEvent (after a GetPos command).

Notify subscribers with PositionsEvent(positions=[Position(type=<PositionType.DEEBOT: 'deebotPos'>, x=-396, y=10), Position(type=<PositionType.CHARGER: 'chargePos'>, x=-396, y=10)])

The same request made with ecovacs-deebot.js (https://github.com/mrbungle64/ecovacs-deebot.js/blob/master/example/mapInfos.js) returns and object containg "x", "y" and "a" where "a" is bot orientation in degrees.

Additional information

The GetPos command is not documented but available in source code.

lnx85 avatar May 10 '24 14:05 lnx85