Changeset 207:af232f0c349b for src


Ignore:
Timestamp:
05/30/12 15:56:55 (12 years ago)
Author:
István Váradi <ivaradi@…>
Branch:
default
Phase:
public
Message:

Changed the order of the fuel tanks in the log printout as well

File:
1 edited

Legend:

Unmodified
Added
Removed
  • src/mlx/acft.py

    r206 r207  
    698698        """Log the amount of fuel"""
    699699        self.logger.message(aircraftState.timestamp,
    700                             "Fuel: left aux=%.0f kg - left tip=%.0f kg - centre= %.0f kg - right tip=%.0f kg - right aux=%.0f kg - external 1=%.0f kg - external 2=%.0f kg" % \
    701                             (aircraftState.fuel[1], aircraftState.fuel[0],
     700                            "Fuel: left tip=%.0f kg - external 1=%.0f kg - left aux=%.0f kg - centre= %.0f kg - right aux=%.0f kg - external 2=%.0f kg - right tip=%.0f kg" % \
     701                            (aircraftState.fuel[0], aircraftState.fuel[1],
    702702                             aircraftState.fuel[2],
    703                              aircraftState.fuel[4], aircraftState.fuel[3],
     703                             aircraftState.fuel[3], aircraftState.fuel[4],
    704704                             aircraftState.fuel[5], aircraftState.fuel[6]))
    705705        self.logger.message(aircraftState.timestamp,
Note: See TracChangeset for help on using the changeset viewer.