コード例 #1
0
ファイル: DriveDistance.cs プロジェクト: taylor-brown/irobot
 public byte[] getCommand()
 {
     return(CommandConverter.commandWithTwoBytes(156, distance));
 }
コード例 #2
0
ファイル: DriveVelocity.cs プロジェクト: taylor-brown/irobot
 public byte[] getCommand()
 {
     return(CommandConverter.commandWithFourBytes(145, velocity, velocity));
 }
コード例 #3
0
 public byte[] getCommand()
 {
     return(CommandConverter.commandWithFourBytes(137, velocity, radius));
 }
コード例 #4
0
ファイル: TurnAngle.cs プロジェクト: taylor-brown/irobot
 private byte[] getWaitAngle()
 {
     return(CommandConverter.commandWithTwoBytes(157, angle));
 }