Commit Graph

14034 Commits

Author SHA1 Message Date
Andrew Tridgell 00526359b0 HAL_Linux: use dprintf() instead of sprintf and write 2014-11-10 06:51:53 +11:00
Andrew Tridgell bec1c05773 AP_Notify: fixed bitfields 2014-11-10 06:33:54 +11:00
bugobliterator e48fcf2df7 AP_Notify:change tonealarm-type bitmask to bool type,
change parameter data type from const uint8_t to uint8_t,
initialise tonealarm error flag to value -1 at tonealarm class initiallisation

This is a part of a set of fixes for the bugs and typos tridge discovered and shared inside earlier commits for setting up tonealarm.
2014-11-10 06:27:49 +11:00
bugobliterator 9f5f5871f2 AP_Notify:Fix the typo, usage of toshibaled.init() instead of toshibaled.update()
This is a part of a set of fixes for the bugs and typos tridge discovered and shared inside earlier commits for setting up tonealarm.
2014-11-10 06:27:48 +11:00
bugobliterator af203760bd HAL_Linux: change the return type of AP_HAL::Util::tonealarm_init() to signed int8_t.
This is a part of a set of fixes for the bugs and typos tridge discovered and shared inside earlier commits for setting up tonealarm.
2014-11-10 06:27:48 +11:00
bugobliterator b383e1633b Tools/Linux_HAL_Essentials: Add loading of PWM capes to support ToneAlarm
new capes to be loaded by startup.sh: am33xx_pwm and bone_pwm_P8_36
2014-11-10 06:27:48 +11:00
bugobliterator fa6e83318d AP_HAL: Add virtual toneAlarm member functions to be declared under Linux_HAL 2014-11-10 06:27:48 +11:00
bugobliterator 298b27444a HAL_Linux: Add ToneAlarm Driver to Linux_HAL
ToneAlarm is setup for Beaglebone Black using pwm, toneAlarm thread runs on second last priority.
2014-11-10 06:27:48 +11:00
bugobliterator 5d6af51517 AP_Notify:Add ToneAlarm Support for HAL_Linux Boards 2014-11-10 06:27:48 +11:00
Jonathan Challinger 2d288d46a4 AP_HAL_AVR_SITL: fill in ublox accuracy metrics with reasonable values 2014-11-08 19:07:50 +11:00
Andrew Tridgell 19c727c6c2 Plane: change default autotune level to 6 2014-11-08 18:42:35 +11:00
Andrew Tridgell 02d45468d6 Plane: update OVERRIDE_CHAN docs 2014-11-08 18:38:56 +11:00
Andrew Tridgell 34659478c2 Plane: fixed potential division by zero in mixing creation
also setup failsafe values if already armed, so while loading new
mixer the throttle output doesn't go to zero
2014-11-08 15:40:35 +11:00
Andrew Tridgell 1e6511b010 Plane: fixed number of channels we pass to PWM limits 2014-11-08 15:40:35 +11:00
Andrew Tridgell 0a318d3a68 Plane: move delay callback setup to after compass and airspeed config
this ensure parameters sent on startup include compass settings and
airspeed offset
2014-11-08 15:40:35 +11:00
Randy Mackay 9e12b01569 Copter: CPU failsafe set motors to min before logging error
This ensures that if the logging stalls the motors will have already
been reduced to zero
2014-11-08 11:37:23 +09:00
Jonathan Challinger 80ba40d149 Copter: CPU failsafe logs an error 2014-11-08 11:27:16 +09:00
Randy Mackay 31087e4f20 Compass: shorten EXTERNAL2/3 to EXTERN2/3
Bug discovered by Michael Day
2014-11-08 10:21:22 +09:00
Robert Lefebvre a2958e2ffd AP_MotorsSingle: Fix parameter comments. 2014-11-08 10:18:03 +09:00
Randy Mackay 98f5a93e10 AC_AttControl: remove unused logging structure 2014-11-08 10:17:32 +09:00
Andrew Tridgell 02581f4c05 HAL_Linux: re-fix dirty mask bug in Storage
when conversion to a single parent class was done it re-introduced a
bug that was fixed a while ago

See commit d238ff7c5d
2014-11-08 11:55:55 +11:00
Andrew Tridgell 330dab2fe3 HAL_Linux: fixed some warnings 2014-11-08 11:49:09 +11:00
bugobliterator 4908e335d2 HAL_Linux: Add Storage.cpp containing common storage class member definitions 2014-11-08 11:36:12 +11:00
bugobliterator dd6d520385 HAL_Linux:Create subclass to handle FRAM Storage under main Storage Class 2014-11-08 11:36:09 +11:00
Victor Mayoral Vilches 46c8714996 AP_GPS: make the examples compile in Linux 2014-11-08 11:25:35 +11:00
Andrew Tridgell b5f1ab496b build: be less strict on compiler version for PXF 2014-11-07 22:15:28 +11:00
Andrew Tridgell 14a6878bcd HAL_Linux: fixed termios settings on BBB initial boot
this should fix the problem of losing the GPS in flight
2014-11-07 22:15:28 +11:00
Andrew Tridgell 3f60cddb87 PX4: build reflect command for USB stress testing 2014-11-07 22:15:28 +11:00
Jonathan Challinger e37337b744 Copter: remove gyro cal prearm check 2014-11-07 14:02:26 +09:00
Randy Mackay 9f2af783db Copter: update AC3.2 ReleaseNotes 2014-11-07 14:00:00 +09:00
Andrew Tridgell 7356503e90 Plane: set the PX4IO OVERRIDE_IMMEDIATE flag 2014-11-07 11:30:30 +11:00
Andrew Tridgell 0d2d63980d Plane: limit RC config to 8 channels
this is a limitation of current px4io.c
2014-11-07 10:39:07 +11:00
Andrew Tridgell 63561e53fb Plane: handle trims and reversals in px4 mixer creation 2014-11-07 10:39:07 +11:00
Andrew Tridgell e30838a4ef Plane: make OVERRIDE_CHAN behaviour exactly match FLTMODE6
this provides a convenient "real manual" flight mode
2014-11-07 10:39:07 +11:00
Andrew Tridgell bfb2a7eb93 Plane: improved FLAPIN_CHANNEL docs 2014-11-07 10:39:07 +11:00
Andrew Tridgell e22c8b27a9 HAL_PX4: if there are no enabled channels don't send to PX4IO
this makes it possible to disable PWM output to IO to test override
2014-11-07 10:39:07 +11:00
Andrew Tridgell 16fd113020 RC_Channel: added channel_function()
this is used in the plane mixing code
2014-11-07 10:39:07 +11:00
Andrew Tridgell 913004beb0 Plane: added OVERRIDE_CHAN parameter
this allows both for testing PX4IO override on the ground, and for
forced manual override while flying, including re-arming after in-air
reboot
2014-11-07 10:39:07 +11:00
Andrew Tridgell c494057c98 Plane: add support for generating a PX4 mixer for failsafe
this creates APM/MIXER.MIX which will be used if the FMU dies to
provide manual control over RC
2014-11-07 10:39:07 +11:00
Randy Mackay 1b64dd2280 Copter: clarify pv_location_to_vector param name
Also update function description
2014-11-06 11:53:57 +09:00
Clay McClure 71586d40e3 AC_WPNav: minor fix to comments 2014-11-06 11:53:56 +09:00
Clay McClure 12c514553d AutoTest: copter test that zero alt defaults to current alt 2014-11-06 11:53:56 +09:00
Clay McClure a897c14255 Copter: ensure lat, lon, alt all zero is handled
Use default position when waypoint lat/lon are zero,
and default altitude when waypoint alt is zero, for
both spline and straight-line waypoints.

Fixes #1145.
2014-11-06 11:53:32 +09:00
squilter cab2010a8f AP_Arming: remove abbreviations from GCS messages 2014-11-06 11:13:26 +09:00
Jonathan Challinger 6c4d4713aa AP_NavEKF: Add parameter that specifies EKF-to-DCM/INAV fallback strictness 2014-11-06 10:03:52 +11:00
Jonathan Challinger 2293070a5b AP_GPS: Add uBlox accuracy metrics interface and logging 2014-11-06 07:38:41 +11:00
Jonathan Challinger 9be7039be1 DataFlash: add UBX3 message for accuracy logging 2014-11-06 07:38:41 +11:00
Jonathan Challinger d03ed7a2c3 AP_Mount: Added lead filter 2014-11-06 07:35:32 +11:00
Andrew Tridgell 0738d75701 build_devrelease: build all frames for jons release 2014-11-06 07:16:30 +11:00
Randy Mackay 07975ed564 Copter: minor reformat of control_autotune 2014-11-05 21:08:39 +09:00