久久久久久久av_日韩在线中文_看一级毛片视频_日本精品二区_成人深夜福利视频_武道仙尊动漫在线观看

    <i id='of5XX'><tr id='of5XX'><dt id='of5XX'><q id='of5XX'><span id='of5XX'><b id='of5XX'><form id='of5XX'><ins id='of5XX'></ins><ul id='of5XX'></ul><sub id='of5XX'></sub></form><legend id='of5XX'></legend><bdo id='of5XX'><pre id='of5XX'><center id='of5XX'></center></pre></bdo></b><th id='of5XX'></th></span></q></dt></tr></i><div class="qwawimqqmiuu" id='of5XX'><tfoot id='of5XX'></tfoot><dl id='of5XX'><fieldset id='of5XX'></fieldset></dl></div>

    <small id='of5XX'></small><noframes id='of5XX'>

      <bdo id='of5XX'></bdo><ul id='of5XX'></ul>
    <legend id='of5XX'><style id='of5XX'><dir id='of5XX'><q id='of5XX'></q></dir></style></legend>
  1. <tfoot id='of5XX'></tfoot>

    1. Android GPS 坐標分散

      Android GPS Coordinates Scattered(Android GPS 坐標分散)
      <i id='0wlPp'><tr id='0wlPp'><dt id='0wlPp'><q id='0wlPp'><span id='0wlPp'><b id='0wlPp'><form id='0wlPp'><ins id='0wlPp'></ins><ul id='0wlPp'></ul><sub id='0wlPp'></sub></form><legend id='0wlPp'></legend><bdo id='0wlPp'><pre id='0wlPp'><center id='0wlPp'></center></pre></bdo></b><th id='0wlPp'></th></span></q></dt></tr></i><div class="qwawimqqmiuu" id='0wlPp'><tfoot id='0wlPp'></tfoot><dl id='0wlPp'><fieldset id='0wlPp'></fieldset></dl></div>

    2. <legend id='0wlPp'><style id='0wlPp'><dir id='0wlPp'><q id='0wlPp'></q></dir></style></legend>

      <small id='0wlPp'></small><noframes id='0wlPp'>

      <tfoot id='0wlPp'></tfoot>

            <bdo id='0wlPp'></bdo><ul id='0wlPp'></ul>

                <tbody id='0wlPp'></tbody>
                本文介紹了Android GPS 坐標分散的處理方法,對大家解決問題具有一定的參考價值,需要的朋友們下面隨著小編來一起學習吧!

                問題描述

                下面的代碼似乎工作正常:

                <塊引用>

                //GPS 閱讀器//標準標準標準 = 新標準();//criteria.setAccuracy(Criteria.ACCURACY_COARSE);//當我們無法獲得 GPS 定位時使用標準.setAccuracy(標準.ACCURACY_FINE);//當我們可以獲得 GPS 定位時使用標準.setAltitudeRequired(false);標準.setBearingRequired(false);標準.setCostAllowed(true);標準.setPowerRequirement(Criteria.POWER_LOW);LocationListener locationListener = new MyLocationListener();LocationManager lm = (LocationManager) getSystemService(Context.LOCATION_SERVICE);lm.requestLocationUpdates(lm.getBestProvider(criteria, true), 0, 0,位置監聽器);

                但是,當我在 Google 地圖上繪制我收集的數據時,GPS 坐標在某些情況下非常分散,或者它會沿著我正在行走的路徑前進,然后突然跳轉到一個點一英里外然后回來.有沒有什么辦法解決這一問題?我猜是某種準確性檢查?

                更新:

                基本上我的問題看起來像這樣 - GPS抖動

                更新 2:

                我考慮過不要把它作為賞金,但我想我不妨完全了解這里發生的事情,看看我的方法是否過度殺戮.盡管我的精度為 3m 等,但我仍然遇到同樣的問題,即我的坐標中有抖動.現在這可能是可用的衛星等.我不知道,但基本上我想了解如何所有這些其他應用程序,尤其是運動應用程序,是否能夠在相同的情況下獲得如此流暢的讀數.

                我在 Quora 上找到了這個 是否有任何正在運行的應用程序具有過濾 GPS 數據以獲得更準確跟蹤的功能? 不幸的是,它并沒有提供太多洞察力進入我的問題,除非您可以根據需要使用卡爾曼濾波器,但肯定必須有不太復雜的方法,因為我懷疑大多數應用程序都實現了這一點.

                無論如何,如果有開發人員想分享他們正在做的一些偽代碼,我們將不勝感激.我的意思是,如果我堅持使用 Kalman,我會堅持下去,但我確信必須有更容易實現的算法,并且希望學習這些算法以及如何實現它們,這很合適.

                上下文:這是一個移動行人應用程序.

                我試圖從中收集信息的相關 SO 問題從一系列 GPS 坐標創建平滑曲線平滑 gps 數據:這是一個好的開始,雖然我不確定我需要實現什么偽代碼正確地讓最小二乘擬合正常工作,這樣我就可以得到一個樣條 GPS 數據,然后我可以在谷歌地圖之類的東西上查看它,以確認我做得正確.我認為問題在于,如果這是我正在處理的一般 X 和 Y 數據,而不是 GEO 坐標,我可以在 matlab 中寫一些東西來測試它,然后繼續.

                更新 3

                我收到的混亂 GPS 數據的圖像https://www.dropbox.com/s/ilsf8snao2no65e/gpsdata2.png

                代碼https://gist.github.com/4505688

                解決方案

                您得到的是因為您的標準將最佳提供商標識為 NETWORK_PROVIDER.它不會識別您的位置,而是為您提供覆蓋您設備的手機信號塔的位置.因此,當您在任何建筑物之外時,最好使用 GPS_PROVIDER 來獲得精確的地理位置.為什么你得到分散的坐標是因為你的設備進入了另一個蜂窩塔的范圍,因此發生了位置跳躍.直接使用 GPS_PROVIDER 是您將獲得的最佳解決方案.

                I have the following code below which seems to be working fine:

                    // GPS Reader
                    // Criteria
                    Criteria criteria = new Criteria();
                    //criteria.setAccuracy(Criteria.ACCURACY_COARSE); // Used when we can't get a GPS Fix
                    criteria.setAccuracy(Criteria.ACCURACY_FINE); // Used when we can get a GPS Fix
                
                    criteria.setAltitudeRequired(false);
                    criteria.setBearingRequired(false);
                    criteria.setCostAllowed(true);
                    criteria.setPowerRequirement(Criteria.POWER_LOW);
                
                    LocationListener locationListener = new MyLocationListener();
                    LocationManager lm = (LocationManager) getSystemService(Context.LOCATION_SERVICE);
                    lm.requestLocationUpdates(lm.getBestProvider(criteria, true), 0, 0,
                            locationListener);
                

                However, when I graph the data I have collected on Google maps, the GPS coordinates are very scattered in some instances, or it will be going along a path I am walking just find and then all of the sudden jump to a point a mile away and then back. Is there any way to fix this? Some sort of accuracy check I guess?

                Update:

                Basically my problem looks like this as an example - GPS Jitter

                Update 2:

                I considered not making this a bounty but I figured I might as well get a complete understanding of what is going on here, and see if maybe my approach is over kill. I still have the same problem that my coordinates have jitter in them despite the fact that I have accuracies of 3m, etc. Now this could be to available satellites, etc. I don't know, but basically I'm trying to understand how are all these other applications, especially the exercise apps, able to get such smooth readings under the same circumstances.

                I was on Quora and was able to find this Does any running app have a feature of filtering GPS data to get more accurate tracking? Unfortunately it didn't give much insight into my problem, except you can use a Kalman filter if you want, but surely there has to be less complex means, since I doubt most apps out there are implementing this.

                Anyways if a fellow developer would like to share what they are doing with some pseudocode that would be greatly appreciated. I mean if I'm stuck with Kalman I am, but I am sure there have to be easier to implement algorithms, and would hope to learn those and how to implement them, that are decent fits.

                Context: This is a mobile pedestrian application.

                Relevant SO Questions I have tried to glean information from Create a smooth curve from a series of GPS coordinates Smooth gps data : This was a good start, though I am not sure what pseudocode I would need to implement to properly get the Least Squares Fit to work appropriately so that I will have a splines GPS data which I can then view on something like google maps to confirm I did it correctly. I think the issue is if this was general X and Y data I was dealing with, and not GEO coordinates, I could write something up in matlab test it, and go on.

                Update 3

                An image of the messed up GPS data I am recieving https://www.dropbox.com/s/ilsf8snao2no65e/gpsdata2.png

                Code https://gist.github.com/4505688

                解決方案

                What you are getting is because your criteria identifies best provider as NETWORK_PROVIDER. Which does not identify your location but instead gives you the location of the cell tower whose range covers your device.So when you are outside of any building it is better to use GPS_PROVIDER to get fine accuracy of Geo locations.Why you get scattered co-ordinate is because your device comes to range of another cell tower hence location jump happens. Directly use GPS_PROVIDER is the best solution you will ever get.

                這篇關于Android GPS 坐標分散的文章就介紹到這了,希望我們推薦的答案對大家有所幫助,也希望大家多多支持html5模板網!

                【網站聲明】本站部分內容來源于互聯網,旨在幫助大家更快的解決問題,如果有圖片或者內容侵犯了您的權益,請聯系我們刪除處理,感謝您的支持!

                相關文檔推薦

                Help calculating X and Y from Latitude and Longitude in iPhone(幫助從 iPhone 中的緯度和經度計算 X 和 Y)
                Get user#39;s current location using GPS(使用 GPS 獲取用戶的當前位置)
                IllegalArgumentException thrown by requestLocationUpdate()(requestLocationUpdate() 拋出的 IllegalArgumentException)
                How reliable is LocationManager#39;s getLastKnownLocation and how often is it updated?(LocationManager 的 getLastKnownLocation 有多可靠,多久更新一次?)
                CLLocation returning negative speed(CLLocation 返回負速度)
                How to detect Location Provider ? GPS or Network Provider(如何檢測位置提供者?GPS 或網絡提供商)
                <legend id='3dDek'><style id='3dDek'><dir id='3dDek'><q id='3dDek'></q></dir></style></legend>

                • <i id='3dDek'><tr id='3dDek'><dt id='3dDek'><q id='3dDek'><span id='3dDek'><b id='3dDek'><form id='3dDek'><ins id='3dDek'></ins><ul id='3dDek'></ul><sub id='3dDek'></sub></form><legend id='3dDek'></legend><bdo id='3dDek'><pre id='3dDek'><center id='3dDek'></center></pre></bdo></b><th id='3dDek'></th></span></q></dt></tr></i><div class="qwawimqqmiuu" id='3dDek'><tfoot id='3dDek'></tfoot><dl id='3dDek'><fieldset id='3dDek'></fieldset></dl></div>

                        <bdo id='3dDek'></bdo><ul id='3dDek'></ul>

                      • <small id='3dDek'></small><noframes id='3dDek'>

                        • <tfoot id='3dDek'></tfoot>
                            <tbody id='3dDek'></tbody>
                          主站蜘蛛池模板: 美女黄网站| 久久影音先锋 | 婷婷丁香在线视频 | 天天拍天天操 | 国产专区在线 | 视频一区二区国产 | 99re视频在线| 黄色大片免费网站 | 色噜噜狠狠色综合中国 | 国产成人免费视频网站高清观看视频 | 国产一区二区在线视频 | 久久九精品| 福利片一区二区 | 欧美成年网站 | 亚洲欧美在线观看 | 一级做a| 欧美日韩1区 | 国产91久久精品一区二区 | 日韩欧美一区二区三区四区 | 黄网站涩免费蜜桃网站 | 国产清纯白嫩初高生在线播放视频 | 日韩欧美在线视频 | 三级黄色片在线播放 | 九色在线 | 91视频亚洲 | 国产精品国产自产拍高清 | 粉嫩粉嫩芽的虎白女18在线视频 | 久久精品国产亚洲 | av高清毛片 | 国产乱码久久久久久 | 久久一久久| 成人在线免费av | 国产午夜精品理论片a大结局 | 色综合久久天天综合网 | 亚洲一区精品在线 | 国产一级一片免费播放 | 激情视频一区 | 精品国产欧美一区二区三区成人 | 久久精品视频在线观看 | av中文在线| 天天操天天摸天天干 |