> Sorry the line are:
> float FUtility(float a, float BSX [], float BSY []) {
>
> uint8_t Alfa= 0.5, Beta=0.5;
> float mod, Teta, dmin, d, Phi, U, vettA[2], vettV[2];
>
>
> vettA[0]=(BSX[index])-(local.readGps[reading].latitude) ;
> vettA[1]=(BSY[index])-(local.readGps[reading].longitude);
>
> if (reading==0) {
>
> 113
> ettV[0]=((local.readGps[reading].latitude)
> –(local.readGps[NREADINGS].latitude));
> vettV[1]=((local.readGps[reading].longitude)-
> (local.readGps[NREADINGS].longitude));
> }
>
> else {
> 118
> ettV[0]=((local.readGps[reading].latitude)
> –(local.readGps[reading-1].latitude));
> vettV[1]=((local.readGps[reading].longitude) -
> (local.readGps[reading-1].longitude));
>
> }
> ...
> Regards,
> Omar
>
_______________________________________________
Tinyos-help mailing list
[email protected]
https://www.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help