rest980
rest980 copied to clipboard
Added support for FW 3 and Braava robots.
Added map support for firmware version 3 and Braava m6 robots.
Depends on https://github.com/koalazak/dorita980/pull/103 .
The change in bin/www was needed on my computer to force the server to listen on IPv4 addresses, otherwise it only listened on IPv6. That might be one of the causes for https://github.com/koalazak/rest980/issues/44 .
My map isn't working atm with my Braava 6, probably since the coordinates are in;
http://192.168.178.3:2000/api/local/info/state
"pose": { "theta": 0, "point": { "x": 0, "y": 0 }
When i check the map.js, i see he requests the coordinates from a different endpoint;
$.get('/api/local/info/mission', function (data) {
The 'mission' endpoint isn't working with my Braava M6.
Thanks! Michael
For me, the mission endpoint only works in case the robot is actually cleaning. Did you try that?
Yes I've tried that.. i will try it again tomorrow and let you know.
Thanks!
Tried it again, unfortunately im keep getting a timeout, even when it's cleaning.
@mike9011 Do you also run dorita with https://github.com/koalazak/dorita980/pull/103 ?
Ah I have missed that one! Unfortunately I'm running rest980 in docker so I cannot test this PR separate without rebuilding the image myself.
Well, without that change, this PR won't work. You'll have to find a way. You can create a docker image off of an existing one, can't you?
I have confirmed the mission endpoint is working (only while the braava is cleaning) with koalazak/dorita980#103.
Update: The endpoint is sometimes working and sometimes not...