Setting last output, even when auto mode is on.
See original GitHub issueHello,
I was working with setting the last_output value by calling pid.set_auto_mode(True, last_output=X)
. The issue I was having is that the auto mode was already on, so the last_output value was not being updated.
This looks to be the intended functionality as the code for set_auto_mode
checks if auto_mode is currently on. What I’m wondering is if we could update the docs to state that if you want to set the last_output value, you must first turn auto_mode off, or if we could add a function solely for setting the last_output value.
It’s also possible that setting the last output value during an auto mode is not advisable.
Thanks!
Issue Analytics
- State:
- Created 3 years ago
- Comments:5 (3 by maintainers)
Top Results From Across the Web
7 Important Android Auto Settings You Should Tweak ASAP
Here are the most useful settings you should change in Android Auto, both in its developer settings and the main options page.
Read more >Change the sound output settings on Mac - Apple Support
Change the sound output settings on Mac · On your Mac, choose Apple menu > System Settings, then click Sound in the sidebar....
Read more >Settings Menu (Common Settings) - Canon - Setting the Machine ...
[Auto Error Skip]. [On], [Off]*. This setting enables you to automatically clear an error and continue printing when an error occurs (Skip Error)....
Read more >Configure and Verify Ethernet 10/100/1000Mb Half ... - Cisco
In order to resolve this issue, you must configure auto-negotiation manually. Go to the interface mode and execute this command:.
Read more >iPhone Screen Keeps Dimming With Auto-Brightness Off
Navigate to Settings, select Display & Brightness, tap True Tone, and toggle off this option. Then, go back to Settings, select Accessibility, ...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
Okay, then we are on the same page. I’m not an expert on setting up PID controllers but from my understanding it’s not completely uncommon to have to perform such a strategy.
I’ll try to make the behaviour a bit clearer in the documentation!
Yes that’s exactly what we ended up doing. I am really just saying that process wasn’t super intuitive from my first reading of the documentation. Thanks for taking the time to understand!