This pull request contains a minor upgrade to the NoneIRLaserModule. The goal is to allow the user to turn off IR laser controls. The modulation of the IR laser power consumes multiple counters, and it is sometimes useful to simply remove Hal-based control over the laser power. In this case, it would be nice to remove the on/off and amplitude modulation GUI controls. If the user configures Hal to use the NoneIRLaserModule and passes a configuration parameter (display_controls), it is now possible to control whether these GUI items are displayed. This parameter must be added to existing configuration files to change the current behavior, so this upgrade is backwards compatible.
This pull request contains a minor upgrade to the NoneIRLaserModule. The goal is to allow the user to turn off IR laser controls. The modulation of the IR laser power consumes multiple counters, and it is sometimes useful to simply remove Hal-based control over the laser power. In this case, it would be nice to remove the on/off and amplitude modulation GUI controls. If the user configures Hal to use the NoneIRLaserModule and passes a configuration parameter (display_controls), it is now possible to control whether these GUI items are displayed. This parameter must be added to existing configuration files to change the current behavior, so this upgrade is backwards compatible.