- I resolve the PRN text scaling issue by comparing the scaled text height with the available space. If there is not enough space available, the scaling factor is updated so the final scale factor fills the available space as much as possible. If the height limit has been reached, the corrected scaling is applied to both the PRN and the SNR text to keep both about the same size. - This scaling works fine on my Windows PC. I therefore removed the maximum width limit for the snrwidget. (was 850px) The snr widget will now take up all available width. This does not mean that individual bars will be scaled to fit the width of the widget. However I have implemented a two step scaling for that. If there are less than 16 visible satellites, the width of each bar is calculated based on a total of 16 bars in the view. Just like before my changes. If there are more than 16 satellites visible, the number of bars displayed is incremented from 16 to 24. An aging based hysteresis has been added to prevent continuous flapping between both states. I think this solution is aesthetically more pleasing than scaling the width of the bars to the width of the widget. Especially for low number of satellites. (This solution would show massive bars if only a few satellites are visible) - Since there was no copyright header in gpssnrwidget.cpp and gpssnrwidget.h, I have added one. The OP line is based on the last changes seen in the OP repo.
About the LibrePilot Project
Open - Collaborative - Free
The LibrePilot open source project was founded in July 2015. It focuses on research and development of software and hardware to be used in a variety of applications including vehicle control and stabilization, unmanned autonomous vehicles and robotics. One of the project’s primary goals is to provide an open and collaborative environment making it the ideal home for development of innovative ideas.
LibrePilot welcomes and encourages exchange and collaboration with other projects, like adding support for existing hardware or software in collaboration under the spirit of open source.
LibrePilot finds its roots in the OpenPilot project and the founding members are all long-standing contributors in that project.
The LibrePilot Project will be governed by a board of members using consensual methods to make important decisions and to set the overall direction of the project.
The LibrePilot source code is released under the OSI approved GPLv3 license. Integral text of the license can be found at www.gnu.org
Links for the LibrePilot Project
- Main project web site
- Project forums
- Software downloads
- Wiki
- Source code repository
- Mirror
- Issue tracker
- Gitter Chat
- IRC: #LibrePilot on FreeNode
Builder | Status |
---|---|
Travis CI | |
Tea CI |