✨[FEATURE REQUEST] Features for Motor groups Telemetry functions
HectorAlonso18 opened this issue · 1 comments
**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.
I think that the functions would be very useful.
I am not convinced this is useful or should be considered enough of a first-class usecase to have dedicated functions in pros.