Page 1 of 1

i2C GPS NEO-6 WEIRD ERROR Message

Posted: Sun May 29, 2016 10:59 pm
by markgrecowork
What the heck is this

static const float _filter = 7.9577e-3; // Set to "1 / ( 2 * PI * f_cut )";

trying to set up an i2c gps and multiwii
windows 10
UBLOX 6
arduino fresh download
i2c to gps board eprom cleared and the blink sketch installed so i know the board works.
i keep getting this error highlighted in the arduino IDE

static const float _filter = 7.9577e-3; // Set to "1 / ( 2 * PI * f_cut )";

any thoughts on a remedy??

Re: i2C GPS NEO-6 WEIRD ERROR Message

Posted: Sun May 29, 2016 11:57 pm
by gregd72002
signal filter at 20Hz?


I've got ublox with i2c gps nav and it works perfectly fine

Re: i2C GPS NEO-6 WEIRD ERROR Message

Posted: Mon May 30, 2016 2:57 am
by markgrecowork
is this in i2c gps or multiwii????

Re: i2C GPS NEO-6 WEIRD ERROR Message

Posted: Mon May 30, 2016 7:33 pm
by gregd72002
it's serial gps connected to multiwii using i2c gps nav

Re: i2C GPS NEO-6 WEIRD ERROR Message

Posted: Sun Jun 05, 2016 12:29 am
by PatrikE
Try to remove "const"

Re: i2C GPS NEO-6 WEIRD ERROR Message

Posted: Tue Jun 07, 2016 9:34 am
by gregd72002
why would I want to do so?

Re: i2C GPS NEO-6 WEIRD ERROR Message

Posted: Tue Jun 07, 2016 8:51 pm
by PatrikE
gregd72002 wrote:why would I want to do so?


Actually you need to remove
static const
and leave

Code: Select all

float _filter = 7.9577e-3; // Set to  "1 / ( 2 * PI * f_cut )";


Because newer Arduino IDE does not support it like older did.
Or downgrade the Arduino IDE.

Re: i2C GPS NEO-6 WEIRD ERROR Message

Posted: Thu Jun 16, 2016 8:49 pm
by markgrecowork
YOU ARE A GOD!!

in the multiwii world

Thank You