Skip to content
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

SimEnum should have getOptions function #7800

Open
virtuald opened this issue Feb 18, 2025 · 0 comments
Open

SimEnum should have getOptions function #7800

virtuald opened this issue Feb 18, 2025 · 0 comments
Labels
type: feature Brand new functionality, features, pages, workflows, endpoints, etc.

Comments

@virtuald
Copy link
Member

Only mechanism in HAL to get options is via HALSIM_GetSimValueEnumOptions.

There is SimDeviceSim::GetEnumOptions, but that requires linking to wpilib. Probably could just copy SimDeviceSim::GetEnumOptions and have it return the underlying SimEnum.getOptions?

For 'double' enums, there is also only HALSIM_GetSimValueEnumDoubleValues, but no equivalent wrapper in SimDeviceSim.

@virtuald virtuald added the type: feature Brand new functionality, features, pages, workflows, endpoints, etc. label Feb 18, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
type: feature Brand new functionality, features, pages, workflows, endpoints, etc.
Projects
None yet
Development

No branches or pull requests

1 participant