Skip to content

Commit

Permalink
[ob] Send raw altitude too
Browse files Browse the repository at this point in the history
  • Loading branch information
nzjrs committed Sep 19, 2011
1 parent 32a5032 commit 4f50da7
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 0 deletions.
1 change: 1 addition & 0 deletions sw/onboard/comm_autopilot.c
Expand Up @@ -274,6 +274,7 @@ comm_autopilot_message_send ( CommChannel_t chan, uint8_t msgid )
&ahrs.ltp_to_imu_euler.theta,
&ahrs.ltp_to_imu_euler.psi,
&alt,
&altimeter_calibration_raw,
&cpu_time_sec,
&ticks);
}
Expand Down
1 change: 1 addition & 0 deletions sw/onboard/config/messages.xml
Expand Up @@ -307,6 +307,7 @@
<field name="imu_theta" type="int32" alt_unit="degres" alt_unit_coef="0.0139882"/>
<field name="imu_psi" type="int32" alt_unit="degres" alt_unit_coef="0.0139882"/>
<field name="altitude" type="int32" alt_unit="mm"/>
<field name="altitude_raw" type="uint16"/>
<field name="t" type="uint16"/>
<field name="ticks" type="uint32"/>
</message>
Expand Down

0 comments on commit 4f50da7

Please sign in to comment.