Jump to content

el-gg

Members
  • Content Count

    1
  • Donations

    $0.00 
  • Joined

  • Last visited

Community Reputation

0 Neutral

Flight Sim Profile

  • Commercial Member
    No
  • Online Flight Organization Membership
    none
  • Virtual Airlines
    No
  1. You can also write your py scrip and don't use the webserver. from time import sleep ct_g = millis() # Creat simconnection and pass used user classes sm = SimConnect() aq = AircraftRequests(sm) ae = AircraftEvents(sm) AP_MASTER = ae.find("AP_MASTER") # THROTTLE1 Event # THROTTLE1 = ae.Engine.THROTTLE1_SET # THROTTLE1 Request Throttle = aq.find('GENERAL_ENG_THROTTLE_LEVER_POSITION:1') while not sm.quit: print("Thr=%.1f Alt=%f Lat=%f Lon=%f Ax=%.2f Ay=%.2f Az=%.2f" % ( Throttle.value, aq.PositionandSpeedData.get('PLANE_ALTITUDE'), aq.PositionandSpeedData.get('PLANE_LATITUDE'), aq.PositionandSpeedData.get('PLANE_LONGITUDE'), aq.PositionandSpeedData.get('ACCELERATION_BODY_X'), aq.PositionandSpeedData.get('ACCELERATION_BODY_Y'), aq.PositionandSpeedData.get('ACCELERATION_BODY_Z') )) sleep(2) sm.exit()
×
×
  • Create New...