Skip to content
uvsqsat.ksy 49.9 KiB
Newer Older
        type: u1
      - id: supervisor_minor_version
        type: u1
      - id: supervisor_patch_version
        type: u1
      - id: supervisor_git_head_version
        type: u4
      - id: supervisor_serial_number
        type: u2
      - id: compilation_information
        size: 19
      - id: clock_speed
        type: u1
      - id: code_type
        type: u1
      - id: crc_8
        type: u1
      - id: sw_mmode
        type: u1
      - id: last_reset_reason
        type: u1
      - id: reserved 
        type: u1
      - id: nb_reset
        type: u1
      - id: reserved2 
        type: u1
      - id: deploy_antennas_system
        type: u1
      - id: nb_tm_since_first_start
        type: u4
      - id: nb_tc_since_first_start
        type: u4
      - id: nb_bad_tc_since_first_start
        type: u4
      - id: nb_tm_in_sdcard
        type: u4
      - id: sdcard_status
        type: u1
      - id: sdcard_last_error
        type: u4
      - id: old_time_t_m_in_sdcard
        type: b56
      - id: new_time_t_m_in_sdcard
        type: b56
xtof's avatar
xtof committed
    instances:
      dummydummy:
       value: dummy
      spi_command_status_raw:
       value: spi_command_status
      supervisor_index_of_subsystem_raw:
       value: supervisor_index_of_subsystem
      supervisor_major_version_raw:
       value: supervisor_major_version
      supervisor_minor_version_raw:
       value: supervisor_minor_version
      supervisor_patch_version_raw:
       value: supervisor_patch_version
      supervisor_git_head_version_raw:
       value: supervisor_git_head_version
      supervisor_serial_number_raw:
       value: supervisor_serial_number
xtof's avatar
xtof committed
      compilation_information_byte:
xtof's avatar
xtof committed
       value: compilation_information
      clock_speed_raw:
       value: clock_speed
      code_type_raw:
       value: code_type
      crc_8_raw:
       value: crc_8
      sw_mmode_raw:
       value: sw_mmode
      last_reset_reason_raw:
       value: last_reset_reason
      reserved_raw:
       value: reserved
      nb_reset_raw:
       value: nb_reset
      reserved2_raw: 
       value: reserved2
      deploy_antennas_system_raw:
       value: deploy_antennas_system
      nb_tm_since_first_start_raw:
       value: nb_tm_since_first_start
      nb_tc_since_first_start_raw:
       value: nb_tc_since_first_start
      nb_bad_tc_since_first_start_raw:
       value: nb_bad_tc_since_first_start
      nb_tm_in_sdcard_raw:
       value: nb_tm_in_sdcard
      sdcard_status_raw:
       value: sdcard_status
      sdcard_last_error_raw:
       value: sdcard_last_error
      old_time_t_m_in_sdcard_raw:
       value: old_time_t_m_in_sdcard
      new_time_t_m_in_sdcard_raw:
       value: new_time_t_m_in_sdcard    
################################################################################
#
#   trxvutx HK
#
################################################################################    
    
  trxvutx_hk:
xtof's avatar
xtof committed
      - id: trxvutx_instantaneous_rf_reflected_power_from_transmitter_port
        type : b12
xtof's avatar
xtof committed
      - id: trxvutx_instantaneous_rf_forward_power_from_transmitter_port
        type : b12
xtof's avatar
xtof committed
      - id: trxvutx_supply_voltage
        type : b12
xtof's avatar
xtof committed
      - id: trxvutx_total_supply_current
        type : b12
xtof's avatar
xtof committed
      - id: trxvutx_transmitter_current
        type : b12
xtof's avatar
xtof committed
      - id: trxvutx_receiver_current
        type : b12
xtof's avatar
xtof committed
      - id: trxvutx_power_amplifier_current
        type : b12
xtof's avatar
xtof committed
      - id: trxvutx_power_amplifier_temperature
        type : b12 
xtof's avatar
xtof committed
      - id: trxvutx_local_oscillator_temperature
        type : b12
xtof's avatar
xtof committed
      - id: trxvutx_zero_padding
        type: b4 
      - id: trxvu_tx_uptime
        type: u4
      - id: trxvu_tx_state
        type: u1 
    instances:
xtof's avatar
xtof committed
        trxvutx_instantaneous_rf_reflected_power_from_transmitter_port_mw:
xtof's avatar
xtof committed
          value: 1000.0 * trxvutx_instantaneous_rf_reflected_power_from_transmitter_port * trxvutx_instantaneous_rf_reflected_power_from_transmitter_port * 5.887 * 0.00001
xtof's avatar
xtof committed
        trxvutx_instantaneous_rf_forward_power_from_transmitter_port_mw:
xtof's avatar
xtof committed
          value: 1000.0 * trxvutx_instantaneous_rf_forward_power_from_transmitter_port * trxvutx_instantaneous_rf_forward_power_from_transmitter_port * 5.887 * 0.00001
xtof's avatar
xtof committed
        trxvutx_supply_voltage_v:
          value: 0.00488 * trxvutx_supply_voltage   
        trxvutx_total_supply_current_ma: 
          value: 0.16643964 * trxvutx_total_supply_current 
        trxvutx_transmitter_current_ma:
          value: trxvutx_transmitter_current * 0.16643964
        trxvutx_receiver_current_ma:
          value: trxvutx_receiver_current * 0.16643964
        trxvutx_power_amplifier_current_ma:
xtof's avatar
xtof committed
          value: 1000.0 * trxvutx_power_amplifier_current * 0.16643964
xtof's avatar
xtof committed
        trxvutx_power_amplifier_temperature_c:
          value: trxvutx_power_amplifier_temperature * -0.07669 + 195.6037
        trxvutx_local_oscillator_temperature_c:
xtof's avatar
xtof committed
          value: trxvutx_local_oscillator_temperature *  -0.07669 + 195.6037
xtof's avatar
xtof committed
        trxvutx_zero_padding_raw:
          value: trxvutx_zero_padding
xtof's avatar
xtof committed
        trxvu_tx_uptime_raw:
          value: trxvu_tx_uptime
        trxvu_tx_state_raw:
xtof's avatar
xtof committed
          value: trxvu_tx_state
xtof's avatar
xtof committed
        
################################################################################
#
#   imtq  HK
#
################################################################################        
        
  imtq_hk:
    seq:
      - id: digitale_voltage
        type: u2  
      - id: analog_voltage
        type: u2   
      - id: digital_current
        type: u2  
      - id: analog_current
        type: u2  
      - id: measure_coil_x_current
        type: u2  
      - id: measure_coil_y_current
        type: u2  
      - id: measure_coil_z_current
        type: u2  
      - id: measure_coil_x_temperature
        type: u2  
      - id: measure_coil_y_temperature
        type: u2  
      - id: measure_coil_z_temperature
        type: u2  
      - id: mcu_temperature
        type: u2  
xtof's avatar
xtof committed
      - id: imtq_system_state_mode
xtof's avatar
xtof committed
      - id: imtq_system_state_error
xtof's avatar
xtof committed
      - id: imtq_system_state_configuration
xtof's avatar
xtof committed
      - id: imtq_system_state_uptime
    instances:
        digitale_voltage_v:
          value: 2 *  (2.5/4095) * digitale_voltage   
        analog_voltage_v: 
          value: 2 *  (2.5/4095) * analog_voltage
xtof's avatar
xtof committed
        digital_current_raw:
          value: digital_current  
        analog_current_raw:
          value: analog_current 
xtof's avatar
xtof committed
        measure_coil_x_current_ma:
xtof's avatar
xtof committed
          value:  1000.0 * (( (2.5/4095) * measure_coil_x_current) -1.03)/2.0
xtof's avatar
xtof committed
        measure_coil_y_current_ma:
xtof's avatar
xtof committed
          value:   1000.0 * (( (2.5/4095) * measure_coil_y_current) -1.03)/2.0
xtof's avatar
xtof committed
        measure_coil_z_current_ma:
xtof's avatar
xtof committed
          value:  1000.0 *  (( (2.5/4095) * measure_coil_z_current) -1.03)/0.48   
xtof's avatar
xtof committed
        measure_coil_x_temperature_c:
          value: (( (2.5/4095) * measure_coil_x_temperature) -1.567) * -1.0 /0.0081
xtof's avatar
xtof committed
        measure_coil_y_temperature_c:
          value: (( (2.5/4095) * measure_coil_y_temperature) -1.567) * -1.0 /0.0081 
xtof's avatar
xtof committed
        measure_coil_z_temperature_c:
          value: (( (2.5/4095) * measure_coil_z_temperature) -1.567) * -1.0 /0.0081        
xtof's avatar
xtof committed
        mcu_temperature_c:
xtof's avatar
xtof committed
          value:  (( (2.5/4095) * mcu_temperature) -0.680) * - 1.0 / 0.00225
xtof's avatar
xtof committed
        imtq_system_state_mode_raw:
          value: imtq_system_state_mode 
        imtq_system_state_error_raw:
          value: imtq_system_state_error  
        imtq_system_state_configuration_raw:
          value: imtq_system_state_configuration
        imtq_system_state_uptime_raw:
          value: imtq_system_state_uptime          
xtof's avatar
xtof committed
          
################################################################################
#
#   beacon
#
################################################################################           
          
  beacon:
    seq:
      - id: sw_mode
        type: u1
      - id: last_reset_reason
        type: u1
      - id: reset_order
        type: u1
      - id: nb_reset
        type: u1
      - id: format_sdcard_order
        type: u1
      - id: deploy_antennas_system
        type: u1
      - id: nb_tm_since_first_start
        type: u4
      - id: nb_tc_since_first_start
        type: u4
xtof's avatar
xtof committed
      - id: nb_tc_ping_since_first_start
        type: u4
      - id: nb_bad_tc_since_first_start
        type: u4
xtof's avatar
xtof committed
      - id: nb_tm_in_sdcard
        type: u4
xtof's avatar
xtof committed
      - id: trxvutx_instantaneous_rf_reflected_power_from_transmitter_port
xtof's avatar
xtof committed
      - id: trxvutx_instantaneous_rf_forward_power_from_transmitter_port
xtof's avatar
xtof committed
      - id: trxvutx_supply_voltage
xtof's avatar
xtof committed
      - id: trxvutx_total_supply_current
xtof's avatar
xtof committed
      - id: trxvutx_transmitter_current
xtof's avatar
xtof committed
      - id: trxvutx_receiver_current
xtof's avatar
xtof committed
      - id: trxvutx_power_amplifier_current
xtof's avatar
xtof committed
      - id: trxvutx_power_amplifier_temperature
xtof's avatar
xtof committed
      - id: trxvutx_local_oscillator_temperature
xtof's avatar
xtof committed
      - id: trxvurx_instantaneous_received_signal_doppler_offset_at_the_receiver_port
xtof's avatar
xtof committed
      - id: trxvurx_instantaneous_received_signal_strength_at_the_receiver_port
xtof's avatar
xtof committed
      - id: trxvurx_supply_voltage
xtof's avatar
xtof committed
      - id: trxvurx_total_supply_current
xtof's avatar
xtof committed
      - id: trxvurx_transmitter_current
xtof's avatar
xtof committed
      - id: trxvurx_receiver_current
xtof's avatar
xtof committed
      - id: trxvurx_power_amplifier_current
xtof's avatar
xtof committed
      - id: trxvurx_power_amplifier_temperature
xtof's avatar
xtof committed
      - id: trxvurx_local_oscillator_temperature
xtof's avatar
xtof committed
      - id: imtq_system_state_mode
        type: u1
      - id: measure_coil_x_current
        type: u2
      - id: measure_coil_y_current
        type: u2
      - id: measure_coil_z_current
        type: u2
      - id: measure_coil_x_temperature
        type: u2
      - id: measure_coil_y_temperature
        type: u2
      - id: measure_coil_z_temperature
        type: u2
xtof's avatar
xtof committed
      - id: mcu_temperature
xtof's avatar
xtof committed
      - id: side_a_ants_temperature
xtof's avatar
xtof committed
      - id: side_a_ants_deployment_status
xtof's avatar
xtof committed
      - id: volt_brd_sup_raw
xtof's avatar
xtof committed
      - id: temp_raw
xtof's avatar
xtof committed
      - id: v_dist_input_raw
        type: u2
xtof's avatar
xtof committed
      - id: i_dist_input_raw
        type: u2
xtof's avatar
xtof committed
      - id: p_dist_input_raw
        type: u2
xtof's avatar
xtof committed
      - id: v_batt_input_raw
        type: u2
xtof's avatar
xtof committed
      - id: i_batt_input_raw
        type: u2
xtof's avatar
xtof committed
      - id: p_batt_input_raw
        type: u2
      - id: stat_obc_on
        type: u2
      - id: stat_obc_ocf
        type: u2
      - id: bat_stat
        type: u2
xtof's avatar
xtof committed
      - id: bat_temp_2_raw
        type: u2
      - id: volt_vd0
        type: u2
      - id: volt_vd1
        type: u2
      - id: volt_vd2
        type: u2
xtof's avatar
xtof committed
      - id: v_obc_00
xtof's avatar
xtof committed
        type: u2
xtof's avatar
xtof committed
      - id: i_obc_00
xtof's avatar
xtof committed
        type:  u2
xtof's avatar
xtof committed
      - id: p_obc_00
xtof's avatar
xtof committed
        type:  u2
xtof's avatar
xtof committed
      - id: v_obc_01
xtof's avatar
xtof committed
        type: u2
xtof's avatar
xtof committed
      - id: i_obc_01
xtof's avatar
xtof committed
        type:  u2
xtof's avatar
xtof committed
      - id: p_obc_01
xtof's avatar
xtof committed
        type:  u2
xtof's avatar
xtof committed
      - id: v_obc_02
xtof's avatar
xtof committed
        type: u2
xtof's avatar
xtof committed
      - id: i_obc_02
xtof's avatar
xtof committed
        type:  u2
xtof's avatar
xtof committed
      - id: p_obc_02
xtof's avatar
xtof committed
        type:  u2
xtof's avatar
xtof committed
      - id: v_obc_03
xtof's avatar
xtof committed
        type: u2
xtof's avatar
xtof committed
      - id: i_obc_03
xtof's avatar
xtof committed
        type:  u2
xtof's avatar
xtof committed
      - id: p_obc_03
xtof's avatar
xtof committed
        type:  u2
xtof's avatar
xtof committed
      - id: v_obc_05
xtof's avatar
xtof committed
        type: u2
xtof's avatar
xtof committed
      - id: i_obc_05
xtof's avatar
xtof committed
        type:  u2
xtof's avatar
xtof committed
      - id: p_obc_05
xtof's avatar
xtof committed
        type:  u2
xtof's avatar
xtof committed
      - id: v_obc_06
xtof's avatar
xtof committed
        type: u2
xtof's avatar
xtof committed
      - id: i_obc_06
xtof's avatar
xtof committed
        type:  u2
xtof's avatar
xtof committed
      - id: p_obc_06
xtof's avatar
xtof committed
        type:  u2
xtof's avatar
xtof committed
      - id: status_stid
        type: u1
      - id: status_ivid
        type: u1
      - id: status_rc
xtof's avatar
xtof committed
      - id: status_bid
        type: u1
      - id: status_cmderr
        type: b4
      - id: status_stat
        type: b4
      - id: mode
        type: u1
      - id: conf
        type: u1
      - id: reset_cause
        type: u1
xtof's avatar
xtof committed
      - id: uptime
        type: u4
      - id: error
        type: u2
      - id: rc_cnt_pwron
        type: u2
      - id: rc_cnt_wdg
        type: u2
      - id: rc_cnt_cmd
        type: u2
      - id: rc_cnt_mcu
        type: u2     
      - id: rc_cnt_emlopo
        type: u2
      - id: prevcmd_elapsed
        type: u2      
xtof's avatar
xtof committed
      - id: photodiode_1
xtof's avatar
xtof committed
        type: u2
xtof's avatar
xtof committed
      - id: photodiode_2
xtof's avatar
xtof committed
        type: u2
xtof's avatar
xtof committed
      - id: photodiode_3
xtof's avatar
xtof committed
        type: u2
xtof's avatar
xtof committed
      - id: photodiode_4
xtof's avatar
xtof committed
        type: u2
xtof's avatar
xtof committed
      - id: photodiode_5
xtof's avatar
xtof committed
        type: u2
xtof's avatar
xtof committed
      - id: photodiode_6
xtof's avatar
xtof committed
        type: u2
xtof's avatar
xtof committed
      - id: panel_temperature_1
xtof's avatar
xtof committed
        type: s4
xtof's avatar
xtof committed
      - id: panel_temperature_2
xtof's avatar
xtof committed
        type: s4
xtof's avatar
xtof committed
      - id: panel_temperature_3
xtof's avatar
xtof committed
        type: s4
xtof's avatar
xtof committed
      - id: panel_temperature_4
xtof's avatar
xtof committed
        type: s4
xtof's avatar
xtof committed
      - id: panel_temperature_5
xtof's avatar
xtof committed
        type: s4
xtof's avatar
xtof committed
      - id: panel_temperature_6
xtof's avatar
xtof committed
        type: s4    
xtof's avatar
xtof committed

    instances: 
xtof's avatar
xtof committed

        sw_mode_raw:
          value:  sw_mode
xtof's avatar
xtof committed
          doc: |
           : mode value 
           MODE_INIT = 0 
           MODE_DETUMBLING = 1 
           MODE_STANDBY = 2 
           MODE_OPERATIONAL = 3 
           MODE_SAFE = 4 
           MODE_TRANSPONDER = 5
xtof's avatar
xtof committed
        last_reset_reason_raw:
          value:  last_reset_reason
xtof's avatar
xtof committed
          doc: |
           : last reset value
           First start = 0 
           TC Init received = 0x80 
           No TC since 4 days = 0x81 
           Unknown reason = 0x81
xtof's avatar
xtof committed
        reset_order_raw:
          value:  reset_order
          doc: |
           Order by TC = 0xCA
           No order = 0
xtof's avatar
xtof committed
        nb_reset_raw:
          value:  nb_reset
        format_sdcard_order_raw:
          value:  format_sdcard_order
          doc: |
           Order to Format SdCard 0 = 0
           Order to Format SdCard 1 = 1
           Order to NOT Format SdCard 0 = 0xAC
           Order to NOT Format SdCard 1 = 0xAD

xtof's avatar
xtof committed
        deploy_antennas_system_raw:
          value:  deploy_antennas_system
xtof's avatar
xtof committed
          doc : |
           : value 
           Nominal = 0 
           No deploy = 0x11 
           Deployment Debug = 0xDB
xtof's avatar
xtof committed
        nb_tm_since_first_start_raw:
          value:  nb_tm_since_first_start
        nb_tc_since_first_start_raw:
          value:  nb_tc_since_first_start
        nb_tc_ping_since_first_start_raw:
          value:  nb_tc_ping_since_first_start
        nb_bad_tc_since_first_start_raw:
          value:  nb_bad_tc_since_first_start
        nb_tm_in_sdcard_raw:
          value:  nb_tm_in_sdcard
xtof's avatar
xtof committed
        trxvutx_instantaneous_rf_reflected_power_from_transmitter_port_mw:
          value: 1000.0 * trxvutx_instantaneous_rf_reflected_power_from_transmitter_port * trxvutx_instantaneous_rf_reflected_power_from_transmitter_port * 5.887 * 0.00001
        trxvutx_instantaneous_rf_forward_power_from_transmitter_port_mw:
          value: 1000.0 * trxvutx_instantaneous_rf_forward_power_from_transmitter_port * trxvutx_instantaneous_rf_forward_power_from_transmitter_port * 5.887 * 0.00001
xtof's avatar
xtof committed
        trxvutx_supply_voltage_v:
          value: 0.00488 * trxvutx_supply_voltage 
        trxvutx_total_supply_current_ma: 
          value: 0.16643964 * trxvutx_total_supply_current 
        trxvutx_transmitter_current_ma:
          value: trxvutx_transmitter_current * 0.16643964
        trxvutx_receiver_current_ma:
          value: trxvutx_receiver_current * 0.16643964
        trxvutx_power_amplifier_current_ma:
xtof's avatar
xtof committed
          value: 1000.0 * trxvutx_power_amplifier_current * 0.16643964
xtof's avatar
xtof committed
        trxvutx_power_amplifier_temperature_c:
          value: trxvutx_power_amplifier_temperature * -0.07669 + 195.6037
        trxvutx_local_oscillator_temperature_c:
          value: trxvutx_local_oscillator_temperature * -0.07669 + 195.6037
        trxvurx_instantaneous_received_signal_doppler_hz:
          value: (trxvurx_instantaneous_received_signal_doppler_offset_at_the_receiver_port * 13.552) - 22300        
        trxvurx_instantaneous_received_signal_strength_dbm:
          value: trxvurx_instantaneous_received_signal_strength_at_the_receiver_port*0.03-152
        trxvurx_supply_voltage_v:
          value: 0.00488 * trxvurx_supply_voltage   
        trxvurx_total_supply_current_ma: 
          value: 0.16643964 * trxvurx_total_supply_current
        trxvurx_transmitter_current_ma:
          value: trxvurx_transmitter_current * 0.16643964
        trxvurx_receiver_current_ma:
          value: trxvurx_receiver_current * 0.16643964
        trxvurx_power_amplifier_current_ma:
xtof's avatar
xtof committed
          value: 1000.0 *  trxvurx_power_amplifier_current *0.16643964
xtof's avatar
xtof committed
        trxvurx_power_amplifier_temperature_c:
          value: trxvurx_power_amplifier_temperature *-0.07669+195.6037
        trxvurx_local_oscillator_temperature_c:
          value: trxvurx_local_oscillator_temperature *-0.07669+195.6037
        imtq_system_state_mode_raw:
          value: imtq_system_state_mode
xtof's avatar
xtof committed
          doc:  |
           value :
           IDLE = 0 
           SELFTEST = 1 
           DETUMBLE = 2
xtof's avatar
xtof committed
        measure_coil_x_current_ma:
xtof's avatar
xtof committed
          value:  1000.0 * (( (2.5/4095) * measure_coil_x_current) -1.03)/2.0
xtof's avatar
xtof committed
        measure_coil_y_current_ma:
xtof's avatar
xtof committed
          value:  1000.0 *  (( (2.5/4095) * measure_coil_y_current) -1.03)/2.0
xtof's avatar
xtof committed
        measure_coil_z_current_ma:
xtof's avatar
xtof committed
          value:  1000.0 * (( (2.5/4095) * measure_coil_z_current) -1.03)/0.48   
xtof's avatar
xtof committed
        measure_coil_x_temperature_c:
xtof's avatar
xtof committed
          value: (( (2.5/4095) * measure_coil_x_temperature) -1.567) * -1.0 /0.0081
xtof's avatar
xtof committed
        measure_coil_y_temperature_c:
xtof's avatar
xtof committed
          value: (( (2.5/4095) * measure_coil_y_temperature) -1.567) * -1.0 /0.0081 
xtof's avatar
xtof committed
        measure_coil_z_temperature_c:
xtof's avatar
xtof committed
          value: (( (2.5/4095) * measure_coil_z_temperature) -1.567) * -1.0 /0.0081        
        mcu_temperature_c:
          value:  (( (2.5/4095) * mcu_temperature) -0.680) * - 1.0 /0.00225
xtof's avatar
xtof committed
        side_a_ants_temperature_raw:
          value: side_a_ants_temperature
        side_a_ants_deployment_status_raw:
          value: side_a_ants_deployment_status
        volt_brd_sup_raw_v: 
         value: volt_brd_sup_raw * 1000.0 / 819.0
        # ?? To be check - not coherent 
        temp_raw_t: 
         value: ((temp_raw -1168)*220.0/9.0 )/ 100.0
        v_dist_input_raw_v: 
         value: (v_dist_input_raw * 125.0/128.0)/ 1000.0
xtof's avatar
xtof committed
        i_dist_input_raw_ma: 
xtof's avatar
xtof committed
         value: i_dist_input_raw * 3125.0/10240.0 
        p_dist_input_raw_mw: 
         value: p_dist_input_raw *3125.0 / 3200.0
        v_batt_input_raw_v: 
         value: (v_batt_input_raw * 125.0/128.0)/ 1000.0
        i_batt_input_raw_ma: 
xtof's avatar
xtof committed
         value: 1000.0 * ( i_batt_input_raw * 3125.0/10240.0 )
xtof's avatar
xtof committed
        p_batt_input_raw_mw:
         value: p_batt_input_raw *3125.0 / 3200.0
xtof's avatar
xtof committed
        stat_obc_on_raw:
          value: stat_obc_on
          doc: |
             bit n = 1 indicates the channel n is ON 9 firsts bits used
xtof's avatar
xtof committed
        stat_obc_ocf_raw:
          value: stat_obc_ocf
          doc: |
              bit n = 1 indicates a overcurrent on the channel n 9 firsts bits used
xtof's avatar
xtof committed
        bat_stat_raw:
          value: bat_stat
xtof's avatar
xtof committed
        bat_temp_2_raw_t: 
         value: bat_temp_2_raw * -0.047715407918 +98.38261483
xtof's avatar
xtof committed
        volt_vd0_raw:
          value: volt_vd0
        volt_vd1_raw:
          value: volt_vd1
        volt_vd2_raw: 
          value: volt_vd2
xtof's avatar
xtof committed
        v_obc_00_v:
         value: (v_obc_00  *125.0/128.0)/ 1000.0
        i_obc_00_ma:
         value: i_obc_00 *3125.0/20480.0
        p_obc_00_mw:
         value: p_obc_00 *3125.0 / 6400.0
        v_obc_01_v:
         value: ( v_obc_01  *125.0/128.0)/ 1000.0
        i_obc_01_ma:
         value: i_obc_01 *3125.0/20480.0
        p_obc_01_mw:
         value: p_obc_01 *3125.0 / 6400.0
        v_obc_02_v:
         value: (v_obc_02  *125.0/128.0)/ 1000.0
        i_obc_02_ma:
         value: i_obc_02 *3125.0/20480.0
        p_obc_02_mw:
         value: p_obc_02 *3125.0 / 6400.0   
        v_obc_03_v:
         value: (v_obc_03  *125.0/128.0)/ 1000.0
        i_obc_03_ma:
         value: i_obc_03 *3125.0/20480.0
        p_obc_03_mw:
         value: p_obc_03 *3125.0 / 6400.0
        v_obc_05_v:
         value: (v_obc_05  *125.0/128.0)/ 1000.0
        i_obc_05_ma:
         value: i_obc_05 *3125.0/20480.0
        p_obc_05_mw:
         value: p_obc_05 *3125.0 / 6400.0
        v_obc_06_v:
         value: (v_obc_06  *125.0/128.0)/ 1000.0
        i_obc_06_ma:
         value: i_obc_06 *3125.0/20480.0
        p_obc_06_mw :
         value: p_obc_06 *3125.0 / 6400.0
xtof's avatar
xtof committed
        status_stid_raw:
          value: status_stid
        status_ivid_raw:
          value: status_ivid
        status_rc_raw:
          value: status_rc
        status_bid_raw:
          value: status_bid
        status_cmderr_raw:
          value: status_cmderr
        status_stat_raw:
          value: status_stat
        mode_raw:
          value: mode
xtof's avatar
xtof committed
          doc: |
           value :
           0 = Startup 
           1 = Nominal 
           2 = Safety 
           3 = Emergency low power 8
          
xtof's avatar
xtof committed
        conf_raw:
          value: conf
xtof's avatar
xtof committed
          doc: |
           value : 
           0 = Parameters have not been altered since the last load/save.
           1 = Parameters have been altered since the last load/save.
xtof's avatar
xtof committed
        reset_cause_raw:
          value: reset_cause
xtof's avatar
xtof committed
          doc: |
           value : 
           0 = Power-on; system returned from an unpowered state (e.g. power cycle). 
           1 = Watchdog; system was reset due to watchdog timeout, caused by a too-long delay between command interactions with the parent system. 
           2 = Commanded; system was reset after having received a reset command. 
           3 = Control system reset; an upset in the EPS control system caused a reset. 
           4 = Emlopo; emergency low power mode was engaged because the input voltage dropped below the threshold.
xtof's avatar
xtof committed
        uptime_raw:
          value: uptime
        error_raw:
          value: error
        rc_cnt_pwron_raw:
          value: rc_cnt_pwron
        rc_cnt_wdg_raw:
          value: rc_cnt_wdg
        rc_cnt_cmd_raw:
          value: rc_cnt_cmd
        rc_cnt_mcu_raw:
          value: rc_cnt_mcu
        rc_cnt_emlopo_raw:
          value: rc_cnt_emlopo
        prevcmd_elapsed_raw:
          value: prevcmd_elapsed
xtof's avatar
xtof committed
        photodiode_1_raw:
          value: photodiode_1
        photodiode_2_raw:
          value: photodiode_2
        photodiode_3_raw:
          value: photodiode_3
        photodiode_4_raw:
          value: photodiode_4
        photodiode_5_raw:
          value: photodiode_5
        photodiode_6_raw:
          value: photodiode_6
        panel_temperature_1_c:
          value:  panel_temperature_1 / 1024.0
        panel_temperature_2_c:
          value:  panel_temperature_2 / 1024.0
        panel_temperature_3_c:
          value:  panel_temperature_3 / 1024.0
        panel_temperature_4_c:
          value:  panel_temperature_4 / 1024.0
        panel_temperature_5_c:
          value:  panel_temperature_5 / 1024.0
        panel_temperature_6_c:
          value:  panel_temperature_6 / 1024.0