Hi, we are having minor motor issues where our chassis does not drive perfectly straight. In order to avoid the usual debates (is it friction, is it bad motor) and just blindly replacing things until fixed, we decided to take the telemetry approach and display motor parameters on screen and try to make sense of the data.
We understand clearly there is a temperature sensor on board and the optical encoder wheel is responsible to show velocity at the output shaft in RPMs. Question is what else is sensed and what is calculated / approximated?
For example, assuming Input Power = Current * Voltage, Output Power = Torque * Angular Velocity and Efficiency = Output Power / Input Power (please correct if wrong and sorry to all electrical engineers out there), we tried to display voltage as power/current, but the displayed result was weird, a fluctuation between 0 and 4.
Also, confused about API. The old resource we use at VEX Help mentions motor voltage as a method:
But the VEX Command Help built into the VS Code VEX Extension excludes voltage instead lists only the following:
There’s efficiency, power, temperature, torque, velocity but no voltage. Also we see a tendency to express everything in percentage now, but not very clear what that percentage represents/shows. Unless the help system is simply not finished in which case apologies for jumping the gun. So, is there another official resource where we can find proper syntax for all the vex. functions to be used in C++ / Python? I know the Library is replacing the old stuff but can’t seem to find this.
Sorry for long post, question was what exactly sensors are on that board inside a V5 motor and what does the end user have access to in C++ and/or Python via VEX Extension? Thanks.