{"action":"opened","issue":{"url":"https://api.github.com/repos/robotpy/examples/issues/15","repository_url":"https://api.github.com/repos/robotpy/examples","labels_url":"https://api.github.com/repos/robotpy/examples/issues/15/labels{/name}","comments_url":"https://api.github.com/repos/robotpy/examples/issues/15/comments","events_url":"https://api.github.com/repos/robotpy/examples/issues/15/events","html_url":"https://github.com/robotpy/examples/issues/15","id":304105282,"number":15,"title":"How to fix LiveWindow.addActuator Deprecation Warn","user":{"login":"RustyRaptor","id":7911442,"avatar_url":"https://avatars2.githubusercontent.com/u/7911442?v=4","gravatar_id":"","url":"https://api.github.com/users/RustyRaptor","html_url":"https://github.com/RustyRaptor","followers_url":"https://api.github.com/users/RustyRaptor/followers","following_url":"https://api.github.com/users/RustyRaptor/following{/other_user}","gists_url":"https://api.github.com/users/RustyRaptor/gists{/gist_id}","starred_url":"https://api.github.com/users/RustyRaptor/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/RustyRaptor/subscriptions","organizations_url":"https://api.github.com/users/RustyRaptor/orgs","repos_url":"https://api.github.com/users/RustyRaptor/repos","events_url":"https://api.github.com/users/RustyRaptor/events{/privacy}","received_events_url":"https://api.github.com/users/RustyRaptor/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2018-03-10T21:06:46Z","updated_at":"2018-03-10T21:06:46Z","closed_at":null,"author_association":"NONE","body":"In the arcadedrive navx example we are getting a deprecation warning in the latest release. Here is the test output:\r\n```\r\n============================= test session starts =============================\r\nplatform win32 -- Python 3.6.4, pytest-3.4.2, py-1.5.2, pluggy-0.6.0\r\nrootdir: C:\\Users\\Thunderdogs Driver\\Downloads\\5613-tank-drive-2018-master\\5613-tank-drive-2018-master\\tests, inifile:\r\ncollected 8 items\r\n\r\npyfrc_test.py ........                                                   [100%]\r\n\r\n============================== warnings summary ===============================\r\npyfrc_test.py::test_autonomous[RRR]\r\n  C:/Users/Thunderdogs Driver/Downloads/5613-tank-drive-2018-master/5613-tank-drive-2018-master/robot.py:124: DeprecationWarning: addActuator is deprecated. Use Sendable.setName(subsystem, name) instead.\r\n    wpilib.LiveWindow.addActuator(\"DriveSystem\", \"RotateController\", turnController)\r\n\r\npyfrc_test.py::test_autonomous[RLR]\r\n  C:/Users/Thunderdogs Driver/Downloads/5613-tank-drive-2018-master/5613-tank-drive-2018-master/robot.py:124: DeprecationWarning: addActuator is deprecated. Use Sendable.setName(subsystem, name) instead.\r\n    wpilib.LiveWindow.addActuator(\"DriveSystem\", \"RotateController\", turnController)\r\n\r\npyfrc_test.py::test_autonomous[LRL]\r\n  C:/Users/Thunderdogs Driver/Downloads/5613-tank-drive-2018-master/5613-tank-drive-2018-master/robot.py:124: DeprecationWarning: addActuator is deprecated. Use Sendable.setName(subsystem, name) instead.\r\n    wpilib.LiveWindow.addActuator(\"DriveSystem\", \"RotateController\", turnController)\r\n\r\npyfrc_test.py::test_autonomous[LLL]\r\n  C:/Users/Thunderdogs Driver/Downloads/5613-tank-drive-2018-master/5613-tank-drive-2018-master/robot.py:124: DeprecationWarning: addActuator is deprecated. Use Sendable.setName(subsystem, name) instead.\r\n    wpilib.LiveWindow.addActuator(\"DriveSystem\", \"RotateController\", turnController)\r\n\r\npyfrc_test.py::test_disabled\r\n  C:/Users/Thunderdogs Driver/Downloads/5613-tank-drive-2018-master/5613-tank-drive-2018-master/robot.py:124: DeprecationWarning: addActuator is deprecated. Use Sendable.setName(subsystem, name) instead.\r\n    wpilib.LiveWindow.addActuator(\"DriveSystem\", \"RotateController\", turnController)\r\n\r\npyfrc_test.py::test_operator_control\r\n  C:/Users/Thunderdogs Driver/Downloads/5613-tank-drive-2018-master/5613-tank-drive-2018-master/robot.py:124: DeprecationWarning: addActuator is deprecated. Use Sendable.setName(subsystem, name) instead.\r\n    wpilib.LiveWindow.addActuator(\"DriveSystem\", \"RotateController\", turnController)\r\n\r\npyfrc_test.py::test_practice\r\n  C:/Users/Thunderdogs Driver/Downloads/5613-tank-drive-2018-master/5613-tank-drive-2018-master/robot.py:124: DeprecationWarning: addActuator is deprecated. Use Sendable.setName(subsystem, name) instead.\r\n    wpilib.LiveWindow.addActuator(\"DriveSystem\", \"RotateController\", turnController)\r\n\r\npyfrc_test.py::test_fuzz\r\n  C:/Users/Thunderdogs Driver/Downloads/5613-tank-drive-2018-master/5613-tank-drive-2018-master/robot.py:124: DeprecationWarning: addActuator is deprecated. Use Sendable.setName(subsystem, name) instead.\r\n    wpilib.LiveWindow.addActuator(\"DriveSystem\", \"RotateController\", turnController)\r\n\r\n-- Docs: http://doc.pytest.org/en/latest/warnings.html\r\n==================== 8 passed, 8 warnings in 42.36 seconds ====================\r\n\r\nProcess finished with exit code \r\n```"}}
{"actor":{"display_login":"RustyRaptor"}}