Main Content

waypointInfo

ウェイポイント情報の table を取得する

R2022a 以降

説明

trajectoryInfo = waypointInfo(trajectory) は、trajectory System object™ のウェイポイント、到着時間、速度、および方向の table を返します。

すべて折りたたむ

trajectory = waypointTrajectory
trajectory = 
  waypointTrajectory with properties:

         SampleRate: 100
    SamplesPerFrame: 1
          Waypoints: [2x3 double]
      TimeOfArrival: [2x1 double]
         Velocities: [2x3 double]
             Course: [2x1 double]
        GroundSpeed: [2x1 double]
          ClimbRate: [2x1 double]
        Orientation: [2x1 quaternion]
          AutoPitch: 0
           AutoBank: 0
     ReferenceFrame: 'NED'

waypointInfo を呼び出して、既定のウェイポイントと到着時間を検査します。既定では、ウェイポイントは 1 秒間の静止位置を示します。

waypointInfo(trajectory)
ans=2×2 table
    TimeOfArrival     Waypoints 
    _____________    ___________

          0          0    0    0
          1          0    0    0

入力引数

すべて折りたたむ

waypointTrajectory System object のオブジェクト。

出力引数

すべて折りたたむ

軌跡情報。設定されている作成プロパティ WaypointsTimeOfArrivalVelocities、および Orientation に対応する変数を含む table として返されます。

軌跡情報の table には変数 WaypointsTimeOfArrival が常に含まれています。作成時に Velocities プロパティが設定されている場合、軌跡情報の table ではさらに速度が返されます。作成時に Orientation プロパティが設定されている場合、軌跡情報の table ではさらに方向が返されます。

バージョン履歴

R2022a で導入

参考

オブジェクト

関数