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

✨[FEATURE REQUEST] Motor type getter. #634

Open
Tropix126 opened this issue Mar 6, 2024 · 0 comments
Open

✨[FEATURE REQUEST] Motor type getter. #634

Tropix126 opened this issue Mar 6, 2024 · 0 comments
Labels
enhancement This builds on top of an existing feature

Comments

@Tropix126
Copy link

Is your feature request related to a problem? Please describe.
As of the new vexos 1.1.3 release, it seems like motors can now report their type (5.5W vs 11W) to the brain and be read by the SDK. I'm not sure if the PROS team has access to the newer SDK yet, but it'd be a nice thing to see added once its available.

What is the behavior that isn't addressed by the existing API?
There's seemingly no way to tell a 5.5W and 11W motor apart at runtime.

OPTIONAL Describe any solutions you've considered
Once the partner SDK has the new functionality a Motor::get_type getter would do the trick.

Additional context
VEXCode's getter:

image

@Tropix126 Tropix126 added the enhancement This builds on top of an existing feature label Mar 6, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement This builds on top of an existing feature
Projects
None yet
Development

No branches or pull requests

1 participant