慣性センサーのハードウェア接続
これらの例では、Sensor Fusion and Tracking Toolbox™ に用意されているアルゴリズムを使用して、慣性センサーを設定し、センサー データにアクセスし、それらのデータを処理する方法について説明します。
注目の例
Estimate Orientation with a Complementary Filter and IMU Data
Stream IMU data from an Arduino board and estimate orientation using a complementary filter.
Estimating Orientation Using Inertial Sensor Fusion and MPU-9250
Obtain data from an InvenSense MPU-9250 IMU sensor, and to use the 6-axis and 9-axis fusion algorithms in the sensor data to compute orientation of the device.
Wireless Data Streaming and Sensor Fusion Using BNO055
Get data from a Bosch BNO055 IMU sensor through an HC-05 Bluetooth® module, and to use the 9-axis AHRS fusion algorithm on the sensor data to compute orientation of the device. The example creates a figure which gets updated as you move the device.
- R2021a 以降
- ライブ スクリプトを開く
Binaural Audio Rendering Using Head Tracking
Track head orientation by fusing data received from an IMU, and then control the direction of arrival of a sound source by applying head-related transfer functions (HRTF).
- R2021a 以降
- ライブ スクリプトを開く
センサー フュージョンを使用した電話の向きの推定
MATLAB® Mobile™ は、Apple または Android® のモバイル デバイスの加速度計、ジャイロスコープ、および磁力計からのセンサー データをレポートします。各センサーからの生データまたは融合した向きのデータを取得できます。この例では、電話からの融合した向きのデータをahrsfilter (Navigation Toolbox)オブジェクトからの向きの推定と比較する方法を示します。
- R2021a 以降
- ライブ スクリプトを開く
Estimate Orientation Using AHRS Filter and IMU Data in Simulink
Stream IMU data from sensors connected to Arduino® board and estimate orientation using AHRS filter and IMU sensor.
- R2022a 以降
- モデルを開く
MATLAB Command
You clicked a link that corresponds to this MATLAB command:
Run the command by entering it in the MATLAB Command Window. Web browsers do not support MATLAB commands.
Web サイトの選択
Web サイトを選択すると、翻訳されたコンテンツにアクセスし、地域のイベントやサービスを確認できます。現在の位置情報に基づき、次のサイトの選択を推奨します:
また、以下のリストから Web サイトを選択することもできます。
最適なサイトパフォーマンスの取得方法
中国のサイト (中国語または英語) を選択することで、最適なサイトパフォーマンスが得られます。その他の国の MathWorks のサイトは、お客様の地域からのアクセスが最適化されていません。
南北アメリカ
- América Latina (Español)
- Canada (English)
- United States (English)
ヨーロッパ
- 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)




