Cleanflight not playing with GPS-RESOLVED

Post Reply
kscheck
Posts: 4
Joined: Mon Dec 08, 2014 6:23 pm

Cleanflight not playing with GPS-RESOLVED

Post by kscheck »

Hello all, having an issue hope you all can help with. I have seen a few people have this issue, but as of now I have not seen a sure fix for it. I am trying to enable GPS with Cleanflight. I have 2 boards that have this issue, a NAZE32 acro and a FLIP32+ so I'm pretty sure its not a hardware issue.
Here is my procedure:
1)Flash board with latest firmware.
2)Apply the following:
feature -RX_PARALLEL_PWM
feature RX_PPM
feature GPS

3)check that GPS is enabled
4)save
5) check features and GPS is gone.

I have attached a screen shot as a picture shows it all.
Now I know that Cleanflight will disable a feature if it conflicts, but I dont know what would be conflicting with the GPS feature, it is a fresh install with all defaults.
Any help is appreciated and I know this will help others as well.
Image
Last edited by kscheck on Sun Dec 21, 2014 7:32 pm, edited 1 time in total.

User avatar
stronnag
Posts: 114
Joined: Thu Oct 24, 2013 9:32 pm
Location: New Forest, England
Contact:

Re: Cleanflight not playing with GPS

Post by stronnag »

That's expected. You appear not to have set up the serial scenario, so GPS is disabled by design. See the fine documentation.

kscheck
Posts: 4
Joined: Mon Dec 08, 2014 6:23 pm

Re: Cleanflight not playing with GPS

Post by kscheck »

I have tried many different configurations, all of them unsuccessful. I included that screen shot as it was the simplest way to show what happens. It would be an excessively long post is I showed all the versions I tried!
This is the set of commands I would think would cover all the bases and work, but it does not.....

feature GPS
set GPS_provider=1
gps_sbas_mode=2
set serial_port_2_scenario = 2

What would cause a conflict with these? I have read the documentation quite a bit, I must be missing something.

User avatar
stronnag
Posts: 114
Joined: Thu Oct 24, 2013 9:32 pm
Location: New Forest, England
Contact:

Re: Cleanflight not playing with GPS

Post by stronnag »

kscheck wrote:I have tried many different configurations, all of them unsuccessful. I included that screen shot as it was the simplest way to show what happens. It would be an excessively long post is I showed all the versions I tried!
This is the set of commands I would think would cover all the bases and work, but it does not.....

feature GPS
set GPS_provider=1
gps_sbas_mode=2
set serial_port_2_scenario = 2

What would cause a conflict with these? I have read the documentation quite a bit, I must be missing something.


Following works fine for me:

Code: Select all

feature GPS

set gps_baudrate = 115200
set gps_passthrough_baudrate = 115200
set gps_provider = 1
set gps_sbas_mode = 1
set gps_auto_config = 1
set gps_auto_baud = 0
set serial_port_2_scenario = 2

Case may be significant.

kscheck
Posts: 4
Joined: Mon Dec 08, 2014 6:23 pm

Re: Cleanflight not playing with GPS

Post by kscheck »

Thanks for that, I will give it a try and let you know how it works!

kscheck
Posts: 4
Joined: Mon Dec 08, 2014 6:23 pm

Re: Cleanflight not playing with GPS

Post by kscheck »

Thanks for the help. That worked, I did change the sbas mode for North America. Once again thanks for the help!!!

Post Reply