-
Notifications
You must be signed in to change notification settings - Fork 129
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
1. add initial model for base / fuselage 2. add mesh for engine and spinner 3. reorient and recentre fuselage mesh - Orientation should be for normal flight mode (ROS convention x-forward, y-left, z-up) 4. update texture name in motor mesh 5. add ENU axis to runway for orientation 6. add IMU sensor and link 7. fix scaling error in exported fuselage mesh 8. enable IMU link and reorient plane vertically in world 9. add system plugins JointStatePublisher and ApplyJointForce for motors 10. add ardupilot plugin and reassign motor positions to match wiki - Assign servos according to docs for NYT QUAD X Motor Tailsitter - Correct plugin comments 11. add sphere collision for legs - Add sphere collisions for legs to improve performance - mesh collisions need to be replaced. 12. add prop visuals and materials - Add prop materials and visuals - Add PBS material for the fuselage 13. add param file from RF model 14. update prop visuals - Use CCW and CW props visuals as required 15. update param file - Set SERVOX_FUNCTION as for x-frame, quad - Set Q_TAILSIT_MOTMX 4 16. update motor and prop collisions and prop orientation - Temp set prop colours to assist identifying 17. add initial draft of prop lift-drag plugins 18. update motor link and joint poses - Set motor link relative to joint - Position joints and rotate into place - Align motor axis to local +z (simplifies lift-drag plugin config) 19. update inertials - Reduce mass of fuselage and motors 20. update example world name and increase motor joint damping 21. convert motors to NYT QUAD X Motor Tailsitter config - Change lift directions on props for altered config - Add box collision to allow arming in horizontal orientation - Update params (AHRS_ORIENTATION, Q_FRAME_TYPE, Q_TAILSIT_MOTMX) 22. cant motors from vertical by 10 deg - cant motors towards wingtips 23. add lift drag and visual markers for wings and winglets 24. revert frame type back to X-Quad - Motor angle directions are suitable for X-Quad config - Revert to Q_FRAME_TYPE = 1 - Update RC input limits 25. conservative tune VTOL mode - Tune Q_A_RAT_RLL_*, Q_A_RAT_PIT_*, Q_A_RAT_YAW_* - Set I = P = 0.05, D = 0, SMAX = 50 - Disable rudder arm / disarm - Set ARSPD_TYPE = 0 (no airspeed sensor) - Set RC2_REVERSED = 0 (was reversed) 26. update for ignition to gz migration. 27. update the Swan-K1 model - Add vertical stabilisers. - Update the prop PID controller settings - NB: the command limits. - Add RTF control to the world file. 28. update the Swan-K1 params - Auto-tuned VTOL params. - Match settings from AP defaults. 29. Gazebo: Add model for Swan-K1-HWing - Update Swan-K1 params, modify forward flight to VT transition params. - Update Swan-K1 document. - Update Swan-K1 model visuals. - Update Swan-K1 documentation. Signed-off-by: Rhys Mainwaring <[email protected]>
- Loading branch information
1 parent
a036d16
commit d97e2e9
Showing
21 changed files
with
4,032 additions
and
0 deletions.
There are no files selected for viewing
Large diffs are not rendered by default.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,32 @@ | ||
# Swan-K1 Copter Tailsitter Quadplane | ||
|
||
Model for the Swan-K1 copter tailsitter quadplane for use with ArduPilot. | ||
It is derived from the [version prepared for RealFlight](https://github.com/ArduPilot/SITL_Models/tree/master/RealFlight/Released_Models/QuadPlanes/Tailsitters/Swan_K-1_HWing). | ||
|
||
|
||
 | ||
|
||
|
||
## Usage | ||
|
||
Gazebo and the plugins should be installed as per the [ArduPilot Gazebo Plugin](https://github.com/ArduPilot/ardupilot_gazebo) instructions. | ||
|
||
Update the `GZ_SIM_RESOURCE_PATH` to include these models: | ||
|
||
```bash | ||
export GZ_SIM_RESOURCE_PATH=$GZ_SIM_RESOURCE_PATH:\ | ||
$HOME/SITL_Models/Gazebo/models:\ | ||
$HOME/SITL_Models/Gazebo/worlds | ||
``` | ||
|
||
#### Run Gazebo | ||
|
||
```bash | ||
$ gz sim -v4 -r swan_k1_hwing_runway.sdf | ||
``` | ||
|
||
#### Run ArduPilot SITL | ||
|
||
```bash | ||
$ sim_vehicle.py -v ArduPlane -f JSON --add-param-file=$HOME/SITL_Models/Gazebo/config/swan_k1_hwing.param --console --map | ||
``` |
Binary file not shown.
Binary file added
BIN
+19.6 KB
Gazebo/models/swan_k1_hwing/materials/textures/blue_metal/blue_metal_basecolor.jpg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added
BIN
+19.4 KB
Gazebo/models/swan_k1_hwing/materials/textures/blue_metal/blue_metal_metallic.jpg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added
BIN
+311 KB
Gazebo/models/swan_k1_hwing/materials/textures/blue_metal/blue_metal_normal.jpg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added
BIN
+408 KB
Gazebo/models/swan_k1_hwing/materials/textures/blue_metal/blue_metal_roughness.jpg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file not shown.
Binary file added
BIN
+48.9 KB
...ls/swan_k1_hwing/materials/textures/metal_graphite/metal_graphite_basecolor.jpg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added
BIN
+19.8 KB
...els/swan_k1_hwing/materials/textures/metal_graphite/metal_graphite_metallic.jpg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added
BIN
+334 KB
...odels/swan_k1_hwing/materials/textures/metal_graphite/metal_graphite_normal.jpg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added
BIN
+53.8 KB
...ls/swan_k1_hwing/materials/textures/metal_graphite/metal_graphite_roughness.jpg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file not shown.
Large diffs are not rendered by default.
Oops, something went wrong.
Large diffs are not rendered by default.
Oops, something went wrong.
296 changes: 296 additions & 0 deletions
296
Gazebo/models/swan_k1_hwing/meshes/swan_k1_hwing_engine.dae
Large diffs are not rendered by default.
Oops, something went wrong.
569 changes: 569 additions & 0 deletions
569
Gazebo/models/swan_k1_hwing/meshes/swan_k1_hwing_fuselage.dae
Large diffs are not rendered by default.
Oops, something went wrong.
242 changes: 242 additions & 0 deletions
242
Gazebo/models/swan_k1_hwing/meshes/swan_k1_hwing_motor.dae
Large diffs are not rendered by default.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,23 @@ | ||
<?xml version="1.0"?> | ||
<model> | ||
<name>Swan K-1 HWing</name> | ||
<version>1.0</version> | ||
<sdf version='1.7'>model.sdf</sdf> | ||
|
||
<author> | ||
<name>Brandon MacDougall</name> | ||
</author> | ||
|
||
<author> | ||
<name>Andrew Tridgell</name> | ||
</author> | ||
|
||
<author> | ||
<name>Rhys Mainwaring</name> | ||
<email>[email protected]</email> | ||
</author> | ||
|
||
<description> | ||
This is a model of a Swan K-1 HWing with ArduPilot integration. | ||
</description> | ||
</model> |
Oops, something went wrong.