I have recently got a Pixhawk2 and a “Here GNSS”. I am having trouble getting a lock on my GPS position. As I am quite new to this I am not sure if there is something I have missed during the setup. I simply connected the GNSS to the Pixhawk, and installed the Rover firmware.
When I power the Pixhawk, the LED’ s of the GNSS first start flashing red and blue before switching to a mode in which the LEDs flash yellow (see image below, also the round button on the here gnss is flashing red).
I’m going to assume that it has failed pre-arm check. Have you got it connected to Mission Planner when you boot? If so, are you seeing any errors on the HUD?
Also, and I am sure you’ve tried it, have to turned it on when outside with a clear view of the sky?
The GPS messages indicate that you clearly are detecting the GPS correctly, and that you have bidirectional communication so the wiring looks good. As @_Matt indicated the yellow led’s are a prearm check failing, and doesn’t really tell us much about the GPS at the moment.
It’s possible something on your system is creating GPS intefrence. I’d test if you get a fix if you power the autopilot with a USB cable and don’t connect the battery. (I’d try this test outside BTW)
If that doesn’t seem to be addressing anything we can move into using u-center to try and look at it in more detail, but that is a lot more complicated, so hopefully there is an obvious error that we can find before doing that.
@proficnc is there a internal fix LED anywhere on there HERE that @gpldecha could be looking at to chase down if the hardware is reporting a fix?
Thanks for all the info @WickedShell and @_Matt I managed to solve the problem. I am going to describe the steps I took to get to have a GPS lock with only the Pixhawk2 and Here GNSS. It might be very obvious to most, but I am very new to this. Hope it can be a reference for other newbies.
You need to set the following parameters to 0 on the apm_planner.
ARMING_CHECK 0
ARMING_REQUIRE 0
These are in the advanced parameters of the apm_planner. To access them you have to go to File (top left of widget) and select “Advanced Mode”. Then go to Config/Tuning and check the all parameters button.
If this is not set and arming process is not done, the GNSS will blink yellow as described in the original post. After setting these parameters the LEDs become blue.
ARMING_CHECK 0 ARMING_REQUIRE 0 means you disabled all the arming checks. This is extremely risky as you have sacrificed all the checks that your system is correctly configured. Arming checks definitely wont inhibit it from finding GPS checks. I’d definetly turn these back on
@WickedShell I agree on the safety issue. The arming_required does though have an effect on whether the GPS is let to lock. It seams if not armed, the GPS is not let by the system to arm.
Once I have figured out the RCMAP for my rover and got the whole loop working, I will bring saftey back into the picture. As of know the rover’s wheels are not touching the gournd