waypointInfo
説明
は、trajectoryInfo
= waypointInfo(trajectory
)trajectory
System object™ のウェイポイント、到着時間、速度、および方向の table を返します。
例
既定の waypointTrajectory
の作成
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
入力引数
trajectory
— waypointTrajectory
のオブジェクト
オブジェクト
waypointTrajectory
System object のオブジェクト。
出力引数
trajectoryInfo
— 軌跡情報
table
軌跡情報。設定されている作成プロパティ Waypoints、TimeOfArrival、Velocities、および Orientation に対応する変数を含む table として返されます。
軌跡情報の table には変数 Waypoints
と TimeOfArrival
が常に含まれています。作成時に Velocities
プロパティが設定されている場合、軌跡情報の table ではさらに速度が返されます。作成時に Orientation
プロパティが設定されている場合、軌跡情報の table ではさらに方向が返されます。
バージョン履歴
R2022a で導入
MATLAB コマンド
次の MATLAB コマンドに対応するリンクがクリックされました。
コマンドを MATLAB コマンド ウィンドウに入力して実行してください。Web ブラウザーは MATLAB コマンドをサポートしていません。
Select a Web Site
Choose a web site to get translated content where available and see local events and offers. Based on your location, we recommend that you select: .
You can also select a web site from the following list:
How to Get Best Site Performance
Select the China site (in Chinese or English) for best site performance. Other MathWorks country sites are not optimized for visits from your location.
Americas
- América Latina (Español)
- Canada (English)
- United States (English)
Europe
- Belgium (English)
- Denmark (English)
- Deutschland (Deutsch)
- España (Español)
- Finland (English)
- France (Français)
- Ireland (English)
- Italia (Italiano)
- Luxembourg (English)
- Netherlands (English)
- Norway (English)
- Österreich (Deutsch)
- Portugal (English)
- Sweden (English)
- Switzerland
- United Kingdom (English)