rest980 icon indicating copy to clipboard operation
rest980 copied to clipboard

Added support for FW 3 and Braava robots.

Open peci1 opened this issue 5 years ago • 8 comments

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 .

peci1 avatar Dec 26 '19 01:12 peci1

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

mike9011 avatar Mar 27 '20 15:03 mike9011

For me, the mission endpoint only works in case the robot is actually cleaning. Did you try that?

peci1 avatar Mar 27 '20 16:03 peci1

Yes I've tried that.. i will try it again tomorrow and let you know.

Thanks!

mike9011 avatar Mar 27 '20 16:03 mike9011

Tried it again, unfortunately im keep getting a timeout, even when it's cleaning.

mike9011 avatar Mar 27 '20 21:03 mike9011

@mike9011 Do you also run dorita with https://github.com/koalazak/dorita980/pull/103 ?

peci1 avatar Mar 27 '20 22:03 peci1

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.

mike9011 avatar Mar 27 '20 22:03 mike9011

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?

peci1 avatar Mar 27 '20 22:03 peci1

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...

sohsatoh avatar Aug 30 '20 03:08 sohsatoh