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

4 views (last 30 days)
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

Answers (1)

Steven Lord
Steven Lord on 30 May 2024
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.

Categories

Find more on Commercial & Off-Highway Vehicles in Help Center and File Exchange

Community Treasure Hunt

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

Start Hunting!