/// <summary> /// Sets LDS rotation on or off. (TestMode Only) /// See http://www.neatorobotics.com/programmers-manual/table-of-robot-application-commands/detailed-command-descriptions/#SetLDSRotation for more info. /// </summary> /// <param name="flag">TODO: describe state</param> public void SetLDSRotation(LDSRotation flag) { if (!this.neato.TestMode) { throw new NotInTestModeException("SetLDSRotation"); } this.neato.Connection.SendCommand("SetLDSRotation " + flag); // Update Neato status! this.neato.LDSRotation = flag == LDSRotation.On; }