Namespaces | Enumerations | Functions
sbg_ros_helpers.h File Reference

Helpers for various tasks. More...

#include <sbgEComLib.h>
#include <sbg_vector3.h>
#include <cstdint>
Include dependency graph for sbg_ros_helpers.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Namespaces

 sbg
 
 sbg::helpers
 

Enumerations

enum  sbg::helpers::NmeaGGAQuality : int32_t {
  sbg::helpers::NmeaGGAQuality::INVALID = 0, sbg::helpers::NmeaGGAQuality::SINGLE = 1, sbg::helpers::NmeaGGAQuality::DGPS = 2, sbg::helpers::NmeaGGAQuality::PPS = 3,
  sbg::helpers::NmeaGGAQuality::RTK_FIXED = 4, sbg::helpers::NmeaGGAQuality::RTK_FLOAT = 5, sbg::helpers::NmeaGGAQuality::DEAD_RECKONING = 6, sbg::helpers::NmeaGGAQuality::STATIC_POSITION = 7,
  sbg::helpers::NmeaGGAQuality::SIMULATED = 8
}
 

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)
 

Detailed Description

Helpers for various tasks.

Author
SBG Systems
Date
25/08/2023

Helpers for various tasks.

Copyright Notice

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.



sbg_driver
Author(s): SBG Systems
autogenerated on Fri Oct 11 2024 02:13:40