Hi,
We are using PX2 with latest Drive PDK and DeiveWorks 1.2.
GPS is connected through USB-to-serial converter that is present in the system as /dev/ttyUSB0.
I can open it in a serial terminal and see the NMEA messages coming from GPS.
When I run sample_gps_logger, I get a “GPS[0] - 6694488 ERROR DW_NOT_AVAILABLE” error.
The error happens at initialization time. It does not even matter if GPS is connected or not.
Detailed output:
./sample_gps_logger --driver=gps.uart --params=device=/dev/ttyUSB0
[23-10-2018 19:41:35] Initialize DriveWorks SDK v1.2.400
[23-10-2018 19:41:35] Release build with GNU 4.9.4 from v1.2.0-rc11-0-ga7f5475 against Vibrante PDK v5.0.10.3
[23-10-2018 19:41:35] Platform: Detected Drive PX2 - Tegra A
[23-10-2018 19:41:35] TimeSource: monotonic epoch time offset is 1540343990994929
[23-10-2018 19:41:35] Platform: number of GPU devices detected 2
[23-10-2018 19:41:35] Platform: currently selected GPU device discrete ID 0
[23-10-2018 19:41:35] SDK: Resources mounted from /usr/local/driveworks-1.2/data/resources
[23-10-2018 19:41:35] SDK: Create NvMediaDevice
[23-10-2018 19:41:35] SDK: Create NvMediaIPPManager
[23-10-2018 19:41:35] egl::Display: found 2 EGL devices
[23-10-2018 19:41:35] egl::Display: use drm device: drm-nvdc
[23-10-2018 19:41:35] SensorFactory::createSensor() → gps.uart, device=/dev/ttyUSB0
[23-10-2018 19:41:35] SensorFactory::createSensor() → gps.uart, device=/dev/ttyUSB0
GPS[0] - 6694488 ERROR DW_NOT_AVAILABLE
[23-10-2018 19:41:35] EndpointTTY: started on /dev/ttyUSB0
Do you know what causes this error and how to fix it?
Thanks,
Mikhail