Helpers for various tasks. More...
Go to the source code of this file.
Namespaces | |
sbg | |
sbg::helpers | |
Functions | |
template<class T > | |
const T & | sbg::helpers::clamp (const T &value, const T &min, const T &max) |
sbg::SbgVector3d | sbg::helpers::convertLLAtoECEF (double latitude, double longitude, double altitude) |
NmeaGGAQuality | sbg::helpers::convertSbgGpsTypeToNmeaGpsType (SbgEComGpsPosType sbg_gps_type) |
uint32_t | sbg::helpers::getNumberOfDaysInMonth (uint16_t year, uint8_t month_index) |
uint32_t | sbg::helpers::getNumberOfDaysInYear (uint16_t year) |
int32_t | sbg::helpers::getUtcOffset (bool first_valid_utc, uint32_t gps_tow, uint8_t sec) |
bool | sbg::helpers::isLeapYear (uint16_t year) |
float | sbg::helpers::wrapAngle360 (float angle_deg) |
float | sbg::helpers::wrapAnglePi (float angle_rad) |
Helpers for various tasks.
Helpers for various tasks.
MIT License
Copyright (c) 2023 SBG Systems
Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:
The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
Definition in file sbg_ros_helpers.h.