diff --git a/doc/modules/ROOT/pages/concepts.adoc b/doc/modules/ROOT/pages/concepts.adoc index 54b9a0b..8418720 100644 --- a/doc/modules/ROOT/pages/concepts.adoc +++ b/doc/modules/ROOT/pages/concepts.adoc @@ -108,7 +108,7 @@ NOTE: While using the regular return to home, it is not guaranteed that each dro TIP: if you wish to use yaw control, change your default drone object template to something that is not as isotropic as the default icosphere, so that you can also visualize your rotations in Blender. -To export yaw control for your show, check the "Use yaw control" checkbox in the .skyc export panel. +To export yaw control for your show, check the "Export yaw" checkbox in the .skyc export panel. == Useful Blender settings diff --git a/doc/modules/ROOT/pages/panels/safety_and_export/export.adoc b/doc/modules/ROOT/pages/panels/safety_and_export/export.adoc index 6e3a57a..f5fe4b5 100644 --- a/doc/modules/ROOT/pages/panels/safety_and_export/export.adoc +++ b/doc/modules/ROOT/pages/panels/safety_and_export/export.adoc @@ -28,7 +28,7 @@ Trajectory FPS:: Set output frame rate for drone trajectories (make sure it is a Light FPS:: Set the output frame rate for light programs (make sure it is a submultiple of your render FPS) -Use yaw control:: Enable this checkbox to output yaw rotations of your drone objects into the .skyc file +Export yaw:: Enable this checkbox to output rotations around the yaw (vertical) axis of your drone objects into the .skyc file == Export to .csv diff --git a/src/modules/sbstudio/plugin/operators/export_to_skyc.py b/src/modules/sbstudio/plugin/operators/export_to_skyc.py index a2bbb6c..7c9be75 100644 --- a/src/modules/sbstudio/plugin/operators/export_to_skyc.py +++ b/src/modules/sbstudio/plugin/operators/export_to_skyc.py @@ -39,8 +39,8 @@ class SkybrushExportOperator(ExportOperator): # yaw control enable/disable use_yaw_control = BoolProperty( - name="Use yaw control", - description="Specifies whether yaw control should be used during the show", + name="Export yaw", + description="Specifies whether the yaw angle of each drone should be controlled during the show", default=False, ) diff --git a/src/modules/sbstudio/plugin/operators/utils.py b/src/modules/sbstudio/plugin/operators/utils.py index 3d8afde..dcc0780 100644 --- a/src/modules/sbstudio/plugin/operators/utils.py +++ b/src/modules/sbstudio/plugin/operators/utils.py @@ -325,6 +325,7 @@ def export_show_to_file_using_api( ) renderer_params = {} + settings["min_nav_altitude"] = 0.1 if "min_nav_altitude" in settings: renderer_params = {"min_nav_altitude": settings["min_nav_altitude"]}