SweepSpeed sets the angular velocity of the radar sweep beam. The value is in degrees per second; e.g. 60 = one full rotation every 6 s. Defaults to 60.
(degreesPerSecond float64)
| 160 | // The value is in degrees per second; e.g. 60 = one full rotation every 6 s. |
| 161 | // Defaults to 60. |
| 162 | func SweepSpeed(degreesPerSecond float64) Option { |
| 163 | return option(func(o *options) { |
| 164 | o.sweepSpeed = degreesPerSecond |
| 165 | }) |
| 166 | } |
| 167 | |
| 168 | // DefaultBeamWidth is the default angular width of the sweep trail in degrees. |
| 169 | const DefaultBeamWidth = 35.0 |
no test coverage detected