Daniel Agar
96e51f7c59
clang-tidy remove redundant
2017-02-01 22:15:50 -05:00
Daniel Agar
6631e72d6f
clang-tidy modernize-redundant-void-arg
2017-02-01 22:15:50 -05:00
Daniel Agar
e927f3e040
clang-tidy modernize-use-nullptr
2017-02-01 22:15:50 -05:00
Lorenz Meier
3f9d79c768
Update GPS
2017-01-29 01:19:48 +01:00
Daniel Agar
30587e5669
astyle src/drivers/gps
2017-01-29 01:18:32 +01:00
Dennis Mannhart
8cd913c148
gps.cpp: add gps baudrate 230400 to qurt
2017-01-10 11:49:05 +01:00
Daniel Agar
a9d3f0dc73
update gps driver submodule
2017-01-03 14:44:45 +01:00
Lorenz Meier
5759fd5726
GPS app: Increase stack to ensure 300 bytes headroom
2016-12-19 20:34:52 +01:00
Julian Oes
1c2194c600
gps: fix cli parsing
...
The gps driver did not give feedback if a non-existing verb was used
such as `gps foo`. Also, the goto out was ugly and the usage always
marked as an error when it's really an info. This cleans it up a bit.
2016-12-15 00:10:27 +01:00
Julian Oes
12c5ed39ae
gps: fix faking so that ekf2 initializes
...
This changes the faked GPS values in order to get ekf2 to initialize.
2016-12-15 00:10:27 +01:00
Roman
8e8336a83f
gps drivers submodule: updated after removing unnecessary baud rate
2016-12-12 23:48:15 +01:00
Roman
0acdf32ed5
gps driver: removed unnecessary baud rate
...
Signed-off-by: Roman <bapstroman@gmail.com >
2016-12-12 23:48:15 +01:00
Roman
e6cbbac120
gps devices: update submodule
2016-12-12 23:48:15 +01:00
Roman
d10c4dd824
gps driver: added more baud rates in order to support bebop2
...
Signed-off-by: Roman <bapstroman@gmail.com >
2016-12-12 23:48:15 +01:00
Beat Küng
10c4ec2e1a
update gps submodule
2016-10-20 21:12:11 +02:00
Beat Küng
a42f0f5a62
gps: fix code style
2016-10-06 09:00:09 +02:00
Beat Küng
6d0288d494
gps: update submodule
2016-10-06 09:00:09 +02:00
Beat Küng
80771ce8b3
gps: remove gps_driver_interface_t and use GPSHelper::Interface instead
2016-10-06 09:00:09 +02:00
Miguel Arroyo
c6f43689e7
Adds Auto Mode Scanning
2016-10-06 09:00:09 +02:00
Miguel Arroyo
2799525462
Commandline Interface and Mode options
2016-10-06 09:00:09 +02:00
Hidenori
9bd3f6c9bf
Navio: Delete (wrong) unnecessary ifdef and modify for new GPSDriverUBX constructor
2016-10-06 09:00:09 +02:00
Hidenori
96a5baa12b
Navio: fix style
2016-10-06 09:00:09 +02:00
Hidenori
56ef984529
Navio2: modify for SPI-connected GPS and fix bug in GPIO driver
2016-10-06 09:00:09 +02:00
Artem Sabadyr
74b2780874
GPS driver: use FIONREAD on NuttX only
2016-10-02 11:19:55 +02:00
Artem Sabadyr
4c04b7bb53
gps read optimization
2016-10-02 11:19:47 +02:00
Julian Oes
8ff237c69f
Remove size optimization for individual modules
...
It makes more sense to set the optimization flags on a platform basis
instead of individually for each module. This allows for different
optimization options for SITL, NuttX, Snapdragon, etc.
2016-09-30 08:11:51 +02:00
huanglilong
6f7b78821a
fix fake gps bugs ( #5285 )
2016-08-09 21:24:11 +02:00
Lorenz Meier
aae3a37983
GPS: Do not use nonblocking access
2016-08-09 15:59:34 +02:00
Beat Küng
124e1c26d9
gps injection: use the orb queuing API instead of multiple instances
...
It uses a queue length of 6. There are 3 RTCM msgs/s, but due to
fragmentation and WiFi lags, there can be more than that. During several
tests, a length of 6 showed no queue overflows.
2016-08-06 20:41:38 +02:00
Lorenz Meier
b5ef5cabb5
Updated src/drivers/gps/devices
2016-07-30 11:40:50 +02:00
Eric Ye
9f5b081257
Wrap help line to fit through mini-dm. ( #5157 )
...
It currently gets cut off on mini-dm, split it into multiple lines
so all of it comes through.
2016-07-28 14:47:57 -07:00
Beat Küng
09ecc84cc7
gps file dump: re-implement with an uORB topic & write to the log file ( #4987 )
...
Drawbacks of the previous method: when writing to the SD card, there are
high delays in the write() call of several 100ms, every now and then. The
frequency and length of these events depend on:
- SD card
- used logger bandwidth
- bandwidth of gps data (RTCM)
Since the whole gps thread was blocked during this period, it lead to
gps timeouts and lost module.
What we do now is: publish an orb topic with queuing. This makes it async
and the logger takes care of buffering. This means it's best to:
- use high logger rate
- use large logger buffer
- reduce logger bandwith by disabling unused topics
2016-07-06 09:32:37 +02:00
Beat Küng
f8e9a19889
gps_position: convert uint64 timestamp_time -> int32 timestamp_time_relative
...
We need to make this timestamp relative to the main timestamp. Necessary
for replay, and saves some space.
2016-06-24 00:22:01 +02:00
Beat Küng
e2a7145379
vehicle_gps_position: remove timestamp_variance & timestamp_velocity (they're not used)
2016-06-24 00:22:01 +02:00
Beat Küng
89f5bd27e8
vehicle_gps_position: use timestamp field instead of timestamp_position
...
timestamp was unused. This allows to remove timestamp_position.
2016-06-24 00:22:01 +02:00
Beat Küng
fc2d2c6ce0
gps: update drivers submodule
2016-06-02 09:26:03 +02:00
Beat Küng
b226f7d13d
gps: call fsync after injecting gps data
...
This is to minimize delay
2016-06-02 09:26:03 +02:00
Beat Küng
25cff52019
RTCM: use MAVLINK_MSG_ID_GPS_RTCM_DATA mavlink message (supports fragmentation)
2016-06-02 09:26:03 +02:00
Lorenz Meier
7398164fcc
Updated PX4 use / API of low level GPIO and other hardware-centric system facilities
2016-05-28 14:56:17 +02:00
Beat Küng
a94654e8d4
gps dump communication to file: include received RTCM messages
2016-05-22 12:19:47 +02:00
Beat Küng
6b8ab4611b
gps: workaround for missing stat() on QuRT
2016-05-22 12:19:47 +02:00
Beat Küng
aef78b8aeb
gps: add GPS_DUMP_COMM param: if 1, dump all gps communication to a file
2016-05-22 12:19:47 +02:00
Beat Küng
47ed8c1a3c
gps: fix thread initialization under posix
...
under NuttX the argc in task_main_trampoline contains two arguments,
but on linux only one.
2016-05-22 12:19:47 +02:00
Beat Küng
9d0c5469a0
gps: remove unneeded comment
2016-05-22 12:19:47 +02:00
Beat Küng
f600b7fb37
fix gps regression: publish satellite info
2016-05-22 12:19:47 +02:00
Beat Küng
c6f25591f7
dual gps: some cleanup, correctly use args argument of px4_task_spawn_cmd
2016-05-22 12:19:47 +02:00
Sebastian Verling
e7ed07cf3c
formatting
2016-05-22 12:19:47 +02:00
Sebastian Verling
62a152227a
removed debugging line
2016-05-22 12:19:47 +02:00
Sebastian Verling
49e1c99dee
make sure gps1 always publishes to gps1 topic
2016-05-22 12:19:47 +02:00
Sebastian Verling
7c5d10d57c
removed unnecessary pointer and comment
2016-05-22 12:19:47 +02:00