Gpsd/zh tw
From Openmoko
(→Q: gpsd支援不同的GPS嗎) |
m |
||
(5 intermediate revisions by one user not shown) | |||
Line 82: | Line 82: | ||
*它可能從有gps訊號及便宜的網路連接的neo上,產生global ionospheric model。因此,它可以非常精準的產生位置資訊。 | *它可能從有gps訊號及便宜的網路連接的neo上,產生global ionospheric model。因此,它可以非常精準的產生位置資訊。 | ||
*This could generate positions accurate to well under a metre, compared to (probably) 2-3m without. | *This could generate positions accurate to well under a metre, compared to (probably) 2-3m without. | ||
− | * | + | *gpsd plugin是用來放置必須修正的錯誤的地方,如在產生位置時,在每個衛星上,他們必須能執行工作。 |
− | * | + | *它是與AGPS分開的 - AGPS在目前的衛星位置或者在電腦中發出資訊。DGPS是區域性的一個本地端minute by minute 'ionospheric weather'。 |
− | + | ||
請參考[[Server:A-GPS]]。 | 請參考[[Server:A-GPS]]。 | ||
− | ====Q: | + | ====Q: 我們能上傳能在gpsd和hammerhead間互動的strace嗎?==== |
− | * | + | *理想的狀況下,從沒有AGPS資料的狀況下,至少在一個半小時內,在收訊方為晴天的狀況下,它可以在每秒內取得GPS 位置。 |
− | * | + | *視工程狀況而定。 |
− | * | + | *[[Hammerhead/Protocol]]為reverse-engineering相關頁面。 |
====Q: 我可以自GPS上取得NMEA資料嗎==== | ====Q: 我可以自GPS上取得NMEA資料嗎==== | ||
Line 96: | Line 95: | ||
A: 無法直接取得資料。然而,gpsd 程式的'gpspipe',加入 -r 則可以目前的位置,輸出NMEA資料。正確的方法是在程式裡使用libgpsd。 | A: 無法直接取得資料。然而,gpsd 程式的'gpspipe',加入 -r 則可以目前的位置,輸出NMEA資料。正確的方法是在程式裡使用libgpsd。 | ||
− | [[Category:GPS]] | + | [[Category:GPS/zh tw]] |
Latest revision as of 22:24, 20 August 2008
Languages: |
English • العربية • Български • Česky • Dansk • Deutsch • Esperanto • Eesti • Español • فارسی • Suomi • Français • עברית • Magyar • Italiano • 한국어 • Nederlands • Norsk (bokmål) • Polski • Português • Română • Русский • Svenska • Slovenčina • Українська • 中文(中国大陆) • 中文(台灣) • Euskara • Català |
Contents |
[edit] GPS的內容
GPS (Global Positioning System)是一個衛星定位系統,使用31個衛星。
GPS 類似 "人造衛星" ,以公尺為計算單位。某些形態的GPS,可以較公分為佳的單位進行度量。
利用先進的科技,從IC及其它的元件中接收訊號。
它大量的降低了成本。
因為它大量降低成本的特性,它可以輕鬆的被整合到手機、筆記型電腦及像是耕作用具、瀏覽系統及建築物...等傳統工具中。tion systems and construction equipment.
(你可以在這個位址Global Positioning System Overview取得其它的相關資訊。)
[edit] AGPS
這個分類中可以找到所有GPS的資訊.
[edit] PMB 2520 Hammerhead
PMB 2520 Hammerhead是GPS的one-chip解決方案,它由全球定位公司的Infineon Technologies所製造。它允許支援A-GPS標準的資料存取。 (相關的資料都可以在 PMB 2520 datasheet中找到) short datasheet
[edit] Hammerhead模組
Hammerhead包含了以下的模組:
- RF front-end with on-chip, high gain and low noise, LNA, I/Q mixers, on-chip polyphase complex IF filter, digitally controlled AGC, and 3-bits ADC for the I and Q paths.
- 包含on-chip PCO及on-chip loop filter。
- Embedded PLL and NCO for baseband clock generation.
- 多頻道數位混音器及平行相關引擎,做為至少提供給14個衛生使用的即時啟動PRN程式。
- 包含流量偵測邏輯判斷的Post processor
- 用來搜尋相關結果的SRAM
[edit] 主要界面
Hammerhead整合了三個系列的介面:
- UART
- I2C
- SPI
在Hammerhead的UART是一個full-duplex UART 界面。它被固定在8N1(8 data bits, no parity, 1 stop bit)模式。在GTA01中,主要的處理器透過UART連接到這裡。在Neo1973的所有產品當中,它連接到敘列埠。
[edit] 主軟體架構
Hammerhead 驅動程式將會以二進位檔的方法載入,它可以像其它的GPS序列埠般,做為 gpsd的介面,輸入如NMEA 資訊。
gps驅動程式目前已可以使用。(之前,它在取得套件二位元檔授權時,有一些問題 [1])
gpsd程式庫提供下列的資訊,做為高階軟體:
- Position data
- Library status
- Time-out and Packet Available
高階軟體傳送下列的訊息到plugin:
- Assistance data
- Positioning Commands
- Configuration Commands
Gpsd 利用以下的部份與系統進行溝通:
- Communications Drivers
- System Timer
- NV storage
- Log buffer
[edit] GTA01上的GPS
在GTA01,主要的處理器是S3C2410。
[edit] GTA01上的Hammerhead
在GTA01上,Hammerhead被設定為透過UART連接到主處理器。UART 的資料輸入/輸出在SC2410上連接到UART 1。UART的硬體流量控制則連接到SC2410的UART 2。
[edit] Q & A
[edit] Q: gpsd支援不同的GPS嗎
- 在neo無法有其它方法直接接收DGPS 或WAAS/SCCM時,它可以直接從網際網路伺服器上接收串流。
- 它可能從有gps訊號及便宜的網路連接的neo上,產生global ionospheric model。因此,它可以非常精準的產生位置資訊。
- This could generate positions accurate to well under a metre, compared to (probably) 2-3m without.
- gpsd plugin是用來放置必須修正的錯誤的地方,如在產生位置時,在每個衛星上,他們必須能執行工作。
- 它是與AGPS分開的 - AGPS在目前的衛星位置或者在電腦中發出資訊。DGPS是區域性的一個本地端minute by minute 'ionospheric weather'。
請參考Server:A-GPS。
[edit] Q: 我們能上傳能在gpsd和hammerhead間互動的strace嗎?
- 理想的狀況下,從沒有AGPS資料的狀況下,至少在一個半小時內,在收訊方為晴天的狀況下,它可以在每秒內取得GPS 位置。
- 視工程狀況而定。
- Hammerhead/Protocol為reverse-engineering相關頁面。
[edit] Q: 我可以自GPS上取得NMEA資料嗎
A: 無法直接取得資料。然而,gpsd 程式的'gpspipe',加入 -r 則可以目前的位置,輸出NMEA資料。正確的方法是在程式裡使用libgpsd。