Ejemplo n.º 1
0
        public override void Update(Pose goal)
        {
            Stream stream = File.OpenRead(@"../../../rsheurnorev.dat");

            info = (NonholonomiHeuristicInfo)(new BinaryFormatter()).Deserialize(stream);
            stream.Close();

            offset = (float)Math.Floor(info.NumCells / 2f) * info.CellSize;
        }
Ejemplo n.º 2
0
        public override void Update(Pose goal)
        {
            Stream stream = File.OpenRead(@"../../../rsheurnorev.dat");
            info = (NonholonomiHeuristicInfo)(new BinaryFormatter()).Deserialize(stream);
            stream.Close();

            offset = (float)Math.Floor(info.NumCells / 2f) * info.CellSize;
        }