1
0
mirror of https://bitbucket.org/librepilot/librepilot.git synced 2025-01-29 14:52:12 +01:00

ahrs: remove debug code in attitude handler

Debug code was previously using the q4 element
in the attitude message to encode a cycle counter
to measure performance on the AHRS.  This is no
longer valid.

git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@1357 ebee16cc-31ac-478f-84a7-5cbb03baadba
This commit is contained in:
stac 2010-08-21 16:23:14 +00:00 committed by stac
parent 26e257d340
commit b36d251bd9

View File

@ -711,10 +711,6 @@ void process_spi_request(void)
user_tx_v1.payload.user.v.rsp.attitude.euler.pitch = attitude_data.euler.pitch;
user_tx_v1.payload.user.v.rsp.attitude.euler.yaw = attitude_data.euler.yaw;
dump_spi_message(PIOS_COM_AUX, "A", (uint8_t *)&user_tx_v1, sizeof(user_tx_v1));
#if 1
/* DEBUG: Overload q4 as a cycle counter since last read. */
attitude_data.quaternion.q4 = 0;
#endif
lfsm_user_set_tx_v1 (&user_tx_v1);
break;
default: