- Add argparse for individual get/set operations - Support commands: get-exposure, set-exposure, get-framerate, set-framerate, status - Add 'test' command to run full test suite (preserves original functionality) - Show help when no parameters provided - Add optional tab completion support with argcomplete - Maintain backward compatibility with existing test functionality Usage examples: python scripts/test_exposure_control.py # Show help python scripts/test_exposure_control.py test # Run full test suite python scripts/test_exposure_control.py get-exposure # Get current exposure python scripts/test_exposure_control.py set-exposure 10 # Set exposure to 10ms python scripts/test_exposure_control.py status # Get pipeline status
8.3 KiB
8.3 KiB