Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 4 additions & 2 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -70,7 +70,9 @@ sbp_out.*
.build/

# rust
/Cargo.lock
/target
Cargo.lock
target/
rust/sbp/Cargo.lock
rust/sbp/target

python/sbp/_version.py
26 changes: 22 additions & 4 deletions c/include/libsbp/cpp/message_traits.h
Original file line number Diff line number Diff line change
Expand Up @@ -925,29 +925,47 @@ struct MessageTraits<msg_ssr_phase_biases_t> {


template<>
struct MessageTraits<msg_ssr_stec_correction_t> {
struct MessageTraits<msg_ssr_stec_correction_dep_a_t> {
static constexpr u16 id = 1515;
};


template<>
struct MessageTraits<msg_ssr_gridded_correction_no_std_t> {
struct MessageTraits<msg_ssr_gridded_correction_no_std_dep_a_t> {
static constexpr u16 id = 1520;
};


template<>
struct MessageTraits<msg_ssr_grid_definition_t> {
struct MessageTraits<msg_ssr_grid_definition_dep_a_t> {
static constexpr u16 id = 1525;
};


template<>
struct MessageTraits<msg_ssr_gridded_correction_t> {
struct MessageTraits<msg_ssr_tile_definition_t> {
static constexpr u16 id = 1526;
};


template<>
struct MessageTraits<msg_ssr_gridded_correction_dep_a_t> {
static constexpr u16 id = 1530;
};


template<>
struct MessageTraits<msg_ssr_stec_correction_t> {
static constexpr u16 id = 1531;
};


template<>
struct MessageTraits<msg_ssr_gridded_correction_t> {
static constexpr u16 id = 1532;
};


template<>
struct MessageTraits<msg_osr_t> {
static constexpr u16 id = 1600;
Expand Down
26 changes: 17 additions & 9 deletions c/include/libsbp/observation.h
Original file line number Diff line number Diff line change
Expand Up @@ -371,8 +371,16 @@ typedef struct SBP_ATTR_PACKED {
float af1; /**< Polynomial clock correction coefficient (clock drift) [s/s] */
float af2; /**< Polynomial clock correction coefficient (rate of clock drift) [s/s^2] */
gps_time_sec_t toc; /**< Clock reference */
u8 iode; /**< Issue of ephemeris data */
u16 iodc; /**< Issue of clock data */
u8 iode; /**< Issue of ephemeris data

Calculated from the navigation data parameter t_oe per RTCM/CSNO recommendation:
IODE = mod (t_oe / 720, 240)
*/
u16 iodc; /**< Issue of clock data

Calculated from the navigation data parameter t_oe per RTCM/CSNO recommendation:
IODE = mod (t_oc / 720, 240)
*/
} msg_ephemeris_bds_t;


Expand Down Expand Up @@ -405,8 +413,8 @@ typedef struct SBP_ATTR_PACKED {
double af1; /**< Polynomial clock correction coefficient (clock drift) [s/s] */
float af2; /**< Polynomial clock correction coefficient (rate of clock drift) [s/s^2] */
gps_time_sec_t toc; /**< Clock reference */
u16 iode; /**< Issue of ephemeris data */
u16 iodc; /**< Issue of clock data */
u16 iode; /**< Issue of data (IODnav) */
u16 iodc; /**< Issue of data (IODnav). Always equal to iode */
} msg_ephemeris_gal_dep_a_t;


Expand Down Expand Up @@ -441,9 +449,9 @@ typedef struct SBP_ATTR_PACKED {
double af1; /**< Polynomial clock correction coefficient (clock drift) [s/s] */
float af2; /**< Polynomial clock correction coefficient (rate of clock drift) [s/s^2] */
gps_time_sec_t toc; /**< Clock reference */
u16 iode; /**< Issue of ephemeris data */
u16 iodc; /**< Issue of clock data */
u8 source; /**< 0=I/NAV, 1=F/NAV, ... */
u16 iode; /**< Issue of data (IODnav) */
u16 iodc; /**< Issue of data (IODnav). Always equal to iode */
u8 source; /**< 0=I/NAV, 1=F/NAV */
} msg_ephemeris_gal_t;


Expand Down Expand Up @@ -559,7 +567,7 @@ typedef struct SBP_ATTR_PACKED {
double vel[3]; /**< Velocity vector of the SV at tb in PZ-90.02 coordinates system [m/s] */
double acc[3]; /**< Acceleration vector of the SV at tb in PZ-90.02 coordinates sys [m/s^2] */
u8 fcn; /**< Frequency slot. FCN+8 (that is [1..14]). 0 or 0xFF for invalid */
u8 iod; /**< Issue of ephemeris data */
u8 iod; /**< Issue of data. Equal to the 7 bits of the immediate data word t_b */
} msg_ephemeris_glo_dep_d_t;


Expand All @@ -581,7 +589,7 @@ typedef struct SBP_ATTR_PACKED {
double vel[3]; /**< Velocity vector of the SV at tb in PZ-90.02 coordinates system [m/s] */
float acc[3]; /**< Acceleration vector of the SV at tb in PZ-90.02 coordinates sys [m/s^2] */
u8 fcn; /**< Frequency slot. FCN+8 (that is [1..14]). 0 or 0xFF for invalid */
u8 iod; /**< Issue of ephemeris data */
u8 iod; /**< Issue of data. Equal to the 7 bits of the immediate data word t_b */
} msg_ephemeris_glo_t;


Expand Down
Loading