JuliaSpace/SatelliteToolboxBase.jl: v2.1.0
Résumé fourni par la source
SatelliteToolboxBase v2.1.0 Diff since v2.0.1 The rich representations of the orbit types follow the layout of the orbit data messages of SatelliteToolboxOrbitDataMessages.jl: the header is followed by one field per line with a left-aligned label, the value rounded to 10 significant digits, and the unit, where ° hugs the value. The labels were renamed accordingly (Semi-Major Axis, RA of Asc. Node, Arg. of Periapsis). If the output supports color, the header and the labels are bold and the units are dimmed. Make the helpers that print the representations public, so that the other packages of the ecosystem can print their types with the same layout: print_compact, print_tree, print_tree_body, print_fields, print_node, print_status, epoch_string, format_value, and type_name, together with the types PrintedField and PrintedSection. They are not exported and live in src/show/helpers.jl. The rich representation is a tree whose sections are drawn as nodes and can hold subsections, and print_tree_body is overloaded by the orbit types so that a wrapper can print their body under its own header. Register the StyledStrings faces :satellitetoolbox_base_title, :satellitetoolbox_base_node, :satellitetoolbox_base_tree, :satellitetoolbox_base_label, and :satellitetoolbox_base_unit at load time, which the users can customize.