i2C GPS NEO-6 WEIRD ERROR Message

Post Reply
markgrecowork
Posts: 4
Joined: Sun Apr 17, 2016 2:05 pm

i2C GPS NEO-6 WEIRD ERROR Message

Post 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??

gregd72002
Posts: 103
Joined: Fri Dec 12, 2014 5:16 pm

Re: i2C GPS NEO-6 WEIRD ERROR Message

Post by gregd72002 »

signal filter at 20Hz?


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

markgrecowork
Posts: 4
Joined: Sun Apr 17, 2016 2:05 pm

Re: i2C GPS NEO-6 WEIRD ERROR Message

Post by markgrecowork »

is this in i2c gps or multiwii????

gregd72002
Posts: 103
Joined: Fri Dec 12, 2014 5:16 pm

Re: i2C GPS NEO-6 WEIRD ERROR Message

Post by gregd72002 »

it's serial gps connected to multiwii using i2c gps nav

PatrikE
Posts: 1976
Joined: Tue Apr 12, 2011 6:35 pm
Location: Sweden
Contact:

Re: i2C GPS NEO-6 WEIRD ERROR Message

Post by PatrikE »

Try to remove "const"

gregd72002
Posts: 103
Joined: Fri Dec 12, 2014 5:16 pm

Re: i2C GPS NEO-6 WEIRD ERROR Message

Post by gregd72002 »

why would I want to do so?

PatrikE
Posts: 1976
Joined: Tue Apr 12, 2011 6:35 pm
Location: Sweden
Contact:

Re: i2C GPS NEO-6 WEIRD ERROR Message

Post 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.

markgrecowork
Posts: 4
Joined: Sun Apr 17, 2016 2:05 pm

Re: i2C GPS NEO-6 WEIRD ERROR Message

Post by markgrecowork »

YOU ARE A GOD!!

in the multiwii world

Thank You

Post Reply