| 414 | A common evaluation usecase is: Running "cgps" in the foreground to monitor GPS data, along with PointPerfect GNSS corrections. |
| 415 | |
| 416 | To do this, you would edit the credentials in the secret settings file as per the PointPerfect site, set run_pygnssutils_in_foreground to false, and set the foreground process to "cgps". To use cgps with the script, you also must enable the gpsd bridge. The default settings will be OK in most instances. |
| 417 | |
| 418 | Another usecase may be configuring and viusalizing the GPS data in u-center. u-center is a Windows application, but it nevertheless can be both powerful in configuring and visualizing the GPS. To use u-center, you do NOT want to use our script, rather just use a one line command to send all /dev/ttyACM0 data over TCP. |
| 419 | {{{ |
| 420 | $ socat TCP-LISTEN:12345,reuseaddr,fork /dev/ttyACM0,raw,echo=0 |
| 421 | }}} |
| 422 | |
| 423 | === Troubleshooting |
| 424 | |
| 425 | |
| 426 | If you're getting 0,0,-17 as a coordinate, make sure that your antenna is connected well. Ensure python is updated, the script used Python 3.10.12. |
| 427 | |
| 428 | === Architecture |
| 429 | {{{ |
| 430 | GPS TESTING SCRIPT: start_gps.py |
| 431 | What can it do out of the box? |
| 432 | |
| 433 | |
| 434 | ┌───────────────────────┐ |
| 435 | │ │ |
| 436 | │ GPS Device GW16143 │ |
| 437 | │ /dev/ttyACM0 │ ──────┐ ┌─────────────┐ |
| 438 | │ │ ▼ │ │ |
| 439 | │ Location Info │ ┌─────────────────────┐ │ Logging │ |
| 440 | │ │ │ │ │ Raw & KML │ ┌───────────────────┐ |
| 441 | └───────────────────────┘ │ │ ───► │ --> Google │ │ │ |
| 442 | │ PyGNSSUtils │ │ Earth │ │ GPSD / cgps │ |
| 443 | │ Core data handler │ └─────────────┘ │ │ |
| 444 | ┌───────────────────────┐ │ │ │ Visualizer │ |
| 445 | │ │ │ │ ┌─────────────────┐ │ OPTIONAL standard │ |
| 446 | │ PointPerfect │ └─────────────────────┘ │ │ ───► │ Linux GNSS Client │ |
| 447 | │ < 2cm GNSS fix │ ▲ │ Socat │ │ │ |
| 448 | │ ├───────┘ │ │ │ └───────────────────┘ |
| 449 | │ │ └────► │ VIRT0 --> VIRT1 │ |
| 450 | └───────────────────────┘ │ Virtual │ ┌───────────────────┐ |
| 451 | │ serial port │ │ │ |
| 452 | │ │ │ u-center │ |
| 453 | └─────────────────┘ │ u-blox gps tool │ |
| 454 | │ Windows ONLY │ |
| 455 | │ Configuration & │ |
| 456 | │ Visualization │ |
| 457 | │ │ |
| 458 | └───────────────────┘ |
| 459 | |
| 460 | }}} |
| 461 | |