Skip to content

Commit

Permalink
refactor: rename "Use yaw control" to "Export yaw"
Browse files Browse the repository at this point in the history
  • Loading branch information
ntamas committed Dec 12, 2023
1 parent 85b48bb commit 6ed423b
Show file tree
Hide file tree
Showing 4 changed files with 5 additions and 4 deletions.
2 changes: 1 addition & 1 deletion doc/modules/ROOT/pages/concepts.adoc
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand Down
4 changes: 2 additions & 2 deletions src/modules/sbstudio/plugin/operators/export_to_skyc.py
Original file line number Diff line number Diff line change
Expand Up @@ -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,
)

Expand Down
1 change: 1 addition & 0 deletions src/modules/sbstudio/plugin/operators/utils.py
Original file line number Diff line number Diff line change
Expand Up @@ -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"]}

Expand Down

0 comments on commit 6ed423b

Please sign in to comment.