-
Notifications
You must be signed in to change notification settings - Fork 121
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
Gazebo: add X-UAV Mini Talon V-Tail #98
base: master
Are you sure you want to change the base?
Conversation
Hello, thank you for your work. As you shared, I tested the mini-talon model in the Gazebo Garden simulation with my own Dronekit test code. I will explain both the process and the results below: Setup
TestAs a result of my testing, I am sharing a few graphics and BIN files as follows: Also we can look at TECS Controller and Attitude Controller and L1 controller for Loitering: Which this seems as Roll Controller and L1 controller give a good performance. But in the TECS controller and Pitch controller cause an oscillation. It cannot be said that the performance of the pitch controller is good either. Additionally, since the height adjustment is not made properly, there is probably an oscillation in the speed output. You can access the log file from the link below. I think the problem is obvious, but I don't know how to proceed. I'm looking forward to your help :) |
3d027f0
to
c03813c
Compare
Hi @imamim, thanks for the detailed analysis. The model was put together to help some students looking to simulate a plane for a competition: https://discuss.ardupilot.org/t/v-tail-gazebo-sitl-qgroundcontrol/103198 and so contained the basic model and integration but was not fully tuned. IIRC the simulated prop thrust may be on the low side, so some of the physics params in the SDF file may need tweaking to address that before the ArduPilot tune is completed. As there is no airspeed sensor the FCU is using the default I'll take another look and see if I can get the issues you note resolved and the PR merged. |
- Add body link and visual and collision meshes. - Add wheel link. - Add wheel link - cleanup. - Add aileron links. - Add rudder links. - Update position controller PIDs. - Add rudder links - cleanup. - Position motor and prop. - Add motor link and thrust controller. - Rename cockpit frame to forward deck. - Rename rudder to ruddervator. - Change control surface limits. - Add ArduPilot plugin configured for v-tail. - Add initial ArduPilot param file. - Add doc. - Update wheel link orientation and inertial. - Move mesh origin to geometric centre. - Update inertial. - Update motor link inertial. - Update base link inertial. - Add cp visuals for main wing. - Add lift-drag plugin for main wing. - Switch order of wheel collision and visual elements. - Update aileron link orientation and inertial. - Move mesh origin to geometric centre. - Update inertial and controller PIDs. - Update motor velocity controller PIDs. - Update lift-drag plugin for main wing. - Update lift-drag plugin for v-tail. - Add visuals for v-tail centre of pressure. - Move mesh origin to geometric centre. - Update inertial and controller PIDs. - Add lift-drag plugins for v-tail and ruddervator. - Add notes. - Switch to lift-drag for prop thrust. - Use motor / pusher inertial from zephyr. - Increase gains on position controllers. - Update params autotuning roll and pitch. - Update doc. Signed-off-by: Rhys Mainwaring <[email protected]>
c03813c
to
8f9a446
Compare
@srmainwaring very cool you added this model! |
An X-UAV Mini Talon V-Tail plane
Usage
Gazebo and the plugins should be installed as per the ArduPilot Gazebo Plugin instructions.
Update the
GZ_SIM_RESOURCE_PATH
to include these models:Run Gazebo
Run ArduPilot SITL
sim_vehicle.py -v ArduPlane -f JSON --add-param-file=$HOME/SITL_Models/Gazebo/config/mini_talon_vtail.param --console --map
Tasks