How does the D300E convert Pelco-D pan speed to `real life speed` in degrees per second?

The formula is:
Speed = (pelco_speed + 1) / (0x41 * max⁡_speed) Where:
  • Speed is the current desired speed in PTU units (steps/second)
  • Pelco_speed is the speed received in the Pelco packet (0-64), If a number greater than 64 is receive we will move at max_speed
  • Max_speed is the current upper speed set with the PU or TU commands, or through the web interface.
  • Note: A Pelco speed of 0 is not stopped. It is 1/65 of max speed. To set a stopped speed with Pelco, turn off both the Left and Right (or Up and Down) bits.