Ah, fixed. Sorry.


On Sat, Jan 25, 2014 at 8:33 AM, lilvinz <notifications@github.com> wrote:

> In flight/Modules/AltitudeHold/altitudehold.c:
>
> >
> >  	// Main task loop
> > -	while (1) {
> > -
> > -		if (state == AH_RESET) {
> > -			/* Reset all the EKF variables */
> > -			memset(z, 0, sizeof(z));
> > -			memset(V, 0, sizeof(V));
> > -			memset(accels_accum, 0, sizeof(accels_accum));
> > -			accel_downsample_count = 0;
> > -
> > -			/* Set initial variances */
> > -			V[0][0] = 10.0f;
> > -			V[1][1] = 100.0f;
> > -			V[2][2] = 100.0f;
> > -			V[3][3] = 1000.0f;
> > +	uint32_t dt_ms = 5;
>
> Timeout is changed there but not dt_ms. James Cotton <
> notifications@github.com> schrieb:
> … <#143c9d204c8b38d3_>
> > > // Main task loop > - while (1) { > - > - if (state == AH_RESET) { > -
> /* Reset all the EKF variables */ > - memset(z, 0, sizeof(z)); > -
> memset(V, 0, sizeof(V)); > - memset(accels_accum, 0, sizeof(accels_accum));
> > - accel_downsample_count = 0; > - > - /* Set initial variances */ > -
> V[0][0] = 10.0f; > - V[1][1] = 100.0f; > - V[2][2] = 100.0f; > - V[3][3] =
> 1000.0f; > + uint32_t dt_ms = 5; No. It is changed on 165 --- Reply to this
> email directly or view it on GitHub:
> https://github.com/TauLabs/TauLabs/pull/1080/files#r9171626
>
> —
> Reply to this email directly or view it on GitHub<https://github.com/TauLabs/TauLabs/pull/1080/files#r9171638>
> .
>