ReadDouble() public method

public ReadDouble ( ) : double
return double
Beispiel #1
0
 public void _decodeRecursive(LCMDataInputStream ins)
 {
     byte[] __strbuf = null;
     this.utime = ins.ReadInt64();
     this.deg_celsius = ins.ReadDouble();
 }
Beispiel #2
0
 public void _decodeRecursive(LCMDataInputStream ins)
 {
     this.goals = new double[(int) 4,(int) 5];
     for (int a = 0; a < 4; a++) {
         for (int b = 0; b < 5; b++) {
             this.goals[a,b] = ins.ReadDouble();
         }
     }
 }
Beispiel #3
0
        public void _decodeRecursive(LCMDataInputStream ins)
        {
            byte[] __strbuf = null;
            this.timestamp = ins.ReadInt64();
 
            this.position = new double[(int) 3];
            for (int a = 0; a < 3; a++) {
                this.position[a] = ins.ReadDouble();
            }
 
            this.orientation = new double[(int) 4];
            for (int a = 0; a < 4; a++) {
                this.orientation[a] = ins.ReadDouble();
            }
 
            this.num_ranges = ins.ReadInt32();
 
            this.ranges = new short[(int) num_ranges];
            for (int a = 0; a < this.num_ranges; a++) {
                this.ranges[a] = ins.ReadInt16();
            }
 
            __strbuf = new byte[ins.ReadInt32()-1]; ins.ReadFully(__strbuf); ins.ReadByte(); this.name = System.Text.Encoding.GetEncoding("US-ASCII").GetString(__strbuf);
 
            this.enabled = ins.ReadBoolean();
 
        }