Commit Graph

9764 Commits

Author SHA1 Message Date
Andrew Tridgell
7c4067e154 HAL_PX4: prevent excessive writes on startup from blocking
this could cause copter on PX4 to hang on startup
2013-11-23 17:02:44 +09:00
Randy Mackay
eee7a1de22 Copter: remove unused #defines from config.h 2013-11-23 17:02:43 +09:00
Randy Mackay
9a6c61d42f Copter: add features that can be disabled to APM_Config.h 2013-11-23 17:02:41 +09:00
Andrew Tridgell
91c3b669c7 Plane: allow parameters to download at full speed 2013-11-23 17:02:40 +09:00
Andrew Tridgell
53a9d2745c Rover: removed fast_loop() and use scheduler for all tasks
this also fixes a parameter download speed issue
2013-11-23 17:02:38 +09:00
Randy Mackay
7157a44fdb AC_Fence: fix example sketch 2013-11-23 17:02:36 +09:00
Andrew Tridgell
d4fdead45a AP_InertialNav: fixed example build 2013-11-23 17:02:35 +09:00
Randy Mackay
e563a236ab AP_InertialNav: remove unused velocity fns
remove get_longitude_velocity and get_latitude_velocity
2013-11-23 17:02:33 +09:00
Randy Mackay
8b293f10a4 Copter: remove ins from InertialNav object instantiation 2013-11-23 17:02:32 +09:00
Randy Mackay
bf062cc4bb AP_InertialNav: add comments, make ahrs const from neurocopter
These fixes are provided by neurocopter but with my name because of
merge conflicts
_position and _velocity vectors added to save some floating point add
operations
unused reference to ins in constructor removed
2013-11-23 17:02:30 +09:00
Tobias
aac51eb670 Copter/position_vector: remove const specifiers on objects returned by
value
2013-11-23 17:02:29 +09:00
Tobias
c34de8d9ad AP_Buffer: remove header/source separation to allow arbitrary template
parameters without explicit instantiation in the cpp file.

http://stackoverflow.com/questions/495021/why-can-templates-only-be-implemented-in-the-header-file
2013-11-23 17:02:27 +09:00
Randy Mackay
16baa7557c AP_InertialNav: bug fix for gps delay handling 2013-11-23 17:02:25 +09:00
Tobias
01074f9839 AP_InertialNav: rename AP_Buffer functions, fix delay handling bug
The most recent value was used instead of the intended historical value
as indicated by the comment.
2013-11-23 17:02:24 +09:00
Tobias
a809d57e4b AP_Buffer: add comments and rename functions to conform with the
STL-container naming conventions
Comment format changes by Randy
2013-11-23 17:02:22 +09:00
Tobias
a19093b1c4 AP_InertialNav: move variable definitions to elide unused default
construction of objects (saves 106 bytes)
2013-11-23 17:02:21 +09:00
Tobias
ec72095fc2 AC_WPNav: make more member pointers const 2013-11-23 17:02:19 +09:00
Tobias
de9778ae1c AC_WPNav: make member pointer to AP_InertialNav object const since it's
never modified
2013-11-23 17:02:17 +09:00
Tobias
7377d4a5f1 AC_Fence: replace "_ina->geT_position().z" with more efficent
"_inav->get_altitude()"
2013-11-23 17:02:16 +09:00
Tobias
89173656c5 AC_Fence: make member pointer to AP_InertialNav const, remove unused
gps-pointer member
2013-11-23 17:02:14 +09:00
Tobias
3b718e8dd5 Copter: use const refs instead of unneeded copies 2013-11-23 17:02:12 +09:00
Randy Mackay
3e9e0f82aa AC_Sprayer: add doxygen info 2013-11-23 17:02:11 +09:00
Tobias
43be74c60a AC_WPNav: replace unnecessary objects with const refs 2013-11-23 17:02:09 +09:00
Tobias
a56efe837f AC_Sprayer: replace unnecessary object with const ref 2013-11-23 17:02:08 +09:00
Tobias
e313647aa0 Copter: Log.pde: replace unused copy with ref (saves again some bytes) 2013-11-23 17:02:06 +09:00
Tobias
176096df4e AC_Sprayer: add consts, update comments
* removed some comments that were left over from the classes this class
was copypasta'ed from
2013-11-23 17:02:05 +09:00
Tobias
07a95b398d Filter: add consts 2013-11-23 17:02:03 +09:00
Tobias
c02c8806cc AP_Baro: add time-unit comment 2013-11-23 17:02:02 +09:00
Tobias
ac463652f4 Copter: add comment (unit of G_Dt) 2013-11-23 17:02:00 +09:00
Tobias
9a743d0444 AP_InertialNav: remove unused AP_InertialSensor pointer 2013-11-23 17:01:59 +09:00
Tobias
9fb8352d32 AP_InertialNav: add comments, rename incorrectly named member,
initialize member, remove redundant assignment
adjustments to original commit by randy
2013-11-23 17:01:58 +09:00
Andrew Tridgell
61d4134ba9 HAL_Linux: fixed scheduler initialisation bug in Linux HAL as well 2013-11-23 17:01:56 +09:00
Andrew Tridgell
13d9103a83 HAL_PX4: prevent threads running before subsystems are initialised
this fixes a bug where the timer thread would hang waiting for the
console on startup. This caused the "hit enter" behaviour with recent
PX4 bugs, as AnalogIn tried to read from fd==0, which was a console
read
2013-11-23 17:01:55 +09:00
Andrew Tridgell
d1bdca301b Plane: tag 2.75beta5 2013-11-23 17:01:54 +09:00
Paul Riseborough
8e8f3f87d9 APM_Control : Moved scaler on roll and pitch integrator to be before integrator
This means that the value of aileron and elevator trim offset won't change with airspeed
2013-11-23 17:01:52 +09:00
Randy Mackay
c7d16d2c3b Copter: remove unnecessary check of flight mode from fence response 2013-11-23 17:01:51 +09:00
Randy Mackay
fcc1b8e190 Copter: report RC receiver health to GCS 2013-11-23 17:01:50 +09:00
Randy Mackay
ebd60ebcdc GCS_MAVLink: generate after adding RC reciever to SYS_STATUS enum 2013-11-23 17:01:48 +09:00
Randy Mackay
65f69dcfdb GCS_MAVLink: add RC receiver to SYS_STATUS enum 2013-11-23 17:01:47 +09:00
Andrew Tridgell
04cca7aee6 AntennaTracker: first cut at antenna tracking sketch 2013-11-23 17:01:46 +09:00
Andrew Tridgell
191c104748 AP_GPS: fixed date handling in NMEA driver 2013-11-23 17:01:44 +09:00
Andrew Tridgell
e11dbb4803 HAL_SITL: fixed time strings in simulated NMEA GPS 2013-11-23 17:01:43 +09:00
Andrew Tridgell
0fd28e3e99 Copter: set system time on GPS lock 2013-11-23 17:01:42 +09:00
Andrew Tridgell
11d127b66b Rover: set system time on GPS lock 2013-11-23 17:01:40 +09:00
Andrew Tridgell
45493cc67a Plane: set system time on GPS lock 2013-11-23 17:01:39 +09:00
Andrew Tridgell
4eefd2683b DataFlash: show timestamps on flash logs 2013-11-23 17:01:38 +09:00
Andrew Tridgell
304737ade3 HAL_PX4: implement set_system_clock() 2013-11-23 17:01:36 +09:00
Andrew Tridgell
343b520d93 AP_HAL: added set_system_clock() API 2013-11-23 17:01:35 +09:00
Andrew Tridgell
d3dcae1b08 AP_GPS: added fake time to fake GPS lock 2013-11-23 17:01:34 +09:00
Andrew Tridgell
35e67f37c6 Rover: added MAVLink SYSTEM_TIME message 2013-11-23 17:01:32 +09:00