Commit Graph

25478 Commits

Author SHA1 Message Date
Dr.-Ing. Amilcar Do Carmo Lucas
d35433b253
gitignore: ignore generated parameter documentation files 2017-01-12 00:43:54 +00:00
Randy Mackay
b1e494a209 Copter: return MAV_TYPE as quadcopter by default
This allows the GCSs to know that the firmware is for a multicopter
2017-01-12 09:27:14 +09:00
Peter Barker
1432763ca5 Tools: permit overriding shell to use when running in terminal window 2017-01-12 10:47:34 +11:00
Randy Mackay
7c7144fd8f AP_Proximity: minor comment spelling fix 2017-01-11 21:48:23 +09:00
Randy Mackay
74f1899aeb AP_Proximity: boundary_points requires only one valid distance
Object avoidance is possible with just one valid distance
Boundary is initialised in new init_boundary function to be 100m from
vehicle
If sectors do not have valid distance measurements, we use the distance
from adjacent sectors.  This conveniently leads to a concave shaped
boundary that keeps the vehicle from travelling into the dataless sector.
2017-01-11 21:48:23 +09:00
Randy Mackay
20ca021cab Copter: pass distance-sensor messages to AP_Proximity 2017-01-11 21:48:23 +09:00
Randy Mackay
a0a8472a44 AP_Proximity: fix consumption of distance-sensor messages 2017-01-11 21:48:23 +09:00
Randy Mackay
742cdf6b13 Copter: fix arming while armed bug
If a mavlink command was sent to arm the vehicle while it was already armed, the in_arm_motors boolean was left as true meaning the vehicle could never be armed again using a mavlink message.  This resolves issue #5546.
2017-01-11 21:38:22 +09:00
Lucas De Marchi
b910f230fb AP_HAL_Linux: RCInput: replace volatile with atomic 2017-01-11 11:25:00 +11:00
Randy Mackay
bdbb07a3b1 Copter: remove version from Copter.cpp
Also added wiki page URL
2017-01-11 08:46:43 +09:00
Andrew Tridgell
1dec5ba723 mavlink: submodule update 2017-01-11 09:31:38 +11:00
Andrew Tridgell
0a18f5e7b2 HAL_Linux: fixed a bug in RCInput::new_input
when a library called read() it would clear the new input flag, which
would cause new_input() in the main loop to return false. This could
trigger a false RC failsafe.
2017-01-09 21:47:19 -08:00
Andrew Tridgell
9b7f0f7957 AP_HAL: make new_input() API clearer in comments 2017-01-09 21:47:11 -08:00
Randy Mackay
d4daa10045 AP_Proximity: add MAV type to parameter descriptions 2017-01-10 11:00:00 +09:00
Francisco Ferreira
c6875e1756
AP_NavEKF2: remove editor information wrongly added in d408d25 2017-01-09 16:16:14 +00:00
murata
e65887c393
Copter: Change sprintf method to secure snprintf method. 2017-01-09 16:05:56 +00:00
murata
974d63a6b5 AP_HAL: Change the format of the return value of the method header. 2017-01-09 15:46:03 +00:00
Pierre Kancir
c0be20ece2 SITL: XPLANE fix member shadowing 2017-01-09 06:51:48 -08:00
Randy Mackay
9d315b0829 Tools: sim_vehicle spelling correction 2017-01-09 20:40:59 +09:00
Andrew Tridgell
90516f1064 autotest: fixed checkout bug in build_binaries.sh 2017-01-09 22:04:27 +11:00
Andrew Tridgell
cc5e9da6ef autotest: added some debug to build_binaries.sh 2017-01-09 21:42:38 +11:00
Dr.-Ing. Amilcar Do Carmo Lucas
b7f32e216d AP_GPS: update parameter descriptions 2017-01-09 13:32:28 +09:00
Dr.-Ing. Amilcar Do Carmo Lucas
9389ec2274 AP_NavEKF2: fix parameter descriptions 2017-01-09 13:30:30 +09:00
Dr.-Ing. Amilcar Do Carmo Lucas
195e32c2fc AP_NavEKF3: fix some parameter descriptions 2017-01-09 13:30:24 +09:00
Dr.-Ing. Amilcar Do Carmo Lucas
8032ed295d AP_Avoidance: add units to param descriptions 2017-01-09 13:25:33 +09:00
Andrew Tridgell
2101f7c0c1 autotest: fixed stable build of multicopter frame types 2017-01-09 11:52:11 +11:00
Andrew Tridgell
eaf5676636 SITL: fixed unselection bitmask bug in XPlane 2017-01-09 09:55:14 +11:00
Andrew Tridgell
538410205b PX4Firmware: submodule update 2017-01-09 09:17:16 +11:00
Andrew Tridgell
da45aef5c6 AP_HAL: fixed a logic bug in the srxl state machine
when decoding invalid input the buflen could grow to beyond the buffer
size, overwriting the next block of memory. On Disco this ended up
overwriting the Perf::_instance variable, which led to a segmentation
fault
2017-01-09 09:14:13 +11:00
Dr.-Ing. Amilcar Do Carmo Lucas
713b08d830 AC_WPNav: Reduced WPNAV_SPEED minimum to 20cm/s 2017-01-07 14:30:07 +09:00
Andrew Tridgell
35d6dc141a SITL: only de-select data types in xplane once
don't fight the user
2017-01-07 14:41:23 +11:00
murata
c2521dd650 AP_Proximity: Change sprintf method to secure snprintf method. 2017-01-07 02:33:46 +00:00
Tom Pittenger
9a250c3bf4 Plane: clarify some variable names and protect against divide-by-zero 2017-01-06 17:35:44 -08:00
Eugene Shamaev
ac2880db7c Plane: waypoint logic change for overflow/underflow 2017-01-06 17:35:44 -08:00
Tom Pittenger
a81f5cefbe AP_Mission: don't wrap when masking via HIGH/LOWBYTE 2017-01-06 17:35:44 -08:00
Eugene Shamaev
dc3d10a28b AP_Mission: waypoint command parsing 2017-01-06 17:35:44 -08:00
Dr.-Ing. Amilcar Do Carmo Lucas
5bf45dbffd APMrover2: publish SPEED2THR_ parameters 2017-01-07 10:32:11 +11:00
Dr.-Ing. Amilcar Do Carmo Lucas
0054df9907 APMrover2: Correct AUTO_TRIGGER_PIN Values format
This allows simplified machine parsing of the generated XML file
2017-01-07 10:23:56 +11:00
Dr.-Ing. Amilcar Do Carmo Lucas
9aaeb6fe1a AP_GPS: Add missing GPS Types 2017-01-06 21:24:42 +00:00
murata
908d9a8a8c AP_ADSB: Change sprintf method to secure snprintf method. 2017-01-06 10:59:12 -08:00
Dr.-Ing. Amilcar Do Carmo Lucas
d408d25f92 More spelling stuff 2017-01-06 10:57:39 -08:00
Dr.-Ing. Amilcar Do Carmo Lucas
8419045aea Spell in comments 2017-01-06 10:57:39 -08:00
Randy Mackay
2416e66103 Copter: 3.4.4 release notes 2017-01-06 14:53:46 +09:00
Randy Mackay
6b4acebd26 Copter: bigger buf when sending frame string to frsky telem 2017-01-05 13:45:53 +09:00
Nacho Carnicero
bc9facf608 AP_Mount: Fix Alexmos gimbal Mavlink targeting mode 2017-01-05 02:16:32 +00:00
Luis Vale Gonçalves
b9e83755f3 Copter: Notify GCS that Flight mode change failed
Copter: Notify GCS that Flight mode change has failed
2017-01-05 02:16:32 +00:00
Randy Mackay
946d30476a AP_InertialSensor: fix whoami for MPU6k 2017-01-05 10:29:51 +09:00
Victor Lambret
a4108251e3 AP_Baro: fix get_last_update(instance)
The method was not using the instance parameter. Instead it always use
primary barometer. Bug was not detected because method
get_last_update() is used where instance is _primary.

Detected with warnings, warnings are useful :-)
2017-01-04 17:32:24 +00:00
Randy Mackay
e32ddaa7fa Copter: reorder beacon and proximity declaration
resolves compiler warning
2017-01-04 19:58:53 +09:00
Peter Barker
af9729c126 Plane: correct compilation when parachute disabled 2017-01-02 20:39:03 -08:00