How can I customize a built-in Class"Help​erOrientat​ionViewer(​)"

5 次查看(过去 30 天)
I'm trying to get the real-time orientation of the IMU9250 sensor by following the documentation: "Estimating Orientation Using Inertial Sensor Fusion and MPU-9250"
Can I customize the HelperOrientationViewer() class? I want to add another 3D object to the 3D plot. I also want to change the normal 3D object to another mesh STL object. and I want to change the scale of each axis to be more bigger. How can I do these?
I tryed to use poseplot() function, but it is too slow comparing to HelperOrientationViewer() class

回答(1 个)

Steven Lord
Steven Lord 2024-5-30
Are you referring to this documentation page?
If so use the Copy Command button on that page to copy the command to open the example to the clipboard, then paste it into the MATLAB Command Window and execute it. MATLAB will change directory to the directory containing the files for the example. One of those files is HelperOrientationViewer.m. I strongly suggest making a backup copy of the example helper file before you try modifying it, so that if something goes wrong with your modifications you can restore the original version of the helper file.
If you're looking for help with how to modify that example helper file, I'm afraid I can't help you with that. I don't have any experience with Sensor Fusion and Tracking Toolbox.

类别

Help CenterFile Exchange 中查找有关 Commercial & Off-Highway Vehicles 的更多信息

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by