diff options
author | Eric S. Raymond <esr@thyrsus.com> | 2010-04-11 00:11:31 -0400 |
---|---|---|
committer | Eric S. Raymond <esr@thyrsus.com> | 2010-04-11 00:11:31 -0400 |
commit | f3f5ccd16d882a7be85106044ce47abb4171be85 (patch) | |
tree | ef7a391ffec6de8c3a44d8c9eb18cf8fdbcaeffd /gps.h | |
parent | 4bd0d82e4302dea0f094e9406daa57d4217e2f72 (diff) | |
download | gpsd-f3f5ccd16d882a7be85106044ce47abb4171be85.tar.gz |
Improve and dicument the JSON report for digital compasses.
Diffstat (limited to 'gps.h')
-rw-r--r-- | gps.h | 13 |
1 files changed, 7 insertions, 6 deletions
@@ -839,14 +839,15 @@ struct attitude_t { double magnetic_field_y; double magnetic_field_z; double acceleration_length; /* unitvector sqrt(x^2 + y^2 +z^2) */ - double acceleration_field_x; - double acceleration_field_y; - double acceleration_field_z; - double gyro_output_x; - double gyro_output_y; + double acceleration_x; + double acceleration_y; + double acceleration_z; + double gyro_x; + double gyro_y; double temperature; + double depth; /* compass status -- TrueNorth (and any similar) devices only */ - char heading_st; + char mag_st; char pitch_st; char roll_st; char yaw_st; |