Created
June 12, 2024 16:00
-
-
Save Control-editorial/b4dc5ea368b16ae6dee72ad298d71826 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# using the .tuple class constructor | |
pid_controller = { | |
"Kp": 1.4, | |
"Ki": 0.02, | |
"Kd": 0.1 | |
} | |
print(tuple(pid_controller.items())) | |
----------- | |
(('Kp', 1.4), ('Ki', 0.02), ('Kd', 0.1)) | |
Process finished with exit code 0 | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment