Commit Graph

24589 Commits

Author SHA1 Message Date
Lucas De Marchi
b7e5f56bd7 AP_Gripper: add O_CLOEXEC in places missing it
By opening with O_CLOEXEC we make sure we don't leak the file descriptor
when we are exec'ing or calling out subprograms. Right now we currently
don't do it so there's no harm, but it's good practice in Linux to have
it.
2016-11-07 12:37:30 -03:00
Lucas De Marchi
8cec2c188f Tools: add O_CLOEXEC in places missing it
By opening with O_CLOEXEC we make sure we don't leak the file descriptor
when we are exec'ing or calling out subprograms. Right now we currently
don't do it so there's no harm, but it's good practice in Linux to have
it.
2016-11-07 12:37:30 -03:00
Lucas De Marchi
4936fd8623 AP_Terrain: add O_CLOEXEC in places missing it
By opening with O_CLOEXEC we make sure we don't leak the file descriptor
when we are exec'ing or calling out subprograms. Right now we currently
don't do it so there's no harm, but it's good practice in Linux to have
it.
2016-11-07 12:37:30 -03:00
Lucas De Marchi
f6d475c1e6 AP_HAL_SITL: add O_CLOEXEC in places missing it
By opening with O_CLOEXEC we make sure we don't leak the file descriptor
when we are exec'ing or calling out subprograms. Right now we currently
don't do it so there's no harm, but it's good practice in Linux to have
it.
2016-11-07 12:37:30 -03:00
Lucas De Marchi
c9eff28c44 DataFlash: add O_CLOEXEC in places missing it
By opening with O_CLOEXEC we make sure we don't leak the file descriptor
when we are exec'ing or calling out subprograms. Right now we currently
don't do it so there's no harm, but it's good practice in Linux to have
it.
2016-11-07 12:37:30 -03:00
Lucas De Marchi
932d1ae244 AP_RangeFinder: add O_CLOEXEC in places missing it
By opening with O_CLOEXEC we make sure we don't leak the file descriptor
when we are exec'ing or calling out subprograms. Right now we currently
don't do it so there's no harm, but it's good practice in Linux to have
it.
2016-11-07 12:37:30 -03:00
Lucas De Marchi
7968736b1c AP_HAL: add O_CLOEXEC in places missing it
By opening with O_CLOEXEC we make sure we don't leak the file descriptor
when we are exec'ing or calling out subprograms. Right now we currently
don't do it so there's no harm, but it's good practice in Linux to have
it.
2016-11-07 12:37:30 -03:00
Lucas De Marchi
490841a814 AP_HAL_Linux: add O_CLOEXEC in places missing it
By opening with O_CLOEXEC we make sure we don't leak the file descriptor
when we are exec'ing or calling out subprograms. Right now we currently
don't do it so there's no harm, but it's good practice in Linux to have
it.
2016-11-07 12:37:30 -03:00
Lucas De Marchi
2e4c1818a3 AP_Common: add missing O_CLOEXEC definition
O_CLOEXEC is not available on Nuttx, nor it makes sense there. Define it
as 0, so we can use it in code.
2016-11-07 12:37:30 -03:00
Lucas De Marchi
57aec40acb build: disable O_CLOEXEC for PX4 and VRBRAIN 2016-11-07 12:37:30 -03:00
Holger Steinhaus
5b66062f85 AP_GPS_PX4: unsubscribe on driver destruction. 2016-11-07 08:00:57 -03:00
Randy Mackay
ae8aea482f Copter: 3.4.2-rc2 release notes 2016-11-07 13:37:13 +09:00
Randy Mackay
69fd0939d9 Copter: 3.4.2-rc1 release notes 2016-11-07 13:37:13 +09:00
DESKTOP-EM2VARO\tanaka
e8202d82c0 add my name last line. by tanaka 2016/11/07 2016-11-06 20:07:04 -08:00
Andrew Tridgell
3ed66309ec Tools: split pip install into two cmds 2016-11-07 14:34:52 +11:00
Andrew Tridgell
d3ad0fb52c mavlink: submodule update 2016-11-07 13:12:55 +11:00
Andrew Tridgell
fa9412512c mavlink: submodule update 2016-11-07 13:12:55 +11:00
Randy Mackay
31b5941c45 SITL: revert increase speed of yaw in copter sitl
ACRO_Y_EXPO's default has been set to zero so we need to revert the
change to the yaw input in the SITL autotest
2016-11-07 10:34:33 +09:00
Randy Mackay
b87ad8378b Copter: ACRO_Y_EXPO default to 0
This value affects yaw in all flight modes.  Leonard is planning to change the name to make that more clear.
2016-11-07 10:34:32 +09:00
Randy Mackay
7e031262c3 Tools: remove duplicate from Bebop2 params file 2016-11-07 09:54:58 +09:00
Randy Mackay
d9e476c96f Tools: Bebop2 param get radio failsafe
put params in alphabetical order
2016-11-07 09:53:37 +09:00
Randy Mackay
fb47480b51 Tools: Bebop params get ground effect compensation
Also put in alphabetical order
2016-11-07 09:52:41 +09:00
Randy Mackay
93b88a68a0 Copter: only log proximity if sensor is enabled 2016-11-07 09:36:53 +09:00
floaledm
53fcbcb6c3 Copter: send ahrs groundspeed estimate instead of GPS groundspeed in VFR_HUD message 2016-11-07 09:14:28 +11:00
floaledm
b2a6b93d30 Plane: send ahrs groundspeed estimate instead of GPS groundspeed in VFR_HUD message 2016-11-07 09:14:28 +11:00
Peter Barker
e8fc5b9552 Tools: add set -x to install-prereqs scripts 2016-11-07 08:17:41 +11:00
gogo-hiro
30a2472b89 add name 2016-11-06 10:21:39 -08:00
Shingo Matsuura
ceaa9474ed AP_RangeFinder: change enum name, add "state" word 2016-11-06 05:22:30 -08:00
Shingo Matsuura
4329cdbf2c AP_RangeFinder: change comment about fall through LEDDARONE_MODBUS_INIT case 2016-11-06 05:22:30 -08:00
Shingo Matsuura
3b8d36314c AP_RangeFinder: add comment about no break at LEDDARONE_MODBUS_INIT case 2016-11-06 05:22:30 -08:00
Shingo Matsuura
0eeca3ee0b AP_RangeFinder: remove case indent 2016-11-06 05:22:30 -08:00
Shingo Matsuura
4ca1eefd50 AP_RangeFinder: change magic numbers to define 2016-11-06 05:22:30 -08:00
Shingo Matsuura
6254787186 AP_RangeFinder: remove break in LEDDARONE_MODOBUS_INIT case and and use () around (read_len == 0) for clarity 2016-11-06 05:22:30 -08:00
Shingo Matsuura
5e5a806979 AP_RangeFinder: modified regarding to advices from @magicrub - san. 2016-11-06 05:22:30 -08:00
Shingo Matsuura
4b127edd5e AP_RangeFinder: fixed LeddarOne busy wait 2016-11-06 05:22:30 -08:00
FujimuraS
c843fedd77 Added name to GIT_Success.txt
Testing whether I can add changes to git_success via the Windows client
2016-11-05 13:28:36 -07:00
hiro2233test
02da4d58a9 GIT: Added name success. 2016-11-05 04:28:20 -07:00
Carlos Bravo
e54cf6c2b6 Test Committed from MAC Computer 2016-11-05 04:28:20 -07:00
Randy Mackay
b34c14ef67 Tools: update EX700 parameter file
swapped around lidar, TX1 and SF40c input channels
2016-11-05 17:10:40 +09:00
Florent Martel
530955c15f AP_Frsky_Telem: remove arming check for transmitting params
Otherwise, on Plane, if ARMING REQUIRED is set to 0 (automatically
armed), no parameters are transmitted.
2016-11-04 23:11:00 -07:00
Randy Mackay
039d12bd55 AP_Gripper: add parameter unit and remove print on grab or release 2016-11-05 10:36:06 +09:00
Peter Barker
d9cbcd9487 SITL: a simulator for the EPM grabber 2016-11-05 10:20:43 +09:00
Peter Barker
7200692137 RC_Channel: make EPM a subclass of AP_Gripper_Backend 2016-11-05 10:20:41 +09:00
Peter Barker
236b8ab6b7 Copter: make EPM a subclass of AP_Gripper_Backend 2016-11-05 10:20:39 +09:00
Peter Barker
48cd35609c AP_Gripper: make EPM a subclass of AP_Gripper_Backend 2016-11-05 10:20:38 +09:00
Peter Barker
15b271ec13 AP_EPM: rename in preparation of becoming a AP_Gripper backend 2016-11-05 10:20:35 +09:00
Peter Barker
920868145c Copter: support for AP_Gripper 2016-11-05 10:20:33 +09:00
Peter Barker
d2e798d549 RC_Channel: alias k_epm to k_kgripper 2016-11-05 10:20:31 +09:00
Peter Barker
d439bbe5bf SITL: SIM_Gripper_Servo, a simulated servo gripper 2016-11-05 10:20:29 +09:00
Peter Barker
a8435de65a AP_Gripper: a general gripper frontend 2016-11-05 10:20:27 +09:00