The trapezoidal constraint class accepts measurements and double parameters. By using measurements, it converts the units to base units (meters for inches), and so we then have to convert all the measurements when calculating the output to meters as well. If we just use raw units, we won't have to do the conversion of encoder readings.
The trapezoidal constraint class accepts measurements and
double
parameters. By using measurements, it converts the units to base units (meters for inches), and so we then have to convert all the measurements when calculating the output to meters as well. If we just use raw units, we won't have to do the conversion of encoder readings.