Commit Graph

110 Commits

Author SHA1 Message Date
Lorenz Meier d906fb8f31 Merged master into linux 2015-05-19 21:00:02 +02:00
Johan Jansen 680898e6aa GPS: Publish first data after configuring device 2015-05-18 12:48:40 +02:00
Mark Charlebois c5237f7f6f Removed extra abstracton layer in systemlib
The calls to task_spawn_cmd, kill_all, and systemreset  were wrappers
around the px4_{task_spawn_cmd|kill_all|systemreset} implementations.

Removed the wrappers and changed all calls to the px4_ equivalents.

NuttX specific code was moved into px4_tasks.h

Signed-off-by: Mark Charlebois <charlebm@gmail.com>
2015-05-06 14:43:11 -07:00
Mark Charlebois 9758112e31 Use px4_config.h instead of nuttx/config.h
Modified code to use OS independent header file for config settings.

Signed-off-by: Mark Charlebois <charlebm@gmail.com>
2015-04-20 10:55:41 -07:00
Mark Charlebois bf429188b4 Reverted: Use OS independent API for task creation/deletion
Keep existing API use in code. Bind the use of the OS independent
implementation in the systemlib layer.

Signed-off-by: Mark Charlebois <charlebm@gmail.com>
2015-04-20 10:49:44 -07:00
Mark Charlebois ddb32742eb Use OS independent API for task creation/deletion
Calls to task_delete and task_spawn_cmd are now
px4_task_delete and px4_task_spawn_cmd respectively.

The px4_tasks.h header was added to the affected files
and incusions of nuttx/config.h were removed.

Signed-off-by: Mark Charlebois <charlebm@gmail.com>
2015-04-20 10:49:44 -07:00
Johan Jansen 051b7b853e UBlox: Check valid time bit for NAV_TIMEUTC messages (used for Ublox 6 and earlier) 2015-04-10 09:56:05 +02:00
Johan Jansen 891a7af509 UBlox: Only use time and date if flags are valid 2015-04-07 17:15:33 +02:00
Johan Jansen a121f6101f UBlox: Only use fix and velocity if flags are valid 2015-04-07 17:15:17 +02:00
Stefan 9224738804 update dead link to Ublox Documentation
actualise dead link to Ublox M8 V15-17 Receiver Description Protocol Spec ( new R08 from 4 December 2014)
2015-02-24 20:59:23 +01:00
Lorenz Meier f26a1cb3f1 Merge pull request #1794 from PX4/ekf-fixes
EKF Fixes from @Zefz
2015-02-15 22:55:09 +01:00
Lorenz Meier c26b4e123f Fix up GPS command line option usage 2015-02-15 19:40:42 +01:00
Lorenz Meier 1b8f5de134 GPS / ashtech: Use double for time where NMEA uses floating point numbers 2015-02-15 10:17:01 +01:00
Lorenz Meier 3bb0008af5 Ashtech driver: Avoid unnecessary double precision conversion calls 2015-02-15 10:17:00 +01:00
Johan Jansen b1b078103a GPS: Remove GPS disable debug code 2015-02-13 14:29:59 +01:00
Johan Jansen a8c298c772 AttPosEKF: Remove unused gps accel estimation 2015-02-12 13:55:03 +01:00
Johan Jansen 0cbfa65056 AttPosEKF: Refactor and code cleanup 2015-02-11 17:57:33 +01:00
Lorenz Meier aeb8642117 GPS: Move to 0-based index 2015-02-09 22:56:21 +01:00
Lorenz Meier ba10e18ffb Remove unneeded cast in GPS driver 2015-02-08 11:40:20 +01:00
Lorenz Meier ebacd9b5ad GPS fixes from coverity 2015-01-21 08:58:47 +01:00
Lorenz Meier 78cde98ea8 GPS driver: Add missing wall clock setup for MTK GPS modules 2015-01-06 18:22:44 +01:00
Lorenz Meier 1cc92c0361 GPS driver: Require valid minimum time to allow setting the wall clock. Protection against nulled time fields 2015-01-04 16:24:43 +01:00
Lorenz Meier eefad6217d GPS driver feedback cleanup 2015-01-04 12:05:40 +01:00
Ban Siesta 25fc9d791a renaming of gps time to UTC time 2015-01-04 10:43:28 +00:00
Ban Siesta 4cc7f599d1 ashtech: whitespace 2015-01-04 10:40:39 +00:00
Lorenz Meier f48abafbc9 GPS driver: Set RTC from Ashtech receivers as well 2015-01-04 10:45:20 +01:00
Lorenz Meier 50a00bee8e GPS driver: UBX time handling for all protocol revisions 2015-01-04 10:45:20 +01:00
Lorenz Meier c1f89dbd5c GPS driver: Check return value of settime and notify shell if call fails 2015-01-04 00:08:04 +01:00
Lorenz Meier 48a8ea7f19 GPS driver: Fixed implicit cast causing time logic errors. Found by @Zefz 2015-01-04 00:07:42 +01:00
Lorenz Meier 2a95b4a9b8 GPS: Update the RTC even when RTC is enabled 2015-01-03 19:05:42 +01:00
Lorenz Meier 54e7ed70e1 GPS: be less verbose 2014-11-22 16:34:09 +01:00
Denis Yeldandi 686d3f4c79 Checking if fix status is less or equal to 0 rather than just equal 2014-10-10 18:42:24 +04:00
Denis Yeldandi fb6a68af70 Fixed issue #1382
- Ashtech driver is no longer checking fix status from comparing
  coordinates to 0.0;0.0;0.0, instead it's checking fix type in GGA or
  checking coordinate exsistance in POS. This removes compiler warning
  about float euqality comparison.

- Fixed compiler warning about comparison between signed and unsigned
  int

- Fixed compiler warning about class property masking
2014-10-10 17:51:18 +04:00
Denis Yeldandi 5bbca77796 Got rid of str_scanDec and scanFloat64.
- Replaced str_scanDec and scanFloat64 with strtol and strtod.
 - Added __attribute__ ((unused)) to yet unused variables
 - Added initialization for a few variables
2014-10-09 14:11:18 +04:00
Denis Yeldandi c4e934c133 Multiple fixes:
- Fixed boad - board typo
- Ashtech initialization string is const char* now
- Using standard M_PI constant instead of locally defined one
- Removed float32_t and float64_t in favor of standard float and double
2014-10-09 12:01:09 +04:00
Denis Yeldandi e37b25fd58 Non-ascii characters cleanup 2014-10-09 11:47:20 +04:00
Denis Yeldandi d3875eabf2 Removed VTG message parsing 2014-10-09 11:37:22 +04:00
Denis Yeldandi 9f33555f53 More code style fixes 2014-10-09 11:36:04 +04:00
Denis Yeldandi 09b5206404 Code style fix 2014-10-09 11:15:11 +04:00
Denis Yeldandi 2de50ab35b Merge branch 'master' into ashtech_hi_freq 2014-10-08 11:56:58 +04:00
Denis Yeldandi 6bf005e901 PASHS,POP,20 is needed for 20Hz configuration 2014-10-06 17:56:56 +04:00
Thomas Gubler 61352b8e1a remove warnx 2014-10-05 12:52:04 +02:00
Denis Yeldandi e0a21000c8 Merge branch 'ashtech' into ashtech_hi_freq 2014-10-04 09:22:17 +04:00
Denis Yeldandi 04ceb3c95d Fixed km/h -> knots in POS 2014-10-04 09:21:47 +04:00
Denis Yeldandi a960fcbdef Increased ashtech POS frequency and increased baudrate 2014-10-02 14:34:20 +04:00
Thomas Gubler f4851c1b14 ubx: disable sbas configuration per default 2014-09-30 15:50:58 +02:00
Denis Yeldandi 213f4aadbd Ashtech GPS driver 2014-09-30 15:44:47 +04:00
Thomas Gubler 69eb222d4e ubx: add sbas config, default to disable 2014-09-22 19:04:24 +02:00
Lorenz Meier 69937702b8 gps: Flash efficiency 2014-07-12 21:33:21 +02:00
Lorenz Meier ee573fea9d GPS driver: Print velocity as part of status command 2014-07-11 14:25:16 +02:00