gps

How to get gps coordinates every minute in Android?

旧时模样 提交于 2019-12-18 17:34:09
问题 I want to get my coordinates every minute, even if a user is not moving. So i used requestLocationUpdates with the following parameters: locMgr.requestLocationUpdates( LocationManager.GPS_PROVIDER, 60000, // minTime in ms 0, // minDistance in meters PosljiLokacijo.this); But when i test it on my HTC Hero (2.1 Android) and i am not moving, onLocationChanged() is never called. If i change minDistance to 1, then i get a few updates at start but after that, they come in very unregular intervals.

gps信号发生器的应用介绍

梦想与她 提交于 2019-12-18 17:30:02
gps信号发生器的应用介绍 GPS信号发生器是什么? 如果您正在开发依赖GPS等卫星信号的任何设备,您一定需要确保它的性能可以满足其既定任务的要求。但如何才能确定您已经做好准备,能够在设备投放市场之前满足真实世界的需求呢?您需要使用GPS信号发生器执行适当的测试。 由于缺乏实际的天空信号,实验室测试便具备了极端的重要性,尤其是当某些卫星尚未发射之时。 卫星跟踪将成为具备GPS能力的设备取得成功的关键。如果未能对这一方面开展正确的测试,您的设备刚一进入市场便可能以失败收场。 GNSS/GPS模拟:一般原理GNSS即全球导航卫星系统,是提供全球覆盖的卫星导航系统的标准名称。该术语涵盖了GPS、GLONASS、GALILEO、BEIDOU和其它区域卫星导航系统。 在GNSS出现之初,就有两种可用于测试导航系统的替代方案:现场测试和实验室模拟。今天,最佳惯例要求多数测试需在受控、可重复性的安全实验室条件下执行。这样不仅可以测试正常条件,还可以对极度恶劣的条件进行测试,包括测试性能的真实和理论极限。此外,这种做法还可以实现目前尚未推入使用或缺乏完整星群的接收机开发工作。 现实世界的真实天空测试存在巨大的缺陷,因为从本质上真实天空测试已经将受控测试排除在外。经过总结,与采用真实GNSS星群的真实天空测试相比,GNSS模拟器测试的优势如下表所示: 1、采用实际GNSS星群的真实测试 2

gps同步时钟在航天210所的成功案例

天涯浪子 提交于 2019-12-18 17:09:43
gps同步时钟在航天210所的成功案例 2019年初,中国航天科工集团第二研究院二一〇研究所在与我公司进行多次交谈后,确认gps同步时钟的基本功能后,根据其要求做出满足使用的gps同步时钟。在经过各种严格的测试环境后,仍然未出一次故障,210所对此很满意,已将我公司纳为时间频率行业唯一合格供应商。 一、gps同步时钟工作原理 gps同步时钟是对现代高科技自动化系统中的计算机及控制装置等进行校时的高科技产品。NTP协议用于把计算机或者其他的网络设备的时间同步到标准的UTC时间。网络时钟服务器从GPS卫星上获取到UTC时间信号,并将这些标准的时间信息经过内部高科技处理后通过网口传输给网络系统中需要标准时间信息的设备,这样就可以实现整个系统内的时间同步。 世界上大多数国家采用的标准时间标度是基于地球自转的世界协调时和基于地球公转的公历,UTC时间可以通过多种途径传播。GPS卫星导航系统在每颗卫星上都安装有精密的原子钟,并由监测站经常进行校准。卫星发送时间信息的同时也发送精确的时间信息。GPS接收机接收此信息。目前自动化系统采用的时间标准就是 UTC时间。 二、有源同步和无源同步 任何时间应用系统都应该具有维持时间增长和,该应用系统的用户 获取时间的事实上已经成为世界上大多数时间应用系统的基本唯一 途径就是访问系统的时间保持体系该时间保时间标准,所以研究持体

统一时钟在电厂的应用

别来无恙 提交于 2019-12-18 17:09:31
统一时钟在电厂的应用 SYN4505型统一时钟 在电力系统中,利用GPS的精确定位,可以为电站和线路走廊的设计和施工提供帮助;在配电网管理系统中,如果将GPS定位信息与AM / FM(自动监测/灵活管理)相结合,则会使确定故障设备和组织现场检修工作大为改观。目前在电力系统中研究最多的是将GPS的精确授时作为电力系统的统一时钟系统。当全网的测量,保护,控制和故障录波系统的采样都实现同步之后,不仅将使过去许多难以实现的工作,如相量测量,自适应保护等易于实现,而且会使人们对电网的分析、控制能力发生质的变化。以下几个应用实例就可说明这一点。 ( 1)基于行波原理的故障定位。如果时间的同步精度能达到为0.5us,只要对行波的衰减进行合理修正,则可得到300m的定位精度。 ( 2)直接基于两端同步采样的失步保护。日本学者将输电线路一端电压采样值贴上GPS接收机给的精确时标,用光纤送到另一端,由两端的同步采样值可得到线路两端的电压相角,失步继电器将这电压相角值及预测值作为它的输入量。 ( 3)基于两端同步采样的线路差动保护。电流纵差动保护是一种简单、快捷而又灵敏的保护方式,过去由于时间同步精度不够,非同步采样造成的采样误差影响很大,易使保护误动作。若要减小采样误差的影响,保护装置就要做得十分复杂。然而,在GPS时钟的同步下,因采样误差不 超过1μs,故把电流采样值贴上GPS时标后送到另一端

How to keep GPS app running in background without pauses

这一生的挚爱 提交于 2019-12-18 13:52:12
问题 I have a problem keeping the GPS running in background. I succeded to keep the GPS running when the app is in background, but it stops sometimes. I noticed that it stops when i enter in a building and i stay there for 2-3 hours. "Stops" means that i don't receive any GPS point even though the location service icon is still on. Then when i get out i don't receive any points until I bring my application to foreground. I set the pausesLocationUpdatesAutomatically property to NO. So, everything

iphone Location Services code that works on OS 4.1 in appstore

元气小坏坏 提交于 2019-12-18 13:36:52
问题 There's a bug in OS 4.1 that has broken location services for some iPhone apps ( https://devforums.apple.com/message/306250 ). Basically location services fails to turn on, and doesn't even ask the user for permission to get their location. The worst thing about the bug is that it doesn't occur when you're installing the app to a device from XCode, it occurs you when you're downloading from the App Store! This makes it almost impossible to test for a fix. Not everyone's app has been affected,

Roll your own NMEA parser or use an open source GPS parser?

落花浮王杯 提交于 2019-12-18 13:19:14
问题 I do a lot of location aware computing, often incorporating GPS. I have my own little simple NMEA parser that doesn't do anything special - just transforms the GPS specific sentences into usable numbers, flags, and so forth. However, there is a lot of active development done on projects such as GPSD and Gypsy. If GPS were a simple matter, the projects would have finished long ago and simply gone into maintenance mode. What do they know/do that I don't know about, and therefore my code doesn't

libgps C code example

99封情书 提交于 2019-12-18 13:18:02
问题 I am writing a number-crunching data-logging C program for my GPS enabled Raspberry Pi. I grabbed gpsd, and its sample app cgps displays gps information correctly. I wanted to use libgps to interface with the daemon so that I could have all that handy information in my app, but I was quickly overwhelmed by the complexity of its API. The documentation on its HOWTO page points me to look at cgps and gpxlogger for example code, but there's so much coupling that I can't wade through it all. On

Fused Location Provider in Android

假装没事ソ 提交于 2019-12-18 13:16:11
问题 I am developing an app using Fused Location Provider. I have a doubt. For getting location in regular intervals it uses requestLocationUpdates(). But from which source is it get the location either from WIFI or GPS or Network. In my app, it gets location in regular intervals only when WiFi is ON. When WiFi is in OFF state, then it can't get the location(it supposed to get location from some other source either form GPS or Network. But it never get location. Or i have to write listeners for

How do I use the Google Maps API GPS sensor?

我是研究僧i 提交于 2019-12-18 12:48:11
问题 All I've been able to find is how to specify the sensor parameter: http://code.google.com/apis/maps/documentation/v3/#SpecifyingSensor But nowhere does it say how to actually USE it. Isn't the whole point to be able to get the user's current lat/long coordinates through the device GPS, or am I mistaken? 回答1: That sensor parameter is only there to indicate to Google that you are using a GPS sensor to determine the user's location. Unless using the W3C Geolocation API in browsers that support