メインコンテンツ

このページの内容は最新ではありません。最新版の英語を参照するには、ここをクリックします。

waypointInfo

R2026a

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

説明

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

例

例

すべて折りたたむ

trajectory = waypointTrajectory
trajectory = 
  waypointTrajectory with properties:

         SampleRate: 100
    SamplesPerFrame: 1
          Waypoints: [2×3 double]
      TimeOfArrival: [2×1 double]
         Velocities: [2×3 double]
             Course: [2×1 double]
        GroundSpeed: [2×1 double]
          ClimbRate: [2×1 double]
        Orientation: [2×1 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 のオブジェクト。

出力引数

すべて折りたたむ

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

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

バージョン履歴

R2019b で導入

参考

オブジェクト

関数