-
Notifications
You must be signed in to change notification settings - Fork 76
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
✨Increasing the Max String Size on the Controller Display #222
Conversation
You'll probably have to increase this line Line 262 in 337b4c5
Probably should make sure all the clears work correctly (including the fallback for the screen clear). Btw, I edited the post to reference the issue correctly. |
Seems worth a try at least putting it to like 50 and and just filling it with I's. |
Somebody with a controller could probably try that, but for pros itself the 19 limit seems reasonable given the small amount of space left with the 19 character word in the test case. |
I tried increasing it to 20, the max number of characters that the controller will display is 19. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM baring some additional testing around clearing. If you want to be though, you could test line clearing and both versions of screen clearing still work. Consider adding that assert, as it makes finding this dependency easier.
the future and we forget to change the clear string.
different library's kassert)
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM baring some additional testing around clearing. If you want to be thorough, you could test line clearing and both versions of screen clearing still work.
increasing the max size of the controller display.
* Added inline namespaces as detailed in issue #223 (Branch is WIP) * Added ADI namespace, and backwards compatibility for the reorganized ADI namespaces. * Removed ADI from a constructor header. * Added v5 namespace to controller. * Changed the v5 namespace properly to v5 * Moved backwards compatibility to area after the adi classes were defined. * Removed code related to pull request #222 and issue #217 related to increasing the max size of the controller display. * Added a better comments * Added accidentally deleted class declaration * Named port correctly * Deleted extraneous port class declaration * Removed ADI in ADIDigitalOut * Updated comments * Fixed compilation error * Fixed version * Fix version numbers * Minor formatting * Added new sensors to v5 namespace * Revert Version File * Update vdml_adi.cpp Co-authored-by: AyushShukla3 <[email protected]>
* Added inline namespaces as detailed in issue #223 (Branch is WIP) * Added ADI namespace, and backwards compatibility for the reorganized ADI namespaces. * Removed ADI from a constructor header. * Added v5 namespace to controller. * Changed the v5 namespace properly to v5 * Moved backwards compatibility to area after the adi classes were defined. * Removed code related to pull request #222 and issue #217 related to increasing the max size of the controller display. * Added a better comments * Added accidentally deleted class declaration * Named port correctly * Deleted extraneous port class declaration * Removed ADI in ADIDigitalOut * Updated comments * Fixed compilation error * Fixed version * Fix version numbers * Minor formatting * Added new sensors to v5 namespace * Revert Version File * Update vdml_adi.cpp Co-authored-by: AyushShukla3 <[email protected]>
Summary:
VCS and RMS have had their controller max string sizes at 19 for a while, and PROS also having this wouldn't be too hard of a change. This was done by changing `CONTROLLER_MAX_COLS` under `src/devices/controller.c` to 19.Motivation:
There was an issue opened by @djava requesting that we do this, but the discussion surround this died pretty suddenly so I decided to open a PR regarding this to restart the conversationReferences (optional):
fixes #217
Test Plan: