{"action":"created","issue":{"url":"https://api.github.com/repos/Hypfer/Valetudo/issues/72","repository_url":"https://api.github.com/repos/Hypfer/Valetudo","labels_url":"https://api.github.com/repos/Hypfer/Valetudo/issues/72/labels{/name}","comments_url":"https://api.github.com/repos/Hypfer/Valetudo/issues/72/comments","events_url":"https://api.github.com/repos/Hypfer/Valetudo/issues/72/events","html_url":"https://github.com/Hypfer/Valetudo/issues/72","id":395095801,"node_id":"MDU6SXNzdWUzOTUwOTU4MDE=","number":72,"title":"Manage and display virtual walls","user":{"login":"JohnRev","id":45566161,"node_id":"MDQ6VXNlcjQ1NTY2MTYx","avatar_url":"https://avatars1.githubusercontent.com/u/45566161?v=4","gravatar_id":"","url":"https://api.github.com/users/JohnRev","html_url":"https://github.com/JohnRev","followers_url":"https://api.github.com/users/JohnRev/followers","following_url":"https://api.github.com/users/JohnRev/following{/other_user}","gists_url":"https://api.github.com/users/JohnRev/gists{/gist_id}","starred_url":"https://api.github.com/users/JohnRev/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/JohnRev/subscriptions","organizations_url":"https://api.github.com/users/JohnRev/orgs","repos_url":"https://api.github.com/users/JohnRev/repos","events_url":"https://api.github.com/users/JohnRev/events{/privacy}","received_events_url":"https://api.github.com/users/JohnRev/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":3,"created_at":"2019-01-01T16:25:51Z","updated_at":"2019-01-02T10:15:11Z","closed_at":null,"author_association":"CONTRIBUTOR","body":"I am creating this issue as a follow-up for #44.\r\nIn #44, we discovered that the \"new map format\" after firmware 1780 on gen2 is still the same ppm file, but just encrypted differently.\r\nFor valetudo to keep working correctly, we need to patch rrlogd as in https://github.com/Hypfer/Valetudo/issues/44#issuecomment-446178528 or using @cryptomilk's firmwarebuilder additions https://github.com/dgiese/dustcloud/pull/162.\r\n\r\nFor this issue, I'd like to specifically focus on the no-go zones and the virtual walls.\r\nI have already posted an explanation about where and how these are stored (see: https://github.com/Hypfer/Valetudo/issues/44#issuecomment-450562996 and https://github.com/Hypfer/Valetudo/issues/44#issuecomment-450565679).\r\n\r\nI have pushed a demo on how to display these no-go zones and virtual walls in Valetudo (in the new `/zone` map url).\r\nA few issues:\r\n- The map drawing logic is confusing me. Someone with better knowledge could probably get this done faster than me\r\n- The virtuual zones are centered at (25600, 25600), and not (25500, 25500) as it is often common in map parsing scripts. Is this going to be a problem?\r\n\r\nMy changes can be found here; https://github.com/JohnRev/Valetudo/tree/PersistData . For now, this will only display the stored no-go zones and walls on the map. We can not manage them from Valetudo just yet, and I am not sure if I will have enough time to implement this myself."},"comment":{"url":"https://api.github.com/repos/Hypfer/Valetudo/issues/comments/450827206","html_url":"https://github.com/Hypfer/Valetudo/issues/72#issuecomment-450827206","issue_url":"https://api.github.com/repos/Hypfer/Valetudo/issues/72","id":450827206,"node_id":"MDEyOklzc3VlQ29tbWVudDQ1MDgyNzIwNg==","user":{"login":"JohnRev","id":45566161,"node_id":"MDQ6VXNlcjQ1NTY2MTYx","avatar_url":"https://avatars1.githubusercontent.com/u/45566161?v=4","gravatar_id":"","url":"https://api.github.com/users/JohnRev","html_url":"https://github.com/JohnRev","followers_url":"https://api.github.com/users/JohnRev/followers","following_url":"https://api.github.com/users/JohnRev/following{/other_user}","gists_url":"https://api.github.com/users/JohnRev/gists{/gist_id}","starred_url":"https://api.github.com/users/JohnRev/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/JohnRev/subscriptions","organizations_url":"https://api.github.com/users/JohnRev/orgs","repos_url":"https://api.github.com/users/JohnRev/repos","events_url":"https://api.github.com/users/JohnRev/events{/privacy}","received_events_url":"https://api.github.com/users/JohnRev/received_events","type":"User","site_admin":false},"created_at":"2019-01-02T10:15:11Z","updated_at":"2019-01-02T10:15:11Z","author_association":"CONTRIBUTOR","body":"Cool. Worth checking. Mind emailing them to me?"}}
{"actor":{"display_login":"JohnRev"}}