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] Features for Motor groups Telemetry functions #647

Open
HectorAlonso18 opened this issue Mar 31, 2024 · 1 comment
Open
Labels
enhancement This builds on top of an existing feature

Comments

@HectorAlonso18
Copy link

**Add new features for Telemetry functions in Motor groups **
I think as user i use a motor group for simplicity. For moving i think that current functions works pretty well.
But for telemetry i think that exist a big area of improvement. There is no a way to get the average position, velocity,temperature, efficienty,etc.

What is the behavior that isn't addressed by the existing API?
With the API you are just able to get data from each motor inside the motor group. There is not a way to get an average data of the motor group.

I would like to have a function inside of pros to get the average position, average velocity, average temporature, etc.

Describe any solutions you've considered
Create functions with the ability to return an average.


double get_average_current_velocity()const; 
double get_average_position()const; 
double get_average_temperature()const; 

...

In my program i have two motor group. I created functions to get the average position of each motor group. I am surely that exist more fanciest ways to do it.

image

I think that the functions would be very useful.

@HectorAlonso18 HectorAlonso18 added the enhancement This builds on top of an existing feature label Mar 31, 2024
@djava
Copy link
Contributor

djava commented Mar 31, 2024

I am not convinced this is useful or should be considered enough of a first-class usecase to have dedicated functions in pros.

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

2 participants