how to change angular rate frequency coming from estimator px4 support package

5 views (last 30 days)
How can we change sample time for angular rate coming from estimator with px4 support package in simulink? we tried changing sample time parameter in vehicle attiude block but always got 100Hz frequency.

Answers (1)

Manoj Velmurugan
Manoj Velmurugan on 1 Dec 2022
Edited: Manoj Velmurugan on 2 Dec 2022
'Vehicle Attitude' block uses vehicle_odometry uORB topic internally, which happens to publish at 100 Hz. For obtaining the angular velocity at higher rates, you can use the vehicle_angular_velocity topic.
Refer to our documentation to know more about reading uORB topics in Simulink.

Categories

Find more on Modeling 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!