code: def cmd_sensors(self, args):
          '''show key sensors'''
          gps_heading = self.status.msgs['GPS_RAW_INT'].cog * 0.01
  
          self.console.writeln("heading: %u/%u   alt: %u/%u  r/p: %u/%u speed: %u/%u  thr: %u" % (
              self.status.msgs['VFR_HUD'].heading,
              gps_heading,
              self.status.altitude,
              self.gps_alt,
              math.degrees(self.status.msgs['ATTITUDE'].roll),
              math.degrees(self.status.msgs['ATTITUDE'].pitch),
              self.status.msgs['VFR_HUD'].airspeed,
              self.status.msgs['VFR_HUD'].groundspeed,
              self.status.msgs['VFR_HUD'].throttle)f cmd_sensors(self, args):
          '''show key sensors'''
          gps_heading = self.status.msgs['GPS_RAW_INT'].cog * 0.01
  
          self.console.writeln("heading: %u/%u   alt: %u/%u  r/p: %u/%u speed: %u/%u  thr: %u" % (
              self.status.msgs['VFR_HUD'].heading,
              gps_heading,
              self.status.altitude,
              self.gps_alt,
              math.degrees(self.status.msgs['ATTITUDE'].roll),
              math.degrees(self.status.msgs['ATTITUDE'].pitch),
              self.status.msgs['VFR_HUD'].airspeed,
              self.status.msgs['VFR_HUD'].groundspeed,
              self.status.msgs['VFR_HUD'].throttle))
docs: show key sensors