Ignore:
Timestamp:
06/10/12 12:50:30 (12 years ago)
Author:
István Váradi <ivaradi@…>
Branch:
default
hg-Phase:
(<MercurialRepository 1 'hg:/home/ivaradi/mlx/hg' '/'>, 'public')
Message:

Added the logging of the CoG value

File:
1 edited

Legend:

Unmodified
Added
Removed
  • src/mlx/fsuipc.py

    r240 r243  
    11621162                      ("windSpeed", 0x0e90, "H"),
    11631163                      ("windDirection", 0x0e92, "H"),
    1164                       ("visibility", 0x0e8a, "H")]
    1165 
     1164                      ("visibility", 0x0e8a, "H"),
     1165                      ("cog", 0x2ef8, "f")]
    11661166
    11671167    specialModels = []
     
    13381338
    13391339        state.visibility = data[self._monidx_visibility]*1609.344/100.0
     1340       
     1341        state.cog = data[self._monidx_cog]
    13401342       
    13411343        return state
Note: See TracChangeset for help on using the changeset viewer.