client.py
client.py copied to clipboard
Missing "angle" in Position
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.