You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Is there any way to customize internal flight controller for multirotors?
The document says Airsim has a built-in flight controller called simple_flight, which uses a cascade of PID controllers. How could I change them into custom controllers like Lead-Lag Compensator or Geometric Control.
I’m aware that Quadrotor flight controller receives desired state input such as position and angle level, and ouputs 4 PWM values to control the propellers with actual state. So I presume it’s possible to replace what’s between?
I know there are some feasible options available right now:
1.using external controller such as PX4
2.using python API “moveByMotorPWMsAsync” with calculated PWM values in python files
But I’m completely unfamiliar of PX4, and my ultimate goal is to achieve a total-simulation game (no hardware involved) in unreal engine, with controlling UI where you can change types and parameters of controllers. Considering UE’s limited support for python, I’m afraid none of these options would work.
I also noticed in a6aee1c?diff=split
the author showed specific details of making simple_flight extensible for Adaptive Controller. Does this apply to all other controllers? Thank you!
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
-
Is there any way to customize internal flight controller for multirotors?
The document says Airsim has a built-in flight controller called simple_flight, which uses a cascade of PID controllers. How could I change them into custom controllers like Lead-Lag Compensator or Geometric Control.
I’m aware that Quadrotor flight controller receives desired state input such as position and angle level, and ouputs 4 PWM values to control the propellers with actual state. So I presume it’s possible to replace what’s between?
I know there are some feasible options available right now:
1.using external controller such as PX4
2.using python API “moveByMotorPWMsAsync” with calculated PWM values in python files
But I’m completely unfamiliar of PX4, and my ultimate goal is to achieve a total-simulation game (no hardware involved) in unreal engine, with controlling UI where you can change types and parameters of controllers. Considering UE’s limited support for python, I’m afraid none of these options would work.
I also noticed in a6aee1c?diff=split
the author showed specific details of making simple_flight extensible for Adaptive Controller. Does this apply to all other controllers? Thank you!
Beta Was this translation helpful? Give feedback.
All reactions