I am working on a project where I would like to pass a sensor value into okapi angle units. My sensor returns a double. How do I convert a double to a QAngle data type?
Edit: I have attached the line of code giving me trouble. “angle” is my double value from the sensor.
angle = OdomMath::constrainAngle180(angle).convert(degree);