Part 1
요약·해설
Devicetree 요구 사항과 전체 GNSS data 구조 출력을 보존합니다.
Satellites
14 reported
Fix
GNSS_FIX
System
GLONASS
Part 2
접을 수 있는 영어 원문 전체
영어 원문 전체 펼치기
원문 SHA-256
ACE9EE1E502E8063954E78941257B0822B56938BC7DDCCEF20C893621BA8A64B
.. zephyr:code-sample:: gnss
:name: GNSS
:relevant-api: gnss_interface navigation
Connect to a GNSS device to obtain time, navigation data, and satellite information.
Overview
********
This sample demonstrates how to use a GNSS device implementing the
GNSS device driver API.
Requirements
************
This sample requires a board with a GNSS device present and enabled
in the devicetree.
Sample Output
*************
.. code-block:: console
gnss: gnss_info: {satellites_cnt: 14, hdop: 0.850, fix_status: GNSS_FIX, fix_quality: GNSS_SPS}
gnss: navigation_data: {latitude: 57.162331699, longitude : 9.961104199, bearing 12.530, speed 0.25, altitude: 42.372}
gnss: gnss_time: {hour: 16, minute: 17, millisecond 36000, month_day 3, month: 10, century_year: 23}
gnss has fix!
gnss: gnss_satellite: {prn: 1, snr: 30, elevation 71, azimuth 276, system: GLONASS, is_tracked: 1}
gnss: gnss_satellite: {prn: 11, snr: 31, elevation 62, azimuth 221, system: GLONASS, is_tracked: 1}
gnss reported 2 satellites!
Part 3
한국어 전문 번역
개요
이 sample은 GNSS device driver API를 구현하는 GNSS device를 사용하는 방법을 보여줍니다.
요구 사항
이 sample에는 GNSS device가 장착되어 있고 devicetree에서 활성화된 board가 필요합니다.
Sample 출력
gnss: gnss_info: {satellites_cnt: 14, hdop: 0.850, fix_status: GNSS_FIX, fix_quality: GNSS_SPS}
gnss: navigation_data: {latitude: 57.162331699, longitude : 9.961104199, bearing 12.530, speed 0.25, altitude: 42.372}
gnss: gnss_time: {hour: 16, minute: 17, millisecond 36000, month_day 3, month: 10, century_year: 23}
gnss has fix!
gnss: gnss_satellite: {prn: 1, snr: 30, elevation 71, azimuth 276, system: GLONASS, is_tracked: 1}
gnss: gnss_satellite: {prn: 11, snr: 31, elevation 62, azimuth 221, system: GLONASS, is_tracked: 1}
gnss reported 2 satellites!
Source
출처
영어 원문에는 문단, 문서 지시문, 표, 코드, 코드 심벌, 경로를 그대로 보존했습니다.