PX4 / PX4-GPSDrivers

Platform independent GPS drivers

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Position and velocity Hz ashtech

djmira92 opened this issue · comments

I am using the astech driver to another gnss that uses the nmea protocol.
When consulting the gps status in nsh the velocity frequency is 0.
In code, comparing to ublox driver i saw that is missing a _rate_count_vel++. Was that on purpose?

Another issue is that the position frequency is multiplied by 2. I think that is because of the gga and pos message. Is possible that they give differente position coordinates and because that the frequency is double?

No, you're right, the velocity rate seems to had been missing. Can you test #8?

Another issue is that the position frequency is multiplied by 2.

What do you mean exactly?

That seems to solve the problem.

Well, i have the gnns running at 5Hz and in nsh shows that is at 10Hz. And it's because of _rate_count_lat_lon++; in GGA and POS messages.

I see. Do the GGA & POS provide the same position? If so, from what I see POS provides all the information that GGA does plus more. We can then simply ignore GGA if we receive both messages. Can you test this? I don't have an ashtech gps.

Well, like i said, i don't have a ashtech gps. i have other gps that uses the same nmea protocol.

I tested it, and they have the same position coordinates.

I extended the driver, can you test #9?

That worked!

Thanks for your work.