Example #1
0
		public short FL, FR, BR, BL;	// front-left, front-right, back-right, back-left motor outputs

		public void ReadFrom( Packet p )
		{
			FL = p.GetShort();
			FR = p.GetShort();
			BR = p.GetShort();
			BL = p.GetShort();
		}
        public short FL, FR, BR, BL;            // front-left, front-right, back-right, back-left motor outputs

        public void ReadFrom(Packet p)
        {
            FL = p.GetShort();
            FR = p.GetShort();
            BR = p.GetShort();
            BL = p.GetShort();
        }
 public void ReadFrom(Packet p)
 {
     Version   = p.GetShort();
     MinCycles = p.GetShort();
     MaxCycles = p.GetShort();
     AvgCycles = p.GetShort();
     Counter   = p.GetInt();                     // basically a sequence value
 }
 public void ReadFrom(Packet p)
 {
     Temp   = p.GetShort();
     GyroX  = p.GetShort();
     GyroY  = p.GetShort();
     GyroZ  = p.GetShort();
     AccelX = p.GetShort();
     AccelY = p.GetShort();
     AccelZ = p.GetShort();
     MagX   = p.GetShort();
     MagY   = p.GetShort();
     MagZ   = p.GetShort();
 }
Example #5
0
		public void ReadFrom( Packet p )
		{
			Thro = p.GetShort();
			Aile = p.GetShort();
			Elev = p.GetShort();
			Rudd = p.GetShort();
			Gear = p.GetShort();
			Aux1 = p.GetShort();
			Aux2 = p.GetShort();
			Aux3 = p.GetShort();
			BatteryVolts = p.GetShort();
		}
 public void ReadFrom(Packet p)
 {
     Thro         = p.GetShort();
     Aile         = p.GetShort();
     Elev         = p.GetShort();
     Rudd         = p.GetShort();
     Gear         = p.GetShort();
     Aux1         = p.GetShort();
     Aux2         = p.GetShort();
     Aux3         = p.GetShort();
     BatteryVolts = p.GetShort();
 }
Example #7
0
		public void ReadFrom( Packet p )
		{
			Temp = p.GetShort();
			GyroX = p.GetShort();
			GyroY = p.GetShort();
			GyroZ = p.GetShort();
			AccelX = p.GetShort();
			AccelY = p.GetShort();
			AccelZ = p.GetShort();
			MagX = p.GetShort();
			MagY = p.GetShort();
			MagZ = p.GetShort();
		}
Example #8
0
		public void ReadFrom( Packet p )
		{
			Version   = p.GetShort();
			MinCycles = p.GetShort();
			MaxCycles = p.GetShort();
			AvgCycles = p.GetShort();
			Counter = p.GetInt();		// basically a sequence value
		}