public override void Randomize()
        {
            int    arraylength = -1;
            Random rand        = new Random();
            int    strlength;

            byte[] strbuf, myByte;

            //base_position
            base_position = new PoseStamped();
            base_position.Randomize();
        }
Beispiel #2
0
        public override void Randomize()
        {
            int    arraylength = -1;
            Random rand        = new Random();
            int    strlength;

            byte[] strbuf, myByte;

            //target_pose
            target_pose = new PoseStamped();
            target_pose.Randomize();
        }
Beispiel #3
0
            public override void Randomize()
            {
                int    arraylength = -1;
                Random rand        = new Random();
                int    strlength;

                byte[] strbuf, myByte;

                //start
                start = new PoseStamped();
                start.Randomize();
                //goal
                goal = new PoseStamped();
                goal.Randomize();
                //tolerance
                tolerance = (float)(rand.Next() + rand.NextDouble());
            }
Beispiel #4
0
 public override void Randomize()
 {
     current_pose.Randomize();
 }
 public override void Randomize()
 {
     target_pose.Randomize();
 }