How to set vehicle parameters(ex. mass) in UAV toolbox HITL Examples

1 回表示 (過去 30 日間)
SeungWoo Park
SeungWoo Park 2022 年 10 月 31 日
コメント済み: SeungWoo Park 2022 年 11 月 4 日
Hello, everyone
I'm Park, I have studied Desiging drone controllers using UAV toolbox.
and I am following this examples :
and I followed every step in the examples.
So I want to design controllers, but I don't know how to change vehicle specifications.
The controllers' gains are changed by mass, moment of inertias.
How I change vehicle specifications in jmavsim HITL simulation?
I checked the PX4's parameter list through Qgroundcontrol, but I couldn't find related parameters.

採用された回答

Manoj Velmurugan
Manoj Velmurugan 2022 年 11 月 4 日
  • Open Firmware\Tools\jMAVSim\src\me\drton\jmavsim\Simulator.java
  • Look for 'vehicle.setMomentOfInertia' line and edit the vehicle properties. Save the file
  • Relaunch jMAVSim ./Tools/jmavsim_run.sh -l

その他の回答 (0 件)

製品


リリース

R2021b

Community Treasure Hunt

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

Start Hunting!

Translated by