示例#1
0
文件: Path.cs 项目: GiovannyJTT/GCS
 /// <summary>
 /// Adds a point
 /// </summary>
 /// <param name="point"></param>
 /// <param name="pathpoint"></param>
 public void AddPointWithGimball(Point point, PathPoint pathpoint)
 {
     point.Id = waypoints.Count;
     waypoints.Add(point);
     if (waypoints.Count == 1)
     {
         pathpoint.FirstWaypoint();
         gimbal_update_parameters.Add(pathpoint.Wp.gimbal_parameters);
     }
 }