SetResolution() public method

Set video resolution.

Setting higher quality level and resolution may increase delays for other requests sent to SRV-1. So if robot is used not only for video, but also for controlling servos/motors, and higher response level is required, then do not set very high quality and resolution.

Invalid resolution was specified.
public SetResolution ( VideoResolution resolution ) : void
resolution VideoResolution Video resolution to set.
return void
Esempio n. 1
0
 /// <summary>
 /// Set video resolution.
 /// </summary>
 ///
 /// <param name="resolution">Video resolution to set.</param>
 ///
 /// <remarks>
 /// <para><note>Setting higher <see cref="SetQuality">quality level</see> and resolution
 /// may increase delays for other requests processed by <see cref="SRV1"/> class. So if
 /// robot is used not only for video, but also for controlling servos/motors, and higher
 /// response level is required, then do not set very high quality and resolution.
 /// </note></para>
 /// </remarks>
 ///
 public void SetResolution(SRV1.VideoResolution resolution)
 {
     communicator.SetResolution(resolution);
 }