Module: GPS_PVT::RTCM3::Packet::QZSS_Ephemeris
- Defined in:
- lib/gps_pvt/rtcm3.rb
Constant Summary collapse
- KEY2IDX =
{:svid => 1, :t_oc => 2, :a_f2 => 3, :a_f1 => 4, :a_f0 => 5, :iode => 6, :c_rs => 7, :delta_n => 8, :M0 => 9, :c_uc => 10, :e => 11, :c_us => 12, :sqrt_A => 13, :t_oe => 14, :c_ic => 15, :Omega0 => 16, :c_is => 17, :i0 => 18, :c_rc => 19, :omega => 20, :dot_Omega0 => 21, :dot_i0 => 22, :WN => 24, :URA_index => 25, :SV_health => 26, :t_GD => 27, :iodc => 28}
Instance Method Summary collapse
Instance Method Details
#params ⇒ Object
362 363 364 365 366 367 |
# File 'lib/gps_pvt/rtcm3.rb', line 362 def params # TODO PRN = svid + 192, WN is truncated to 0-1023 res = Hash[*(KEY2IDX.collect{|k, i| [k, self[i][0]]}.flatten(1))] res[:fit_interval] = (self[29][0] != 0) res end |