Commit Graph

27535 Commits

Author SHA1 Message Date
Randy Mackay
989677ddfd AP_BattMonitor: move has_current to backend 2017-06-06 14:57:04 +09:00
Matt
f02bfab7fe AP_Notify: OreoLED rework
Reworked the process flow.  Created the aviation vs rover themes.
Created visual operator feedback for prearm checks, GPS, EKF, gyro init,
radio failsafe, and low battery. This also includes work by Hugh Eaves
to open up the full extended properties of the Oreo LEDs.  Not only are
far more functions available, but you can override and do custom things
via mavlink.
2017-06-06 12:59:03 +09:00
Matt
34d305083d AP_Notify: Complete rework of notify device selection
Jaime did the hard work on this one.  He reworked notify device
selection to take place on init rather than on compile like before.  The
notify decivces are mostly set on compile using preprocessor directives
based on board type.  I created NTF_OREO_THEME.  This will allow the
user to enable/disable the OreoLED driver. And it also allows you to
select between aircraft and rover lighting themes. This allows the Solo
to use the OreoLEDs, and doesn't waste the memory on vehicles not
equipped with Oreo LEDs. The OreoLED driver is restricted to Pixhawk 2
FCs by proprocessor directive due to memory constraints. So it will
never work by accident on another board.

There is also a new notify flag for GPS Fusion.  This flag is true when
the EKF is happy with the GPS, actively using it for position
information.
2017-06-06 12:58:28 +09:00
Matt
6354ca7096 AP_AHRS: Set the new gps_fusion notify flag
Uses EKF filter state to set the new gps_fusion notify flag. This allows
the GCS and notify devices to specifically be notified if the GPS is or
is not usable.
2017-06-06 10:38:42 +09:00
Matt
545e417348 AP_Notify: Remove solo specific tones, align with px4 tones
Evaluated solo specific tones file vs standard px4 tones files.  The
only thing the Solo had that standard ArduPilot does not have is the GPS
unplugged tone and the power off tone.
* Some tones have a different tune, which is fine. We want the Solo to
sound like ArduPilot if it is running ArduPilot.
* GPS unplugged tone abandoned. Determined to be unnecessary.
* Power off tone merged into standard px4 tones file. Smart battery
signalling a power off will make use of this tone. Has application for
any smart battery equipped vehicle, not just Solo.
* Removed all references and dependencies to `ToneAlarm_PX4_Solo.cpp`
and `ToneAlarm_PX4_Solo.h`
* Deleted `ToneAlarm_PX4_Solo.cpp` and `ToneAlarm_PX4_Solo.h` since
they're no longer needed.
2017-06-06 10:38:40 +09:00
Dr.-Ing. Amilcar Do Carmo Lucas
771d2fb13c Rover: Be more explicit that a SPEED_TURN_GAIN value of 80% reduces "to 80%" and not "by 80%" 2017-06-06 11:34:52 +10:00
Dr.-Ing. Amilcar Do Carmo Lucas
65cca6ae87 SRV_Channel: Improve the PWM parameters descriptions 2017-06-06 11:06:26 +10:00
Dr.-Ing. Amilcar Do Carmo Lucas
ed07d5b5c9 RC_Channel: Improve the PWM parameters descriptions 2017-06-06 11:06:26 +10:00
Dr.-Ing. Amilcar Do Carmo Lucas
2c867ec362 AP_RSSI: Improve the PWM parameters descriptions 2017-06-06 11:06:26 +10:00
Dr.-Ing. Amilcar Do Carmo Lucas
89a0d2aa3b AP_Parachute: Improve the PWM parameters descriptions 2017-06-06 11:06:26 +10:00
Dr.-Ing. Amilcar Do Carmo Lucas
1b062d9d29 AP_Motors: Improve the PWM parameters descriptions 2017-06-06 11:06:26 +10:00
Dr.-Ing. Amilcar Do Carmo Lucas
eebf26ed9f AP_LandingGear: Improve the PWM parameters descriptions 2017-06-06 11:06:26 +10:00
Dr.-Ing. Amilcar Do Carmo Lucas
d1f9633ed2 AP_Landing: Improve the PWM parameters descriptions 2017-06-06 11:06:26 +10:00
Dr.-Ing. Amilcar Do Carmo Lucas
1ad5e58eb7 AP_Gripper: Improve the PWM parameters descriptions 2017-06-06 11:06:26 +10:00
Dr.-Ing. Amilcar Do Carmo Lucas
67620e87f0 AP_Camera: Improve the PWM parameters descriptions 2017-06-06 11:06:26 +10:00
Dr.-Ing. Amilcar Do Carmo Lucas
47514e275d Sub: Improve the PWM parameters descriptions 2017-06-06 11:06:26 +10:00
Dr.-Ing. Amilcar Do Carmo Lucas
f8aa91681e Copter: Improve the PWM parameters descriptions 2017-06-06 11:06:26 +10:00
Jonathan Challinger
2e07f8824e AP_Motors: reserve parameter index 38 2017-06-06 08:45:37 +09:00
cafoo
3e3db064d3 Tools: add my name to Git_Success.txt 2017-06-05 20:33:20 +09:00
Peter Barker
d56eca036d AC_AttitudeControl: correct parameter markup 2017-06-05 21:02:30 +10:00
Michael du Breuil
87c076da4d ArduPlane: Fix missing break in GCS_MAVLink
Was causing AOA_SSA to send a landing message as wel
2017-06-05 13:12:01 +09:00
priseborough
1985dcd366 AP_NavEKF2: Fix bug in declination fusion 2017-06-03 15:16:25 +01:00
Lucas De Marchi
2e096d76c6 sparse-endian: avoid clash with linux/types.h
On recent kernels (>= 4.10) __bitwise is defined on the header. Avoid
warning about redefining it.
2017-06-02 11:26:02 -07:00
Hiroshi Iwamoto
edf667ad6e Tools: add my name to GIT_Success.txt
the member of JAPAN drone software engineering school.
2017-06-02 21:04:37 +09:00
Andrew Tridgell
228cba2524 autotest: fixed default frame type in sim_vehicle.py 2017-06-02 16:53:55 +10:00
Ikumi Motoshige
aa9891fe59 Tools: add my name to GIT_Success.txt 2017-06-02 15:31:50 +09:00
Lars Kellogg-Stedman
ed2aab5113 markdown fixes to README.md
There was some odd markdown formatting in README.md (e.g., everything
was a block quote).  This commit cleans things up a bit.
2017-06-02 11:30:47 +09:00
Michael du Breuil
6830a8b86c AccelCal: Continously report success/failure to the GCS that requested the calibration 2017-06-01 20:20:05 +01:00
Michael du Breuil
c62e79b5c0 GCS_MAVLink: Update the accelcal signature to accept uint32_t 2017-06-01 20:20:05 +01:00
Michael du Breuil
bc8df31fc3 MAVLink: Update submodule to include accelcal status 2017-06-01 20:20:05 +01:00
mirkix
478fb60a5b AP_HAL: BeagleBone Blue fix HMC5843 I2C bus number 2017-06-01 17:11:34 +01:00
mirkix
d9d3d97e54 AP_Compass: BeagleBone Blue add external compass HMC5843 2017-06-01 17:11:34 +01:00
Leonard Hall
447b20efa5 AP_InertialSensor: reduce accel filter to 10hz 2017-06-01 14:53:48 +09:00
Randy Mackay
010dc103be Copter: increase RC input deadzones for roll pitch and yaw
Copter-3.5 testing resulted in a significant number of users reporting various issues like poshold and autotune were not functioning because their RC inputs were straying out of the deadzones
2017-06-01 10:10:57 +09:00
Leonard Hall
ad74769fb7 AC_AttControl: adjust default rate IMAX and Yaw Filt
Increase Roll, Pitch and Yaw IMAX from 0.444 or 0.222 to 0.5
Decrease Yaw Filter from 5hz to 2.5hz based on the results of autotunes on many vehicles which always seems to produce values between 2 and 3hz
2017-06-01 10:08:41 +09:00
Leonard Hall
c61d0a7373 Copter: reduce RC_FEEL default to 25 2017-06-01 10:06:20 +09:00
Michael du Breuil
ffe701bda3 AP_GPS: Use a static assert to check that the init blob is small enough 2017-05-31 14:39:53 +01:00
Randy Mackay
0b7ec0dc64 AP_Proximity: validate range finder distances 2017-05-31 16:26:42 +09:00
Andrew Tridgell
fc42fda82d mavlink: submodule update 2017-05-31 16:05:15 +10:00
Michael du Breuil
6c11abcb47 MAVLink: Update submodule 2017-05-31 13:45:37 +09:00
Michael du Breuil
1877d09f7c AP_GPS: Don't track detection time to broadcast baud rate 2017-05-30 23:37:59 +01:00
Michael du Breuil
84598544fb AP_GPS: Don't autodetect NMEA instances 2017-05-30 23:37:59 +01:00
Nobuyuki Arai
3bdd4c0cd6 I added my name to the list in GIT_Success.txt because of assignment of 3rd course, "Drone software engineer". 2017-05-30 10:02:43 -07:00
Michael du Breuil
f026438f22 AP_BattMonitor: Fetch remaining capacity 2017-05-30 20:28:12 +09:00
Dr.-Ing. Amilcar Do Carmo Lucas
c389dd93d7 Rover: NFC - correct the units of the RNGFND_TURN_ANGL parameter 2017-05-30 12:09:50 +09:00
Dr.-Ing. Amilcar Do Carmo Lucas
f7a683d38e AP_BoardConfig: remove redundant BRD_ prefix, it also made this parameter 17 characters long 2017-05-30 12:09:02 +09:00
hrykyn
b09ebbb891 autotest: add locations
adding location of Hata-drone-field, JAPAN
2017-05-28 07:30:53 -07:00
hrykyn
4cc5587348 GIT_Success: add name
adding Hiroyuki Yano the member of JAPAN drone software engineering school, course 1&2(not course 3)
2017-05-28 07:30:53 -07:00
Paulo Neves
66b4c821c9 Sub: Add MAV_CMD_DO_SET_CAM_TRIGG_DIST support. 2017-05-27 20:47:05 -04:00
Michael du Breuil
2cd6ff6dd5 AP_Math: Accept float epsilon in is_positive is_negative as a valid result 2017-05-27 10:46:59 -07:00