gps

GPS轨迹发生模拟器介绍

时光怂恿深爱的人放手 提交于 2019-12-24 11:07:54
GPS轨迹发生模拟器介绍 GPS信号模拟器能够模拟卫星信号运动轨迹,模拟 GPS 卫星导航系统的导航信号。GPS轨迹发生器可以模拟导航系统确定位置点如日期、时间、经度、纬度、海拔信息、速度等。GPS轨迹模拟器可以为基本型和授时型用户提供设备的研制、开发、生产和测试,适用于依赖卫星导航定位功能的相关产品的研制开发测试工作。 GPS轨迹模拟器是模拟应答机、姿态轨道仿真器两部分组成。模拟应答机组成由 接收机 、 发射机 、静噪控制电路、测距转发、遥测终端、遥控终端等。姿态轨道仿真器组成由仿真计算机及输入/输出接口电路等。仿真器接收遥控终端解调输出的指令码,仿真出姿态控制系统的工作状态、卫星姿态及其他工程参数,再以PCM编码形式送遥测终端,进行副载波视频调制,经发射机载波调制、放大,由发射信道、天线发送至地面。 目前市场上的GPS信号模拟器种类很多,消费者选购时需注意,作为成熟的GPS信号模拟器制造厂家,应具有的基本功能包括:模拟 GPS 卫星导航定位和运动轨迹、电子地图浏览查询、智能的路线规划。 SYN5203型GPS信号模拟器,具备功能如下:可以模拟卫星导航信号运动轨迹,有单次或无限循环、可以定位任意时间地点的位置信息、可在静态、动态的环境下进行导航终端测试、可以测算出行驶的具体速度、具备微功率发射功能连接收机测试、输出功率任意可调、天线口输出可调高频信号、显示行驶轨迹、时间记录等

NMEA library - nmeaINFO empty

六眼飞鱼酱① 提交于 2019-12-24 10:55:30
问题 I have written some C/C++ code including this NMEA library to parse data incoming from a gps device. #include <iostream> #include <string> #include <sstream> #include <cstring> #include <thread> #include <nmea/nmea.h> #include "GPSDevice.h" using namespace std; bool debugverbose = true; void debug(string message) { if(debugverbose) cout << "[ DEBUG ] " << message << endl; } bool errorverbose = true; void error(string message) { if(errorverbose) cout << "[ ERROR ] " << message << endl; exit(-1

Android - GPS Listener

痴心易碎 提交于 2019-12-24 10:45:48
问题 I am developing an Android application which consists a few activities. I want to get updates from the GPS ( onLocationChanged , onProviderDisabled , onProviderEnabled , onStatusChanged ) no matter in which activity the user is currently using. Where should I implement the LocationListener in order to get such a behaviour? This is the class I have created: public class MyLocationListener implements LocationListener{ private LocationManager locationManager; private String provider; @Override

Is it possible to run Safari in the background on the iPhone and monitor a user's location?

岁酱吖の 提交于 2019-12-24 10:39:50
问题 Is it possible to run Safari in the background on the iPhone? Specifically, our client would like to monitor a user's location via HTML5 GPS capabilities and measure the speed of movement. The reason for avoiding native implementation in iOS is because the client wishes to create a cross-platform service using HTML5. Is this possible? 回答1: I don't believe Safari continues to execute when it's backgrounded. (This is supported by a recent thread on the Apple discussion board.) That said, it

Finding current Location when the application is running in background is not working

时光怂恿深爱的人放手 提交于 2019-12-24 08:47:04
问题 I want to find out current location when the Application is running in background I Have below code for finding current location in background running services. But its not working. import android.app.Service; import android.content.Context; import android.content.Intent; import android.os.Bundle; import android.os.IBinder; import android.util.Log; import android.widget.Toast; import android.location.Location; import android.location.LocationListener; import android.location.LocationManager;

Use FusedLocationServiceApi without internet connection

风流意气都作罢 提交于 2019-12-24 05:12:25
问题 i've recently created a GPS Location Service which uses FusedLocationProviderAPI from GooglePlayServiceAPI. Everything is working fine except receiving coordinates without an enabled internet connection. I did a lot of research why this isn't working without an internet connection and i still don't know why. When I am connected to my Wifi it is working fine and the location is being updated perfectly. But when I restart my device and disable wifi and mobile internet it isn't working anymore.

location.getspeed() update

被刻印的时光 ゝ 提交于 2019-12-24 03:24:27
问题 I have a litte problem. I located a location.getSpeed() method on the onLocationChanged() method, and .getSpeed() usually doesn't update/change to 0km/h when I stay in same place. Where should I locate a location.getGpeed() method, that the update showed 0km/h when I stay in place? And another question. This is my locationListener : private final LocationListener locationListener = new LocationListener() {public void onLocationChanged(Location location) { boolean var = false; float distance;

How to get USB/Bluetooth GPS Receiver Location Using Java SE

心已入冬 提交于 2019-12-24 02:59:05
问题 I have a usb/bluetooth gps receiver and I would like to know how could I get the gps location using Java SE Desktop? I couldn't find information for java se. Is there any example? Thanks 回答1: Most USB GPS receivers I know provide the data on a (virtual) serial port in NMEA-format. So you have to connect to the serial port to read the data. I have never used a serial port in Java, but I guess there are many docs and tutorials out there. Maybe this Wikibook is a good starting point. 来源: https:/

NullPointerException while fetching current GPS

左心房为你撑大大i 提交于 2019-12-24 02:42:55
问题 I have a test screen where there is a button - where it is pressed it calls the service. I'm trying to implement a way to get the current gps location of the current user and it is crashing when it tries to call. Can anyone tell what the problem is? package com.example.whereyouapp; import java.util.Arrays; import android.app.AlarmManager; import android.app.PendingIntent; import android.app.Service; import android.content.ContentValues; import android.content.Context; import android.content

android app not able to get GPS until phone restarts

江枫思渺然 提交于 2019-12-24 02:39:10
问题 I am getting multiple reports from users that they can't get GPS or location services in my app until they restart their phone, and then everything works no problem. I only get a limited sample of android users complaints, from the set of users that use my apps but it seems shockingly similar to this issue: https://code.google.com/p/android/issues/detail?id=39745 Google OTA updates rolled out to some additional carriers last week. Looking through my code changes over the last several months,