Repository navigation
KiteControllers v0.4.2
Changed
- the plot functions of the examples (before
examples/plot_functions.jlandexamples/plot_helpers.jl) moved to the new local package KitePlots inlib/KitePlots, which is part of the system image. Defined inMain, they could not be stored in it: the first plot of a log, e.g. with the OK button next toplot_mainin the autopilot, took about 20 s to compile, mostly for the very large log type. The system image has to be created again withbin/create_sys_image - the plot functions that take a log lost their leading underscore and are public in KitePlots, e.g.
KitePlots.plot_main(log)instead of_plot_main(log); the variants_plot_elev_az_n,_plot_side_view_nand_plot_front_view_nbecame an optional argumentcycle_numberofplot_elev_az,plot_side_viewandplot_front_view - the precompile script of the system image also calls
plot_powerwithoutenergy, as the autopilot does; before, its first plot took about 5 s to compile bin/update_default_manifestsaccepts the path dependency KitePlots, as it does KiteControllers itselfexamples/autopilot.jlcreates the 3D viewer withpx_per_unit=1.0(new constantPX_PER_UNIT); at 2.0, the replay with 12x speed missed its 12.5 ms deadline 6-9 % of the time on a laptop, at 1.0 it misses noneexamples/autopilot.jlno longer causes JETLS warnings: fields ofKiteAppand the menus of the viewer, which can benothing, are read with type assertions or with the new accessorsviewer(),viewer_menu(name),viewer_t_sim()andviewer_btn_OK()
Fixed
install_examples()copies the local package KitePlots tolib/KitePlotsand adds it withPkg.develop; before,examples/autopilot.jl,examples/plots.jlandexamples/batch_plot.jlfailed in an installation from the registry with "Package KitePlots not found"bin/installfailed in a new, empty Julia depot with "no registries have been installed"; it now adds the General registry if no registry exists, and otherwise updates the registriesbin/update_default_manifestsfailed under Julia 1.12 with aKeyErrorin the precompilation; it now loads Pkg before activating the projectbin/create_sys_imageprecompiles Revise only if it is installed, becausebin/install -yno longer installs it in the global environment
Merged pull requests:
- bin/install: meet the documented behaviour (#83) (@ufechner7)
- Fix update_default_manifests under Julia 1.12 and create_sys_image without Revise (#84) (@ufechner7)
- Move the plot functions of the examples to the package KitePlots (#85) (@ufechner7)
- autopilot: fix the JETLS warnings (#86) (@ufechner7)