-
Notifications
You must be signed in to change notification settings - Fork 798
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Increasing plane size in Gazebo #1033
Comments
I have a similar problem: However I struggle to find the correct mass and inertia for the control surfaces/rotor puller/imu. So, how should the inertias of the control surfaces be set and what is their effect on the force calculation? |
@NickatETH @gurselturkeri In principle, given that the assumption the model structure and model parameter values are correct, the behavior of the vehicle should be the same.
You need to identify them from the real vehicle. I understand that how to identify these parameters are not clear. However, your simulation is as good as your model. Therefore if you don't have accurate values for your target model, the simulation will be as far away as you have the wrong parameter values. Note that you need to get ALL the values correct for your target model, not just the subset of the parameter values. If the behavior is different to your real vehicle, either some of the parameter values are not correct OR the what the advancedliftdrag plugin is simulating is not the appropriate model for your target vehicle. |
Just so I understand correct: The other ones are just the moving parts on the plane ( for example the elevator in line 287-298) Is that correct? |
Yes, although I doubt that there is any merit on trying to model the inertia of the moving parts of the plane. Matching the inertia to your designed CAD model would not result in a realistic simulation. Gazebo physics are not accurate enough to assess performance/behavior of the vehicle. You can read through how you can utilize AVL to generate a reasonable model of the vehicle here: https://docs.px4.io/main/en/sim_gazebo_gz/tools_avl_automation.html
The position itself is just visualization, but the way the plugin works is that it reads the joint values to calculate the forces induced by the control surface:
|
I added advance drag lift and other plugins on cessna model but when I command takeoff front wheel get starting vibrate and cessna can not takeoff. Also rear wheels looks collision with landing gears. vlc-record-2024-03-11-15h44m03s-size.mp4-.mp4 |
Hi, I am using px4 autopilot with gazebo simulator. I would like to increasing advaned_plane size to more realistic which is in sitl_gazebo-classic but it has a lot of parameter depends on each other such as mass, inertia, motor, CLa,CL0,CD0,AR etc. For instance I will set mass 650kg then what will do other parameters? Thanks.
https://github.com/PX4/PX4-SITL_gazebo-classic/blob/f754540e714642fea897445e69a675245bc6306a/models/advanced_plane/advanced_plane.sdf.jinja
The text was updated successfully, but these errors were encountered: