저는 Neo-M9N을 사용하여 위도, 경도, 속도 등을 구하고 이 값을 csv 파일에 넣습니다.
gpsd python 클라이언트를 설치했습니다. 다음을 통해서만 데이터를 볼 수 있습니다.
gpsmon /dev/ttyTHS1
하지만 그냥 사용하면 보이지 않죠
gpsmon
/etc/default/gpsd
파일을 다음으로 변경했습니다 .
START_DAEMON="true"
USBAUTO="true"
DEVICES="/dev/ttyTHS1"
GPSD_OPTIONS="-n -G"
GPSD_SOCKET="/var/run/gpsd.sock"
이 문제를 해결하는 방법을 모르겠습니다. 상태를 확인하면 다음이 나타납니다.
jun 05 17:14:40 jetson-nano-2gb systemd[1]: gpsd.service: Job gpsd.service/start failed with result 'dependency'.
jun 05 17:14:45 jetson-nano-2gb systemd[1]: Dependency failed for GPS (Global Positioning System) Daemon.
jun 05 17:14:45 jetson-nano-2gb systemd[1]: gpsd.service: Job gpsd.service/start failed with result 'dependency'.
built@jetson-nano-2gb:~$ sudo systemctl status gpsd.socket
● gpsd.socket - GPS (Global Positioning System) Daemon Sockets
Loaded: loaded (/etc/systemd/system/gpsd.socket; disabled; vendor preset: enabled)
Active: failed (Result: resources)
Listen: /var/run/gpsd.sock (Stream)
[::1]:2947 (Stream)
0.0.0.1:2947 (Stream)
jun 05 17:14:40 jetson-nano-2gb systemd[1]: gpsd.socket: Failed to listen on sockets: Address already in use
jun 05 17:14:40 jetson-nano-2gb systemd[1]: gpsd.socket: Failed with result 'resources'.
jun 05 17:14:40 jetson-nano-2gb systemd[1]: Failed to listen on GPS (Global Positioning System) Daemon Sockets.
jun 05 17:14:45 jetson-nano-2gb systemd[1]: gpsd.socket: Failed to listen on sockets: Address already in use
jun 05 17:14:45 jetson-nano-2gb systemd[1]: gpsd.socket: Failed with result 'resources'.
jun 05 17:14:45 jetson-nano-2gb systemd[1]: Failed to listen on GPS (Global Positioning System) Daemon Sockets.```
Has anyone been able to solve this? Thanks for the help!