コード例 #1
0
 /// <summary>
 /// Get the diagnostic data for the motors.
 /// See http://www.neatorobotics.com/programmers-manual/table-of-robot-application-commands/detailed-command-descriptions/#GetMotors for more info.
 /// </summary>
 /// <param name="flag">Motor to retrieve data for.</param>
 /// <returns>
 /// Reports data for specified motor. (Format: Parameter,Value)
 /// </returns>
 public Response GetMotors(GetMotorMotor flag)
 {
     return(this.neato.Connection.SendCommand("GetMotors " + flag));
 }
コード例 #2
0
ファイル: GetInfo.cs プロジェクト: heX16/NeatoCSharpAPI
 /// <summary>
 /// Get the diagnostic data for the motors.
 /// See http://www.neatorobotics.com/programmers-manual/table-of-robot-application-commands/detailed-command-descriptions/#GetMotors for more info.
 /// </summary>
 /// <param name="flag">Motor to retrieve data for.</param>
 /// <returns>
 /// Reports data for specified motor. (Format: Parameter,Value)
 /// </returns>
 public Response GetMotors(GetMotorMotor flag)
 {
     return this.neato.Connection.SendCommand("GetMotors " + flag);
 }