Exemplo n.º 1
0
        /// <summary>
        /// given current robot location, goal bearing and distance, compute and fill goalGeoPosition
        /// </summary>
        public void computeGoalGeoPosition(IRobotPose currentPose)
        {
            var pos = new GeoPosition(currentPose.geoPosition);

            pos.translateToDirection(new Direction()
            {
                heading = goalBearingDegrees
            }, new Distance(goalDistanceMeters.Value));
            goalGeoPosition = pos;
        }