Current version of the OpenAuto Pro is 11
Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
u-blox GPS sensor
#1
Hello,

I have bought a u-blox7 USB GPS module, have connected it to the Pi, it seems to work, but I've "re-discover" how awfully slow the fix of a GPS-only device is, so far as it's almost unusable in my experience (I'll have to keep my phone close to the dash so that it'll will provide good GPS data). 

So I searched for A-GPS and luckily I found out that u-blox provides such a service. Check these links:
https://gist.github.com/veproza/55ec6eaa612781ac29e7
https://github.com/gokuhs/ublox-agps

I tried to make it work in our case but I experience the problem described in this issue (no answer unfortunately):
https://github.com/gokuhs/ublox-agps/issues/1

I don't think it's specific to the code, I believe something else also tries to use the serial port and we get this error. So, I wanted to ask the OAP developers, does OAP communicate in anyway with the /dev/tty/ACMO port or whatever equivalent the GPS module provides, in order to "publish" the sensor to the phone? If you do communicate with the device, could you possibly integrate the above A-GPS code so that we can insert the token in openauto_system.ini and make it work?
Reply
#2
OpenAuto Pro does not talk directly with GPS sensor. We use gpsd software as a proxy.
Reply
#3
(09-06-2020, 04:37 PM)BlueWave Wrote: OpenAuto Pro does not talk directly with GPS sensor. We use gpsd software as a proxy.

Thanks for the super fast reply. Ok. Can you tell me what OAP does? Does it launch gpsd, perhaps with some arguments? Does it notify it somehow? 

If you could share abstractly how OAP talks with gpsd, I might understand what's going on. I don't even know if me running this script is completely incompatible with gpsd running at the same time.
Reply
#4
gpsd runs as a daemon by systemd. OpenAuto Pro is a regular client of gpsd service. More details about gpsd are available at https://gpsd.gitlab.io/gpsd/index.html
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)