i2C GPS NEO-6 WEIRD ERROR Message

i2C GPS NEO-6 WEIRD ERROR Message

Postby markgrecowork » Sun May 29, 2016 10:59 pm

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??
markgrecowork
 
Posts: 4
Joined: Sun Apr 17, 2016 2:05 pm

Re: i2C GPS NEO-6 WEIRD ERROR Message

Postby gregd72002 » Sun May 29, 2016 11:57 pm

signal filter at 20Hz?


I've got ublox with i2c gps nav and it works perfectly fine
gregd72002
 
Posts: 103
Joined: Fri Dec 12, 2014 5:16 pm

Re: i2C GPS NEO-6 WEIRD ERROR Message

Postby markgrecowork » Mon May 30, 2016 2:57 am

is this in i2c gps or multiwii????
markgrecowork
 
Posts: 4
Joined: Sun Apr 17, 2016 2:05 pm

Re: i2C GPS NEO-6 WEIRD ERROR Message

Postby gregd72002 » Mon May 30, 2016 7:33 pm

it's serial gps connected to multiwii using i2c gps nav
gregd72002
 
Posts: 103
Joined: Fri Dec 12, 2014 5:16 pm

Re: i2C GPS NEO-6 WEIRD ERROR Message

Postby PatrikE » Sun Jun 05, 2016 12:29 am

Try to remove "const"
PatrikE
 
Posts: 1926
Joined: Tue Apr 12, 2011 6:35 pm
Location: Sweden

Re: i2C GPS NEO-6 WEIRD ERROR Message

Postby gregd72002 » Tue Jun 07, 2016 9:34 am

why would I want to do so?
gregd72002
 
Posts: 103
Joined: Fri Dec 12, 2014 5:16 pm

Re: i2C GPS NEO-6 WEIRD ERROR Message

Postby PatrikE » Tue Jun 07, 2016 8:51 pm

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.
PatrikE
 
Posts: 1926
Joined: Tue Apr 12, 2011 6:35 pm
Location: Sweden

Re: i2C GPS NEO-6 WEIRD ERROR Message

Postby markgrecowork » Thu Jun 16, 2016 8:49 pm

YOU ARE A GOD!!

in the multiwii world

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


Return to Shields, boards and sensors

Who is online

Users browsing this forum: No registered users and 1 guest