{"action":"closed","issue":{"url":"https://api.github.com/repos/KSP-KOS/KOS/issues/2317","repository_url":"https://api.github.com/repos/KSP-KOS/KOS","labels_url":"https://api.github.com/repos/KSP-KOS/KOS/issues/2317/labels{/name}","comments_url":"https://api.github.com/repos/KSP-KOS/KOS/issues/2317/comments","events_url":"https://api.github.com/repos/KSP-KOS/KOS/issues/2317/events","html_url":"https://github.com/KSP-KOS/KOS/issues/2317","id":349839103,"node_id":"MDU6SXNzdWUzNDk4MzkxMDM=","number":2317,"title":"Raw controls should let go when out of power","user":{"login":"Dunbaratu","id":5216848,"node_id":"MDQ6VXNlcjUyMTY4NDg=","avatar_url":"https://avatars0.githubusercontent.com/u/5216848?v=4","gravatar_id":"","url":"https://api.github.com/users/Dunbaratu","html_url":"https://github.com/Dunbaratu","followers_url":"https://api.github.com/users/Dunbaratu/followers","following_url":"https://api.github.com/users/Dunbaratu/following{/other_user}","gists_url":"https://api.github.com/users/Dunbaratu/gists{/gist_id}","starred_url":"https://api.github.com/users/Dunbaratu/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Dunbaratu/subscriptions","organizations_url":"https://api.github.com/users/Dunbaratu/orgs","repos_url":"https://api.github.com/users/Dunbaratu/repos","events_url":"https://api.github.com/users/Dunbaratu/events{/privacy}","received_events_url":"https://api.github.com/users/Dunbaratu/received_events","type":"User","site_admin":false},"labels":[{"id":82871094,"node_id":"MDU6TGFiZWw4Mjg3MTA5NA==","url":"https://api.github.com/repos/KSP-KOS/KOS/labels/bug","name":"bug","color":"fc2929","default":true}],"state":"closed","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2018-08-12T19:53:02Z","updated_at":"2018-10-29T19:47:46Z","closed_at":"2018-10-29T19:47:46Z","author_association":"MEMBER","body":"When you do something like this:\r\n```\r\nset wheelthrottle to 0.2.\r\n```\r\nand then the rover runs out of power, the ``kOSVesselModule`` still keeps pushing the control even though the CPU doing that should by all rights be \"dead\".  This causes it to never recharge properly because the instant there's a tiny bit of power it gets spent by the ``kOSVesselModule`` pushing on the control - and it's a control you cannot turn off because you don't have power anymore.\r\n\r\nTo Fix:  have kOSVesselModule detect a lack of power and shut down all of its ``IFlightControl``s - remember all the kOS CPUs have to do a reboot when the charge went to zero so you're not confusing any programs by doing this."}}
{"actor":{"display_login":"Dunbaratu"}}