Commit Graph

3469 Commits

Author SHA1 Message Date
Peter Barker 2c0e2aab15 Tools: LogAnalyzer: derive motor count from frame type MSG 2017-09-11 12:01:24 +10:00
Francisco Ferreira 84efe7e6f5
Tools: ci: reduce ccache sizes 2017-09-08 16:33:15 +01:00
Francisco Ferreira be88b5a6e8
Tools: ci: get ccache statistics for SITL test 2017-09-08 16:33:15 +01:00
Francisco Ferreira 129fde128a
Tools: ci: let waf decide number of jobs for building SITL test 2017-09-08 16:33:15 +01:00
Francisco Ferreira aa6b997a0b
Tools: ci: use number of CPUs to choose number of jobs on Make builds 2017-09-08 16:33:15 +01:00
Francisco Ferreira c073263c8d
Tools: ci: disable ccache for Make builds 2017-09-08 16:33:15 +01:00
Francisco Ferreira 80e784c93d
Tools: ci: only do Make builds in some special cases
build using Make system for PX4-v3 or, if it is a cron job, for all PX4 boards and SITL
2017-09-08 16:33:14 +01:00
davidaroyer bde8252359 waf: add support for Aerotenna OcPoC-Zynq hardware 2017-09-08 07:30:49 -07:00
Peter Barker 2738fc34f0 Tools: autotest.py: exit if step not matched
Also, stop shadowing a variable
2017-09-08 21:51:26 +10:00
Peter Barker b5e206f72f Replay: print some statistics on exit 2017-09-06 02:30:38 +01:00
Peter Barker 6928618de8 Tools: autotest.py: allow specification of a buildlogs directory 2017-09-01 23:39:38 +10:00
Peter Barker 681a5b5c2c Tools: initvagrant: allow autotest to run 2017-09-01 23:39:38 +10:00
Luis Vale Gonçalves c046824ce7 Added our testing location
Added testing location at Tagus Park, Oeiras, Portugal
2017-08-31 14:16:10 -07:00
Jacob Walser 19086e34f0 Frame_params: update BlueROV2 defaults for 3.5.1 2017-08-30 17:49:34 -04:00
Peter Barker f0096d3c7a Tools: apmrover2.py: add a test for MAV_CMD_REQUEST_AUTOPILOT_CAPABILITIES 2017-08-30 15:54:47 +01:00
Peter Barker 324d9f3c7d Tools: apmrover2.py: add a test for MAV_CMD_DO_GET_BANNER 2017-08-30 15:54:47 +01:00
Peter Barker 1b7122d733 Tools: add a --speedup parameter to autotest to control speed of all sims 2017-08-29 22:49:40 +01:00
Francisco Ferreira 2645760d19
Tools: sim_vehicle.py: fix small bug introduced in e298e87
Thanks to @cclauss for finding this
2017-08-29 12:16:23 +01:00
Peter Barker e298e87791 sim_vehicle: add --callgrind option 2017-08-28 13:47:27 +01:00
cclauss 0f08207bdb Tools: define reduce() for Python 3
`reduce()` is called on line 55.  Python 3 dropped reduce() as a builtin.  https://docs.python.org/3/whatsnew/3.0.html#builtins encourages the rewriting of reduce() calls as explicit for loops or list comprehensions but I am not confident to try that in this context.
2017-08-28 11:43:39 +10:00
Peter Barker 24e616af7d Tools: autotest.py: factor write_fullresults 2017-08-26 17:54:32 +01:00
Andrew Tridgell 8d0d4fe40a Tools: added script to decode Saleae CSV capture file 2017-08-26 09:56:25 +10:00
Peter Barker 0334cc1c88 Tools: correct copter's fly_throttle_failsafe failure case 2017-08-26 09:36:09 +10:00
cclauss 13894506f4 from math import sqrt
Make the call match the import
2017-08-25 09:04:15 -07:00
cclauss b26b6f07bd from math import sqrt
sqrt() is called on lines 198, 200, 208.  Without this change, sqrt() is an undefined name.
2017-08-25 09:04:15 -07:00
Francisco Ferreira 415cb41c7f
Tools: add gdbserver option to Rover autotest
commit 38297c4 missed changing Rover file
2017-08-25 02:38:12 +01:00
Peter Barker a7b919f025 Tools: do not attach gdb to gdbserver unless --gdb is given 2017-08-24 21:37:06 +10:00
Miguel Arroyo 38297c4d19 Tools: Adds GDBServer with screen option for debugging 2017-08-24 21:37:06 +10:00
khancyr db3c387916 Tools: update relay pins for brushed motors in SITL 2017-08-24 20:10:32 +09:00
Lucas De Marchi bfe2acac33 build: add -Wno-attributes for PX4
This will allow us to use [[fallthrough]] attribute as an
statement.
2017-08-22 23:59:13 -07:00
Randy Mackay cd8661c665 Replay: integrate simpler Log_Write_EKF 2017-08-23 11:19:14 +09:00
Andrew Tridgell f5d91f63d2 autotest: fixed firefly parameters 2017-08-20 09:37:00 +10:00
khancyr e116ec4eb0 Rover: update SITL parameters 2017-08-17 09:47:39 +09:00
Randy Mackay 7df73c50e8 SITL: remove unnecessary THR_MAX parameter default 2017-08-17 09:39:40 +09:00
Lucas De Marchi 47968cda09 scripts: don't set PKG_CONFIG_PATH globally
It was done only for Bebop, but we build it statically so it has
actually no effect.
2017-08-16 10:51:59 -07:00
Lucas De Marchi 8a9a08ed9b build: generalize link fix 2017-08-16 10:51:59 -07:00
Miguel Arroyo a2f327678b waf: Fix for lttng linking 2017-08-16 10:51:59 -07:00
Jacob Walser 8121091fb6 Sub: Don't configure RC params in SITL 2017-08-16 11:37:46 -04:00
Francisco Ferreira d41dd7e7e7
waf: add workaround for PE linker not removing unused methods 2017-08-15 21:51:08 +01:00
Michael du Breuil 1b6c3aeea1 Replay: Avoid linking AFS 2017-08-15 15:14:56 +01:00
Randy Mackay 9b63c8751f SITL: rover default params in alphabetical order 2017-08-15 20:47:19 +09:00
Randy Mackay 1582bd85af SITL: update rover default parameters 2017-08-15 20:47:19 +09:00
Peter Barker d8e260874d Tools: copyit must always be given fourth, src, parameter 2017-08-15 13:09:45 +10:00
Peter Barker 953eefa024 Tools: include Sub in the list of known vehicles for PrintVersion 2017-08-15 11:49:35 +10:00
Peter Barker a2af13c17e Tools: calibrate SITL sub RC in autotest's sub parameters 2017-08-14 15:32:25 +09:00
Daniel Orbach 3c66663880 Tools: autotest.py: Squashed the code for default.* steps in run_step(). 2017-08-14 12:16:29 +10:00
Daniel Orbach 91e25bb937 Tools: autotest.py: Made use of shutil.copy2() where appropiate. 2017-08-14 12:16:29 +10:00
Daniel Orbach befd8b028b Tools: autotest.py: Moved all imports to top of file. 2017-08-14 12:16:29 +10:00
Daniel Orbach e951df7d50 Tools: autotest.py: Simplified binary_path through lookup table 2017-08-14 12:16:29 +10:00
Daniel Orbach 29ab76e714 Tools: autotest.py: Slightly cleaned up run_tests. 2017-08-14 12:16:29 +10:00
Daniel Orbach 04791139c0 Tools: autotest.py: Separated function definitions and script code. 2017-08-14 12:16:29 +10:00
Andrew Tridgell 4c6922e413 Tools: fixed ardusub build
and manifest generation without PX4IO
2017-08-10 09:35:31 +10:00
Peter Barker 1c2e1eeaf8 Tools: provide dummy function to avoid linking the AP_Camera 2017-08-09 16:18:22 +01:00
Andrew Tridgell 1901cb6c7f waf: added --disable-header-checks
the headers checks are most of the re-build time when editing class
headers. Disabling them makes development much faster
2017-08-08 00:42:19 -07:00
Andrew Tridgell 42b181b652 Tools: updates to build_binaries.sh (use waf)
this switches to waf for all the px4 builds, plus adds px4pro It also
removes apm1/apm2 for plane build, and removes the download directory
for PX4IO
2017-08-08 11:15:09 +10:00
Peter Barker 2437260f8a Tools: copter horizontal fence test waits for disarm then rearms 2017-08-04 17:44:43 +01:00
Peter Barker dd09bb338e Tools: wait for vehicle to disarm after handling throttle failsafe 2017-08-04 17:44:43 +01:00
Andrew Tridgell 78f6a5a177 Tools: improve devid decode 2017-08-01 20:17:11 +10:00
Andrew Tridgell 224dc439ab Tools: updated parameters to remove ELEVON and VTAIL settings 2017-08-01 08:25:32 +10:00
Andrew Tridgell 2fb94597ba autotest: adjust default params for new mixing 2017-08-01 08:25:32 +10:00
Kevin Lopez Alvarez 34c977f046 waf: Initial waf support for ppro 2017-07-24 13:45:37 +10:00
Kevin Lopez Alvarez 33f6b30ef4 Tools: initial FMUv4pro support 2017-07-24 13:45:37 +10:00
Peter Barker ebc8dc4afc Tools: LogAnalyzer: fix whitespace 2017-07-22 10:40:22 +10:00
Peter Barker a6fd812051 Tools: LogAnalyzer: use repr in place of deprecated backticks 2017-07-22 09:28:28 +10:00
Peter Barker cb56cf38d0 Tools: LogAnalyzer: remove vehicle-type-is-first-MSG-assumption 2017-07-22 09:15:59 +10:00
Peter Barker 44d1c77b0c Tools: LogAnalyzer: use print_function 2017-07-22 09:09:51 +10:00
Peter Barker c383d64954 Tools: ardusub.py: increase timeout to allow Valgrind to pass 2017-07-20 15:45:15 +10:00
Peter Barker dff026e30c Tools: Replay: move starting of new logs into DataFlash 2017-07-19 16:37:28 +01:00
Francisco Ferreira eda5d9265f
Tools: add new no-emit option to param_parse.py so that only validation is done 2017-07-18 14:15:39 +01:00
Francisco Ferreira 83359e898a
Tools: update CI ccache version to 3.3.4
ccache 3.3.x uses CPP2 enabled by default so remove enabling it
2017-07-18 14:15:39 +01:00
Francisco Ferreira 540548f0aa
Tools: CI: only set shell to verbose after including profile
Travis has a very long .profile script, which is already shown in configure step, so there is no need to log it again in the build step
2017-07-18 14:15:38 +01:00
Matt 3fd393bc21 FRAME_PARAMS: Solo final parameters for AC 3.5.0+
This is the final list of parameters the Solo requires for ArduCopter
3.5.0+ that differ from ArduCopter 3.5.0 defaults.  I ran a
`mavparmdiff` on the defaults vs Solo to generate this list.  I added
`FRAME_TYPE` back even though it is default just because it is rather
critical. I removed all the parameters that are individual vehicle
specific (calibrations, pressure, etc).
2017-07-17 09:09:35 +09:00
Peter Barker 7042d3e9c9 Global: all vehicles get AP_Relay and AP_ServoRelayEvent libraries 2017-07-17 00:06:31 +01:00
Michael du Breuil 31924e46d3 Tools: Parameters: Permit kHz as a unit 2017-07-16 08:26:52 +10:00
khancyr 5c8b8cc9a1 Tools: update rover skid param 2017-07-08 16:07:13 +09:00
Peter Barker 6a7ed2646c Tools: Replay: Use GCS_Dummy GCS singleton 2017-07-07 16:18:37 +01:00
Peter Barker 86d8252166 Tools: correct sim_vehicle's --tracker option 2017-07-07 16:18:37 +01:00
Peter Barker 84e4e282f0 Tools: autotest: use copter-single for most of copter-coax parameters 2017-07-05 17:34:09 +01:00
Peter Barker a6de3b6865 Tools: use heli params for most of heli-dual params 2017-07-05 17:34:09 +01:00
Peter Barker 791b1f43e9 Tools: allow heli autotest to use different frame 2017-07-05 17:34:09 +01:00
Peter Barker 9948bed2a2 Tools: use rover params for most of rover-skid params 2017-07-05 17:33:32 +01:00
Peter Barker cb81f9c8b3 Tools: allow Rover to use inheritted config files 2017-07-05 17:29:55 +01:00
Peter Barker 59647b3434 Tools: autotest: correct Copter params file handling 2017-07-05 17:29:55 +01:00
Andrew Tridgell 392d990950 autotest: added dspoiler parameters for plane
and simplify vtail and elevon parameters
2017-07-03 11:17:42 +10:00
Gustavo Sousa 930f3b4aca build: boards: enable --upload option for linux boards
Make it use rsync command. That's a workaround to allow user using --upload
option, which in fact appends the 'rsync' to the command chain. A bad
side-effect of this is that the build summary is output twice for a command
like 'waf copter --upload'.
2017-07-02 08:58:26 -07:00
Peter Barker 29de7b1a17 Replay: provide a log bitmask to Dataflash constructor 2017-06-29 15:43:38 +01:00
Randy Mackay 59503f15cb Tools: update eLAB VEK AI parameters 2017-06-29 16:14:15 +09:00
khancyr 71bb0b24ed Autotest: remove SKID_STEER_OUT from default param 2017-06-28 18:53:51 +01:00
Randy Mackay bee666cd7a Tools: update eLAB VEK rover param file 2017-06-28 15:40:21 +09:00
murata 0a57177cee Tools: eLab LAB445 parameter file 2017-06-28 10:26:25 +09:00
Peter Barker 34e611be59 Tools: autotest: wait for plane to disarm before downloading logs 2017-06-27 03:10:43 +01:00
Peter Barker 05ea121d0c Tools: autotest: disarm rover before downloading logs 2017-06-27 03:10:43 +01:00
Randy Mackay d934088660 Tools: update realflight simulator params 2017-06-26 17:28:48 +09:00
Randy Mackay 62903b7639 Tools: add realflight standard params 2017-06-26 13:08:05 +09:00
Randy Mackay e6f1e14b61 Tools: fix eLab VEK parameter file 2017-06-24 13:29:59 +09:00
Pierre Kancir 4270bac49e Rover: update default param file for new skid steering 2017-06-24 13:17:34 +09:00
Randy Mackay 58dd0592ad Tools: eLAB VEK default param update
We should always require arming, thanks @khancyr for noticing this!
2017-06-21 18:20:59 +09:00
Randy Mackay f8ee82e708 Tools: remove old 3DR standard param files 2017-06-21 15:16:49 +09:00
Randy Mackay 0037ec086a Tools: rename param files for eLAB 2017-06-21 15:08:38 +09:00
Randy Mackay 3159361970 Tools: add param file for eLAB VEK AI rover 2017-06-21 15:08:38 +09:00
Randy Mackay 74f5ddb823 SITL: add copter-beacon parameter file
This allows easier testing of the Beacon code in SITL
2017-06-20 20:42:36 +09:00
Jacob Walser b752594fe5 param_metadata: Markdown parameter formatter 2017-06-20 14:53:17 +10:00
Stephen Dade b6816285e5 Tools: APM source is not required to be in Cygwin dir 2017-06-14 18:03:25 +01:00
kmine b3bf72020f Tools: added my name to GitSuccess 2017-06-14 16:00:46 +09:00
Randy Mackay 32cb3f8764 Tools: add e-flight convergence parameter file 2017-06-12 09:41:33 +09:00
Peter Barker 10b69b46e1 Replay: StartUnstartedLogging replaces logging_started/start_logging 2017-06-11 20:34:12 +01:00
Pierre Kancir c25c92bfb6 Params: add battery monitor for SITL rover and gazebo 2017-06-07 20:29:02 +10:00
Lucas De Marchi d02013c91b build: aerofc-v1: add default param file into ROMFS 2017-06-06 18:42:17 -07:00
Lucas De Marchi f6d43aea25 build: px4: allow to embed defaults file into ROMFS 2017-06-06 18:42:17 -07:00
cafoo 3e3db064d3 Tools: add my name to Git_Success.txt 2017-06-05 20:33:20 +09: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
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
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
Jacob Walser 1a52acc99e Frame_params: Remove calibration parameters from bluerov2 standard 2017-05-27 11:30:56 -04:00
Jacob Walser 193e590592 Frame_params: add standard bluerov2 parameter file 2017-05-27 11:30:56 -04:00
murata 75e770c83c Tools: add support for dodeca-hexa 2017-05-27 14:21:13 +09:00
Peter Barker 2ddf7f99b5 Tools: autotest: option to run different frame 2017-05-26 16:53:07 +09:00
Peter Barker 96cfba971c Tools: vehicleinfo: factor out a default_frame method 2017-05-26 16:53:07 +09:00
Peter Barker 3a9ac2ef40 Tools: pull out vehicle metadata into a library 2017-05-26 16:53:07 +09:00
Pierre Kancir 971c8d5948 Tools: use parm inheritance for gazebo iris model 2017-05-25 10:02:32 +10:00
Peter Barker d1fb2e7c53 Tools: use parm inheritance for copter models 2017-05-25 09:58:53 +10:00
BrainMixer b57280125c Tools: add name to GitSuccess.txt 2017-05-24 10:43:41 +09:00
Andrew Tridgell fd6625e09d Frame_params: drop target temp for Solo to 45 2017-05-24 08:41:16 +10:00
Dr.-Ing. Amilcar Do Carmo Lucas 023e3b6e30 Tools: Add comments explaining why a couple of units are not SI 2017-05-17 18:07:25 +10:00
Dr.-Ing. Amilcar Do Carmo Lucas 02e7c49394 Tools: remove non-ASCII characters in comments, Travis chokes on them 2017-05-17 18:07:25 +10:00
Dr.-Ing. Amilcar Do Carmo Lucas d7c7deacdf Tools: Follow SI units conventions
http://physics.nist.gov/cuu/Units/units.html
http://physics.nist.gov/cuu/Units/outside.html
and
http://physics.nist.gov/cuu/Units/checklist.html
http://www.bipm.org/en/publications/si-brochure/
http://www1.bipm.org/en/CGPM/db/3/2/   g_n unit for G-force
one further constrain is that only printable (7bit) ASCII characters are allowed

Add a validation so that Travis can validate the units
Use full text unit information when generating .wiki, .rst and .html documentation
Use both unit symbol and unit full text when generating .xml
2017-05-17 18:07:25 +10:00
Miguel Arroyo d9546523a3 Tools: sim_vehicle.py fix for Python 3 2017-05-17 11:15:34 +10:00
Andrew Tridgell cd52c5a5c5 Tools: make build_all.sh use waf 2017-05-09 14:05:20 +10:00
Lucas De Marchi eb61bb86ee Tools: build_binaries: split configure, clean and build on waf
All 3 together breaks PX4 boards that have to go through the external
CMake build system.
2017-05-08 17:07:31 -07:00
Lucas De Marchi d04dab3a30 Tools: build_binaries: fix typo and binary name 2017-05-08 17:07:31 -07:00
Lucas De Marchi cb2f472445 Tools: add aerofc-v1 to autobuild 2017-05-08 10:09:27 +09:00
kouseii c84024942b Tools: add name to Git_Success 2017-05-08 09:56:37 +09:00
Peter Barker ee16205438 Tools: ardupilotwaf: include startup tone in ROMFS 2017-05-01 13:28:27 +01:00
Peter Barker ca5bf02d7c autotest: quote words as they go into generated ritw file 2017-04-29 11:31:26 +10:00
Andrew Tridgell 55ac480e91 Tools: added decode_devid.py 2017-04-29 10:13:23 +09:00
Francisco Ferreira 2f326fe5e0 build: remove obsolote mkblctrl from PX4 builds 2017-04-27 13:32:43 +01:00
Peter Barker e90c62ffc6 autotest: run_in_terminal_window gets SITL_RITW_MINIMIZE
This is handy when running gdb repeatedly; don't
need to find the iconified window all the time.
2017-04-26 14:12:10 +10:00
Randy Mackay f6888d3544 Tools: remove often unsupported character from Git_Success
Sorry Eduardo this character causes a lot of editors trouble so replacing with a close alternative
2017-04-26 11:45:47 +09:00
qtn89 3250e4cc62 Added name to GIT_Success.txt
Testing Git Tutorial
2017-04-26 11:45:39 +09:00
Andrew Tridgell 4240d3f739 Autotest: support tilttri-vec quadplane 2017-04-24 16:54:41 +10:00
Andrew Tridgell 385d1c1951 waf: cope with spaces in directory name in mavgen 2017-04-22 13:48:19 +10:00
Lucas De Marchi cacfc4cb2f Tools: set mavlink log backend for Intel Aero RTF 2017-04-22 10:58:26 +09:00
Randy Mackay 3df5484a39 Tools: update intel aero default params
Increase expected barometer noise, reduce roll gains
2017-04-20 14:07:03 +09:00
Randy Mackay 56281f9c79 Tools: update intel aero default params 2017-04-20 10:58:11 +09:00
Andrew Tridgell c8d6311047 waf: added -Werror=switch
match the stm32 build, so errors are found in SITL
2017-04-19 20:48:42 +10:00
Reza Farrahi M aa0de36b2e Tools: fix wxpython package name on Arch 2017-04-19 02:18:30 -07:00
Randy Mackay 41d999994a Tools: update intel aero rtf default parameters 2017-04-18 20:32:36 +09:00
Matt 29adf300ee Tools: update default Solo parameters running AC3.5 2017-04-18 11:00:26 +09:00
Pierre Kancir b541949262 WAF: Px4.py remove unused PX4_UAVCAN_ROOT and UAVCAN_LIBUAVCAN_PATH 2017-04-17 13:32:27 -07:00
Randy Mackay 835aa56777 Tools: intel aero params enable failsafes 2017-04-15 18:39:13 +09:00
Pierre Kancir d4bd61d859 APMRover2: unhide default NAVL1_PERIOD with a define
set the correct value to param
2017-04-15 13:48:40 +10:00
Pierre Kancir c73584c9b8 CPUInfo: example fix travis warning
missing function declaration
implicit cast
some style fix
2017-04-13 19:56:16 +01:00
Pierre Kancir eb4298ca3e Hello: example fix travis warning
missing function declaration
implicit cast
some style fix
2017-04-13 19:56:16 +01:00
Eugene Shamaev 59ef501a19 waf: add support for building with UAVCAN 2017-04-10 22:38:13 +01:00
Andrey Kolobov 2ed63d24bd XPlane: adding airfoils required to for XPlane
needed to load some of the RC sailplane models used for SITL
2017-04-10 19:11:24 +10:00
Stephen Dade 78d1ea4727 SITL: Added missing files to win_sitl and removed -j4 2017-04-10 10:09:18 +10:00
Stephen Dade 024c91de20 SITL: Added setup scripts for Windows (Cygwin) users 2017-04-10 10:09:18 +10:00
Andrey Kolobov a8b36a9be8 autotest: An X-Plane soaring mission file 2017-04-08 20:01:33 +10:00
Andrey Kolobov c06cfc84ff autotest: Parameter file for an X-Plane RC sailplane model called Vee-gull 005 2017-04-08 20:01:21 +10:00
Jacob Walser b1906d6c04 autotest: (Sub) only execute one circle instead of four 2017-04-07 14:47:48 -04:00
Jacob Walser 82cebe47dc autotest: (Sub) dont wait_alititude after mission 2017-04-06 14:06:46 -04:00
Jacob Walser 52d2ccaa29 autotest: Fix Sub RCInput channels 2017-04-06 13:52:29 -04:00
Jacob Walser 2940673994 default_params: (Sub) Remove old parameters from defaults file 2017-04-05 13:29:06 -04:00
Anastasia Solari 4055869d7f Name added - gitsuccess.txt
hello!
2017-04-03 21:49:17 +10:00
Thomas Hehn 38f0cd0957 Added myself to the GIT_Success list. 2017-03-31 02:24:56 -07:00
Guilherme Sousa b20b0fbbd3 default-params: Added parameter files for octa and octa-quad 2017-03-29 22:43:14 +11:00
Guilherme Sousa 442715ab1b autotest: Added new frame parameters for hexa, octa and octa-quad options 2017-03-29 22:43:14 +11:00
Guilherme Sousa 30dc71547e default_params: Added parameters for hexa testing in SITL 2017-03-29 22:38:11 +11:00
Guilherme Sousa 1b89021bf8 GIT_TEST: Added myself to GIT_Success.txt 2017-03-29 22:38:11 +11:00
Adhita Selvaraj 21951569b7 Tools: Modified GIT_Success.txt 2017-03-29 20:05:07 +09:00
Tom Pittenger 3aac2c114d Update GIT_Success.txt 2017-03-28 09:59:37 -07:00
shaunaqnarindra 0a93895812 Update GIT_Success.txt 2017-03-28 21:37:02 +11:00
kbnguyen 2034918281 Added name to GIT_Success 2017-03-28 10:43:56 +09:00
Andrew Tridgell 8387e1e69c autotest: added parameters for heli-dual model 2017-03-25 16:22:10 +11:00
Lucas De Marchi fab0358a0f build: document special fields in px4 boards 2017-03-24 12:06:19 +11:00
Lucas De Marchi 2ff720f99f Frame_params: add default params for Intel Aero RTF 2017-03-24 12:06:19 +11:00
Lucas De Marchi 05c5a2ac9b build: add adc driver for aerofc 2017-03-24 12:06:19 +11:00
Lucas De Marchi 81a9a70910 ROMFS: use different UART for errors in aerofc 2017-03-24 12:06:19 +11:00
Lucas De Marchi 3eb16fd881 build: PX4: install rc.<board-name> as init script 2017-03-24 12:06:19 +11:00
Lucas De Marchi b1b07f4e70 build: make bootloader path relative to ROMFS
Differentiating if the path should be relative to the build dir or the
ROMFS dir based purely on the type of the item is not a good approach.
This prepares the way to have more files on ROMFS with different names
on src and dst.
2017-03-24 12:06:19 +11:00
Lucas De Marchi 8db111e0a0 build: do not add sercon for aerofc 2017-03-24 12:06:19 +11:00
Lucas De Marchi d3df9c8d39 build: use dummy tone_alarm on aerofc
This allows us to use tone_alarm in the init script besides the calls
from ArduPilot code.
2017-03-24 12:06:19 +11:00
Lucas De Marchi b17acfee12 Add aerofc support
Flight Controller board that comes on Intel Aero RTF Drone.
2017-03-24 12:06:19 +11:00
Andre Kjellstrup bc8a212b68 one SITL location corrected 2017-03-23 14:24:43 -07:00
Vedarth Sharma e23bb6702d Add my name to GIT_Success.txt 2017-03-22 20:31:42 +09:00
Mahtab Sandhu be04cf120d doing my bit 2017-03-21 13:01:06 -07:00
Peter Barker f5e8facc87 Tools: LogAnalyzer: add NaN check 2017-03-21 09:38:21 +11:00
Pierre Kancir 1bb4e3c9b7 AP_IRLock_SITL: make port variable 2017-03-18 19:58:11 +11:00
Pierre Kancir fb79c96448 sim_vehicle.py: add gazebo rover 2017-03-18 19:58:11 +11:00
spsancti 551fa67673 Added myself to GIT_Succsess (and proud of it) 2017-03-17 19:45:15 +00:00
Count-Darth c35c722f4a Adding my name to GIT_Success.txt! 2017-03-17 18:00:55 +00:00
Nishchay-sopho 63da8dbb3c Update GIT_Success.txt 2017-03-17 14:25:54 +01:00
Andre Kjellstrup 7c817b2761 Adding SITL locations 2017-03-16 16:35:43 +01:00
Grant Morphett 4ee313c046 Build Rover: Fix build so correctly updates firmware-version.txt 2017-03-16 11:09:18 +11:00
Warren Eather c2c69702ba Update locations.txt 2017-03-15 22:20:49 +11:00
GuillermoGuevara c2905fc7f6 Update
Is it better this way :)
2017-03-14 21:29:28 +01:00
Randy Mackay e3bca10e9a Tools: fix Solo param file name 2017-03-14 11:36:08 +09:00
Randy Mackay 6e47eaf3c2 Tools: initial Solo default params
These are not perfect but it's a start
2017-03-14 11:10:19 +09:00
Jacob Walser 8c64728ffd autotest: Add auto mission to Sub autotest 2017-03-10 15:46:30 +11:00
Michael du Breuil c3b047cc5d Tools: Update runplanetest.py to reflect reworded ground start messages 2017-03-08 00:59:56 -08:00
Andrew Tridgell 2f8e9db606 autotest: fixed update of pymavlink 2017-03-08 16:40:10 +11:00
Jacob Walser 8e1d065d4e scripts: Generate Sub parameters 2017-03-04 09:31:51 -08:00
Opemipo Ogunkola 2631bdbe64 Add name to GIT_Success.txt 2017-03-03 09:30:28 -08:00
Jacob Walser 2c4e6a8fb6 web-firmware: Add Sub link to firmwares page 2017-03-01 14:44:55 +11:00
Randy Mackay c9ff028ec3 Tools: update IRIS param file for AC3.5 2017-02-28 16:43:09 +09:00
Randy Mackay cc67335b26 Tools: update EnRoute frame parameters 2017-02-28 14:09:41 +09:00
Randy Mackay bc89432019 Replay: fix rangefinder instantiation 2017-02-27 15:18:14 +09:00
Jacob Walser ec15f0fee5 autotest: Add Sub 2017-02-25 17:50:18 +11:00
Jacob Walser 289aab06bc scripts: Add Sub 2017-02-25 17:50:18 +11:00
Peter Barker e2f15e5fdb Tools: create a GCS_Replay class
Avoids a segfault as we assume gcs() returns an object
Provides some usefult debug as to what we're sending to the GCS as
 debug
2017-02-23 23:03:54 -08:00
Peter Barker 3f7d58fe2c sim_vehicle.py: allow a list of defaults files to be specified 2017-02-23 22:46:33 -08:00
Peter Barker f5c89117f6 Replay: remove unused variables
Also avoids segmentation fault on exit
2017-02-23 17:18:47 +11:00
Peter Barker 64d4e094fb Tools: sim_vehicle.py: correct formatting (NFC) 2017-02-23 11:07:37 +11:00
Peter Barker b256bc1dc0 Tools: sim_vehicle.py: add a warning when frame not found
We don't always have configuration for a frame type, but
it is atypical to run sim_vehicle like that.
2017-02-23 11:07:37 +11:00
Peter Barker 3be8c1e70b Tools: sim_vehicle.py: move metadata into _options
This centralises configuration information in _options and
removes duplication of data
2017-02-23 11:07:35 +11:00
Peter Barker fec23f6abe Tools: sim_vehicle.py: print possible frame types in help message 2017-02-23 11:07:05 +11:00
Peter Barker dd9de7dfb5 Tools: sim_vehicle.py: improve help about vehicle types 2017-02-23 11:06:28 +11:00
Peter Barker aec7091faa autotest: Add support for Sub in sim_vehicle.py 2017-02-21 11:26:14 +11:00
Andrew Tridgell 41b9d7c2c9 autotest: added tailsitter parameters 2017-02-18 17:31:10 +11:00
Andrew Tridgell 94fb390bda autotest: added sim_vehicle.py support for tailsitter 2017-02-18 17:26:43 +11:00
Pierre Kancir 332735d2ee SITL: update default param for skid steer rover 2017-02-16 09:45:08 +11:00
Lucas De Marchi 65f2c9eca1 build: remove batt_smbus from waf as well
It has been removed from make build system, but not from waf.
2017-02-12 01:14:04 +00:00
priseborough f9bf825094 Tools: Add analysis file for optical flow calibration data
Calculate and display recommended values of FLOW_FXSCALE and FLOW_FYSCALE from an optical flow sensor calibration test
Save plots to flow_calibration.pdf file
Save calibration parameters to flow_calibration.param file

Signed-off-by: priseborough <p_riseborough@live.com.au>

Tools: Address optical flow calibration script review comments

Tools: LogAnalyzer: stop executing TestOptFlow on insufficient data
2017-02-08 20:41:36 +11:00
Peter Barker 043b7598d1 Tools: correct error path for corrupt logs 2017-02-07 11:37:38 +11:00
Andrew Tridgell 496ed18530 autotest: sort libraries by name 2017-02-07 10:37:24 +11:00
Lucas De Marchi 00ef0cec2e build: shut up cmake regarding deprecated macros
Yes, we know we are using them. Remove warnings like:

CMake Deprecation Warning at /usr/share/cmake/Modules/CMakeForceCompiler.cmake:93 (message):
  The CMAKE_FORCE_CXX_COMPILER macro is deprecated.  Instead just set
  CMAKE_CXX_COMPILER and allow CMake to identify the compiler.
Call Stack (most recent call first):
  cmake/toolchains/Toolchain-arm-none-eabi.cmake:37 (cmake_force_cxx_compiler)
  /home/lucas/p/dronecode/ardupilot/build/px4-v2/modules/PX4Firmware/CMakeFiles/3.6.2/CMakeSystem.cmake:6 (include)
  CMakeLists.txt:204 (project)
2017-02-06 09:27:22 -08:00
Lucas De Marchi 3d29010366 build: allow to pass flags to cmake
These are flags to cmake itself, not to the compiler and is not in the
form of -DXX=YY
2017-02-06 09:27:22 -08:00
Lucas De Marchi bbc7a8b3e4 build: make instal-apt-ci.sh easier to synchronize with .travis.xml 2017-02-06 09:27:22 -08:00
Pierre Kancir 38b6ced640 Tools: sim_vehicle add option to disable mavproxy launch && better exit handling 2017-02-06 11:35:54 +01:00
Andrew Tridgell 2bb3d395cf autotest: setup for firefly6 quadplane parameters 2017-02-06 16:18:58 +11:00
Andrew Tridgell de59f27e14 autotest: fixed parameter generation for recursive libraries 2017-02-06 15:12:32 +11:00
Mirko Denecke b77ce1df6c Tools: update BBBmini Device Tree location 2017-02-03 09:10:36 +11:00
mirkix 655a6e0df7 Tools: remove BBBmini DTB 2017-02-03 09:10:36 +11:00
Pierre Kancir a6c82a0919 SITL: add an option to launch SITL from a directory 2017-02-02 04:26:37 +00:00
Lucas De Marchi 1bf17fa50f build: remove version that is not required anymore
Now bootloader, board name and px4io pass the name directly to the PX4
build system so we don't need to keep the version.
2017-01-30 18:59:34 -08:00
Lucas De Marchi 1a58d3c447 build: px4: pass px4io name directly 2017-01-30 18:59:34 -08:00
Lucas De Marchi da297d2028 build: px4: pass board name directly 2017-01-30 18:59:34 -08:00
Lucas De Marchi c81d32a0b2 build: px4: pass bootloader name directly
Don't derive the bootloader name from the version. Other boards using
the PX4 layer may not necessarily have "px4fmu" name, let alone the
version.
2017-01-30 18:59:34 -08:00
Andrew Tridgell 5d7d190394 autotest: setup PKG_CONFIG_PATH for Parrot libiio 2017-01-30 14:01:43 +11:00
Andrew Tridgell 6747f42986 waf: ensure that we can link to a package before using it
this copes with a PKG_CONFIG_PATH that points at a package for the
wrong architecture
2017-01-30 13:55:57 +11:00
Andrew Tridgell 9d592e005d waf: removed install of oreoled.bin 2017-01-29 16:31:06 +11:00
Andrew Tridgell 977cd3c486 waf: re-enable uavcan on FMUv2 2017-01-29 16:31:06 +11:00
priseborough c8bdf2fab8 Replay: enable replay to ignore EK3_ENABLE setting in log 2017-01-27 16:57:42 +09:00
murata 334da0d9d5 Tools: Unify from print or println to printf. 2017-01-27 18:20:22 +11:00
mirkix d0fce3b1d7 Linux_HAL_Essentials: Restructure BeagleBone PRU firmware for BBBmini and BeagleBone Blue 2017-01-26 23:15:52 -08:00
mirkix 61a88a9b5e ardupilotwaf: Add BeagleBone Blue 2017-01-26 23:15:52 -08:00
Andrew Tridgell 1dd6d568ab waf: removed remaining PX4 rangefinder drivers 2017-01-27 18:12:05 +11:00
Andrew Tridgell 2add60bc37 waf: removed PX4 trone driver 2017-01-27 18:11:29 +11:00
Randy Mackay 99ba42c26d Build: do not build PX4Firmware rgbled driver 2017-01-27 15:24:09 +09:00
Peter Barker 817efe9b6d Tools: expect message for EKF readiness rather than sleeping
This solves a problem for me when running Valgrind as
30s was not sufficient
2017-01-26 16:53:13 +11:00
Andrew Tridgell 715db62a85 autotest: added quadplane-cl84 support 2017-01-25 19:01:15 +11:00
Julien Beraud a5523a4b94 Frame_Params: Remove unexisting param
FRAME has disappeared and causes a crash at startup
2017-01-23 21:23:16 +11:00
Andrew Tridgell 19b21b4012 autotest: fixed quadplane-tilttri params 2017-01-22 19:43:42 +11:00
Andrew Tridgell b27e4dbd0c autotest: added FRAME_CLASS for gazebo-iris 2017-01-20 21:19:55 +11:00
Randy Mackay 0b85921505 Tools: update param file for sitl optflow testing 2017-01-16 16:40:34 +09:00
Mathieu OTHACEHE 4daa4e9df9 Tools: remove deleted parameters
RCx_REV and SERVO_RNG_ENABLE no longer exists, they need to be erased
from param files.
2017-01-13 20:19:30 +11:00
Randy Mackay 07e5b43132 Tools: add FRAME_CLASS to bebop parameter files 2017-01-13 07:46:27 +09:00
Andrew Tridgell e52cff3f0b autotest: fixed throttle range for default parameters 2017-01-13 08:36:26 +11:00
Andrew Tridgell 746b0dd376 Tools: fixed build_binaries for new build names 2017-01-12 21:37:33 +11:00
Andrew Tridgell 978d32ff12 autotest: fixed JSBSim plane defaults 2017-01-12 21:30:17 +11:00
Andrew Tridgell a56090113c autotest: fixed sim_vehicle.py with -f heli 2017-01-12 17:39:37 +11:00
Andrew Tridgell fda31e67d9 autotest: fixed arducopter binary name 2017-01-12 17:39:37 +11:00
Andrew Tridgell 8504a8baad autotest: fixed sim_vehicle for new frame builds 2017-01-12 17:39:37 +11:00
Andrew Tridgell 34a7d47b3f autotest: fixed frame class for quadplane tri frames 2017-01-12 17:39:37 +11:00
Andrew Tridgell 2a1408becf Tools: no need to build tri separately 2017-01-12 17:39:37 +11:00
Andrew Tridgell 3df55b575f Tools: fixed copter tri reverse default
SITL tricopter doesn't need reversed tail servo
2017-01-12 17:39:37 +11:00
Andrew Tridgell cf636a2ea5 autotest: fixed default parms for more vehicles 2017-01-12 17:39:37 +11:00
Andrew Tridgell a10e8b9b4b Tools: fixed quadplane parameters 2017-01-12 17:39:37 +11:00
Andrew Tridgell d07d2d9a40 Tools: adapt to new RC_Channel API 2017-01-12 17:39:37 +11: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 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
Andrew Tridgell 2101f7c0c1 autotest: fixed stable build of multicopter frame types 2017-01-09 11:52:11 +11:00
Peter Barker 07ad28f8b0 Tools: rename FRAME to FRAME_TYPE
SITL was broken after 12d024e0c6
2017-01-02 10:46:32 +11:00
Brian_HPLaptop\Brian e950d93d49 git_test: first commit 2017-01-01 08:52:46 -08:00
Andrew Tridgell 7df30ffe4d scripts: avoid building redundent binaries for copter
hexa, octa, y6 and octa-quad are no longer needed if we have FRAME_CLASS
2017-01-01 16:48:59 +11:00
Randy Mackay daea22d4ac Tools: autotest scripts set FRAME_CLASS 2016-12-31 10:55:23 +09:00
Daniel Schonfeld ef637e4add a better way to determine if were running inside a vagrant box 2016-12-29 10:46:29 +11:00
Andrew Tridgell bebf16b804 Tools: added FMUv3 to autobuild 2016-12-20 10:34:57 +11:00
Pierre Kancir 9ca0873042 Autotest : add simple test for Rover 2016-12-19 13:32:27 +00:00
Andrew Tridgell bebc7e4519 Replay: removed EKF_ENABLE parameter 2016-12-19 08:07:13 +11:00
Andrew Tridgell e71ee51a9c autotest: removed use of EKF_ENABLE parameter 2016-12-19 08:07:13 +11:00
Andrew Tridgell b7081f42cd waf: exclude some files from ROMFS
no need to include oreoled on FMUv2 as its Solo only
2016-12-19 08:07:13 +11:00
Andrew Tridgell 321cad640c waf: trim PX4 config to reduce firmware size
removed unused drivers
2016-12-19 08:07:12 +11:00
Andrew Tridgell 95b848f2b6 waf: fixes for FMUv3 2016-12-19 08:07:12 +11:00
Andrew Tridgell 74a871576c waf: added FMUv3 to build 2016-12-19 08:07:12 +11:00
Andrew Tridgell 35bed59bd4 Tools: Add EKF3 and remove EK1 2016-12-19 08:07:10 +11:00
Michael Day 37a165f5bf Tools: Added some Georgia fields to locations.txt 2016-12-14 09:53:57 +09:00
na0h 439cc3e4c5 add name 2016-12-12 00:06:20 -08:00
Michael Day 1ef298a06a Tools: Added Flicker field to locations.txt 2016-12-08 05:57:11 -08:00
Andrew Tridgell 57facb4a9d autotest: removed ARSPD_ENABLE parameters 2016-12-05 16:51:49 -08:00
Andrew Tridgell 7c058c922f Tools: removed ARSPD_ENABLE parameters 2016-12-05 16:51:49 -08:00
Michael Day 3bdeac78c7 Tools: Add Range11 to locations.txt 2016-12-05 09:37:15 -08:00
Andrew Tridgell 7e0d904657 Tools: link in AP_FlashStorage 2016-12-02 09:49:39 +11:00
Randy Mackay cff13e4672 Pozyx: update uno sketch to work with AP_Beacon 2016-12-01 19:21:38 +09:00
Shingo Matsuura b2a1e0cdce Pozyx: add Arduino Uno sketch
This sketch should be loaded onto an Arduino Uno connected to a Pozyx system as described on the ArduPilot wiki
2016-12-01 19:20:37 +09:00
Randy Mackay d1f944d0c9 Replay: remove call to EKF1 logging 2016-11-30 17:57:09 +09:00
Randy Mackay 277ec38adc Replay: add AP_Beacon to build 2016-11-30 17:57:08 +09:00
Andrew Tridgell a191792e4b autotest: added octa-quad sim_vehicle.py option
this was missed in conversion from sim_vehicle.sh
2016-11-30 08:02:03 +11:00
Andrew Tridgell 4ef4016e5e mk: removed PX4 irlock driver 2016-11-28 08:39:07 +11:00
Andrew Tridgell 752a5035d0 waf: remove px4flow from build 2016-11-28 08:26:57 +11:00
Andrew Tridgell 619cdbe065 Tools: fixed bash syntax error in install-prereqs-ubuntu.sh 2016-11-27 06:27:15 +11:00
Randy Mackay 3576d06638 Tools: EX700 proximity ignores legs 2016-11-26 11:39:26 +09:00
Pierre Kancir 75a2a1cd6c Tools: Don't install libc6-i386 on 32bit Ubuntu 2016-11-21 17:03:04 +00:00
Lucas De Marchi 6c9f46bafb Replay: fix shadowed declaration
../../Tools/Replay/Replay.cpp: In member function ‘FILE* Replay::xfopen(const char*, const char*)’:
../../Tools/Replay/Replay.cpp:485:60: warning: declaration of ‘filename’ shadows a member of ‘Replay’ [-Wshadow]
 FILE *Replay::xfopen(const char *filename, const char *mode)
                                  ^
2016-11-16 22:28:11 -02:00
Peter Barker 78d7a144b1 Replay: add close-on-exec to fopen flags 2016-11-16 22:20:33 -02:00
Peter Barker 4543f1c548 Replay: check return value from fopen() of output files 2016-11-16 22:20:10 -02:00
HP\isamu 1ec7d9befe Tools: add new name to Git_Success 2016-11-17 08:53:30 +09:00
Julien Beraud c6107d812d waf: Don't use lttng in static builds
already done for libiio and libdl
2016-11-16 01:23:10 -02:00
Francisco Ferreira 32cd49264e travis: revert commit 52854a
Travis has fixed the issues with space so we can go back to building PX4 with make and waf
2016-11-16 02:24:27 +00:00
Grant Morphett b507679630 CPUInfo: Updated the Makefile to use WAF commands 2016-11-15 15:54:30 -02:00
Lars Kellogg-Stedman 95134d87b0 add support for a user locations.txt file to sim_vehicle
it is inconvenient to modify locations.txt in the source, because this
will lead to the file being constantly marked as modified by git (and
potentially included in pull requests by accident).

this commit adds support for a user-maintained list of locations.
This file lives by default in
`$XDG_CONFIG_DIR/ardupilot/locations.txt` (aka
`$HOME/.config/ardupilot/locations.txt`), but may also be specified in
the `ARDUPILOT_LOCATIONS` environment variable.
2016-11-15 19:42:54 +11:00
Peter Barker cd67c4c75c Tools: sim_vehicle.py strips comments in locations.txt 2016-11-15 13:52:59 +11:00
Peter Barker 0168493d8a Tools: correct LogAnalyzer VCC test 2016-11-14 09:18:01 +11:00
LZMHIT ff3eff83bd Added name to Git_Success
Testing whether I can add changes to git_success via the Windows Client
2016-11-13 09:40:30 -08:00
Justin Easter 4b04c6d46b autotest: fix MSL altitude, adjust heading 2016-11-12 08:19:28 -03:00
k-asaishi c9d9a94f46 Tools: add name to Git_Success 2016-11-12 16:58:38 +09:00
YU ac3744ad2b Update GIT_Success.txt 2016-11-12 16:30:08 +09:00
Francisco Ferreira 52854aab3b travis: temporarily disabled waf build of PX4 boards
Travis is complaining about lack of space, their support is looking into it but for now disable waf to get job passing
2016-11-11 19:59:52 +00:00
國信隆之介 a5171834ee Tools: add name to gitsuccess 2016-11-11 21:56:39 +09:00
Justin Easter 950fde477d autotest: add two new locations
Perkins Field is a testing field.
KNUI: Webster Naval Outlying Field hosts the AUVSI SUAS Competition.
2016-11-11 15:23:31 +11:00
ukamia1 4bf6eb1736 Update GIT_Success.txt 2016-11-09 21:16:37 -08:00
Andrew Tridgell 111d8c05dc waf: link in less drivers on Pixracer 2016-11-10 12:55:48 +11:00
WIN-TRBVBHUTOME\seki 2a3d722d8c homework seki
Drone Japan homework: input name and pull request.
2016-11-09 09:50:04 -08:00
Pierre Kancir bec09b9a57 autotest: python3 support 2016-11-09 11:48:22 -03:00
Pierre Kancir 5786d66ea1 autotest: simplify start_sitl 2016-11-09 11:48:22 -03:00
Pierre Kancir 4462dcdd4d sim_vehicle.py: add python3 support 2016-11-09 11:48:22 -03:00
Andrew Tridgell dc439d281e Tools: removed PX4 airspeed drivers 2016-11-09 17:07:59 +11:00
Takeshi Matsumoto 66d83c12fb pull request test
Add my name for testing pullrequest
2016-11-08 20:41:33 -08:00
Jani Hirvinen 81bdabe6cb Update index.html 2016-11-08 12:26:30 +11:00
Jani Hirvinen 8ede423b34 Update index.html 2016-11-08 12:26:03 +11:00
floaledm 8d0fd7cea8 Tools: add AP_Frsky_Telem 2016-11-08 07:42:39 +11: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 57aec40acb build: disable O_CLOEXEC for PX4 and VRBRAIN 2016-11-07 12:37:30 -03: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
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 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
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
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
mirkix 0638ec7dfe Tools: add pkg-config-arm-linux-gnueabihf package 2016-11-03 17:29:44 -03:00
mirkix 25f6d29d97 Tools: rename BEBOP to generic ARM_LINUX 2016-11-03 17:29:44 -03:00
Randy Mackay c19ef757ef Tools: add IRIS AC3.4 params file 2016-11-03 12:38:56 +09:00
jq1zfu c5407462d1 Update GIT_Success.txt 2016-11-03 10:24:13 +09:00
Lucas De Marchi 3620529c22 Replay: remove infinite loop from loop() method
Remove the while() loop inside Replay::loop() so the new signal handlers
correctly notify the mainloop to exit.

This makes SIGTERM/SIGINT work again.
2016-11-02 16:28:20 -02:00
Grant Morphett 705f96dd3e Build: More changes as we move to WAF
The only example being built in build_all.sh was CPUInfo and that is
really an APM tool.  It will get built further down in when
autotest.py calls build.Examples so we don't need to build it here.

And changing the Replay build to just call make which really means it
will invoke waf as that's what the makefile does.
2016-11-02 15:14:30 -03:00
Lucas De Marchi 0c1f2ba144 scripts: add cmake to install-prereq scripts 2016-10-31 09:49:40 -07:00
Jani Hirvinen c99a4a6973 Update build_autotest.sh 2016-10-31 19:53:29 +11:00
rahul-io 6c9924f3e9 Add Rahul Nunna to List 2016-10-30 23:56:49 -07:00
gregorydz f3b6acb7a1 Git test Yay! 2016-10-28 15:40:07 -07:00
DESKTOP-TGSQLBG\kinuy 6864864797 JapanDrone school homework 2016-10-27 09:34:54 -07:00
Lucas De Marchi 217da05c64 build: Add Urus board to waf 2016-10-27 11:53:26 -02:00
Randy Mackay 964ddfb0d2 SITL: increase speed of yaw in copter sitl
This should resolve the SITL failures caused by the recent change to add
yaw expo to all manual flight modes
2016-10-27 10:44:44 +09:00
Mathieu OTHACEHE 5e42800b5e Disco: add LED support
Use RGBLed generic implementation to support Disco LED.
2016-10-26 11:56:11 -03:00
Peter Barker 30233ab9b8 Tools: unhide groups when generating parameters in autotest 2016-10-26 09:53:14 +11:00
Peter Barker 729765bd30 Tools: correct firmware-version.txt file creation 2016-10-25 17:00:43 +11:00
Peter Barker 90979b6db5 Tools: skip malformed firmware-version.txt files 2016-10-25 17:00:43 +11:00
Peter Barker b9270712e4 Tools: fix manifest generation (skip files.html) 2016-10-25 17:00:43 +11:00
Andrew Tridgell 10638d72a7 Tools: useful plane run script 2016-10-25 17:00:03 +11:00
Francisco Ferreira 79cb4ea595 Tools: set Disco battery capacity in frame parameters 2016-10-24 09:24:11 -03:00
Francisco Ferreira 832fec68b7 Tools: set Bebop battery capacity in frame parameters 2016-10-24 09:24:11 -03:00
Martin Evans c0b913a975 build: Add Dark board to waf 2016-10-24 10:01:55 -02:00
Mathieu OTHACEHE 152edf7189 Global: remove mode line from headers
Using a global .dir-locals.el file is a better alternative than
reincluding the same emacs header in every file of the project.
2016-10-24 09:42:01 -02:00
Sumiaki Takemoto 13a0b112c3 Tools: add name to Git_Success 2016-10-24 19:08:59 +09:00
JOS43\tamura d61775226f Tools: add name to Git_Success 2016-10-24 10:23:57 +09:00
natsuki 0ad8e180c0 Tools: add name to Git_Success 2016-10-24 10:21:42 +09:00
TsuyoshiKawamura 603f061f58 (retry) Added my name to GIT_Success.txt 2016-10-22 09:35:46 -07:00
TsuyoshiKawamura 80f46c925b Add name to git test 2016-10-22 13:33:38 +09:00
Yuichiro Shibata 00836eea99 added my name to GIT_Success.txt 2016-10-22 13:31:16 +09:00
Mathieu OTHACEHE 01804063f6 Disco: set SCHED_LOOP_RATE to 200
Video stabilization on stock firmware requires main loop to run at
200Hz.
2016-10-20 09:07:54 -03:00
Mathieu OTHACEHE 6ccbbb0074 Disco: set WP_LOITER_RAD to 30
Use the same value for LOITER radius as in stock autopilot.
2016-10-20 09:07:54 -03:00
Mathieu OTHACEHE 352551a239 Bebop2: Remove CR in param file.
Remove CR in Parrot_Bebop2.param line endings.
2016-10-20 09:07:07 -03:00
Andrew Tridgell bd0d37e2fd Tools: added cmake to ububtu prereqs install
this fixes waf build for ubuntu 14.04 LTS
2016-10-20 16:29:51 +11:00
Peter Barker 0bcbf726ac Tools: move Vagrant to 16.10 LTS (Yakkety Yak)
Hopefully this will the last move for 2 years.

This move gives us a version of git which uses absolute paths
in the .git files in submodules, so sharing a repo with the
host should be cleaner.

The current Vagrant box does not appear to use a vagrant user.  This
might change in future boxes.
2016-10-20 11:14:41 +11:00
Pierre Kancir 2cefaf8a4d autotest: update gazebo-iris parms 2016-10-19 18:04:09 +11:00
Andrew Tridgell d967074183 autotest: disable rebuild-on-failure by default
the waf build has much better dependencies, so on balance this is more
annoying than useful now
2016-10-19 09:58:54 +11:00
Andrew Tridgell 227bd3d13c Frame_params: enabled FS_THR_ENABLE on Bebop and Bebop2 2016-10-18 21:00:13 +11:00
Andrew Tridgell fe3d57b19c Frame_params: fixed scaling errors in Bebop parameters 2016-10-18 08:28:58 +11:00
Pierre Kancir 10c3d82c67 Tools: update ci install script 2016-10-16 13:02:48 -02:00
Pierre Kancir f7d19a6cd7 Tools: update ubuntu install script 2016-10-16 13:02:48 -02:00
Pierre Kancir 59366b058a Tools: update ci install script 2016-10-15 09:23:10 -03:00
Pierre Kancir 2942b1b56d Tools: update arch install script 2016-10-15 09:23:10 -03:00
Pierre Kancir 08cf58a027 Tools: update ubuntu install script 2016-10-15 09:23:10 -03:00
Andrew Tridgell 16bd04ba7e Tools: update frame parameters for Disco
use new SERVO_RNG_ENABLE option. This makes tuning independent of the
users R/C settings
2016-10-15 16:59:37 +11:00
Lucas De Marchi 041ec327a2 ci: add ~/.local/bin to PATH
In semaphoreci it doesn't have ~/.local/bin by default on path making
us not able to find the mavproxy.py executable.
2016-10-14 18:58:58 -03:00
Lucas De Marchi cc683c1db1 build: use gcc/g++ first
We currently are unable to build on MacOSX unless we give waf the
--check-cxx-compiler g++. Change the compiler order to search for
gcc/g++ first instead of clang/clang++.
2016-10-14 17:30:46 -03:00
Andrew Tridgell fcc89a2577 autotest: fixed RC_CHANNELS_RAW -> RC_CHANNELS 2016-10-14 11:40:23 +11:00
khancyr bba5b0e530 autotest: update gazebo-iris parms 2016-10-13 20:40:49 +11:00
Andrew Tridgell ec1462dccf autotest: use minimal params for zephyr gazebo model 2016-10-13 12:03:20 +11:00
Andrew Tridgell 860f1918e8 autotest: update gazebo-iris parms to be minimal 2016-10-13 12:03:20 +11:00
John Hsu 4c14707611 SITL: set simulation names gazebo-iris and gazebo-zephyr in sim_vehicles.py 2016-10-13 12:03:20 +11:00
John Hsu 7cae83581b SITL: add Gazebo SITL params for Iris with IRLocak tracking, Zephyr elevon flying wing model, and update sim_vehicles.py with GazeboIris and GazeboZephyr labels. 2016-10-13 12:03:20 +11:00
Andrew Tridgell a5c9fb56af Tools: updated arch install script 2016-10-12 21:41:19 +11:00
Andrew Tridgell b66c3d3915 Tools: added lxml and future for ubuntu users 2016-10-12 21:40:48 +11:00
josecoto de5b40d70e Update locations.txt 2016-10-11 19:47:53 +11:00
josecoto e6eafc4506 SITL- Add EPI Gijon location
This is the Politechnic School of Engineering (University of Oviedo, Spain) test ground location were our students test UAVs and SITL simulator
2016-10-11 19:47:53 +11:00
Gustavo Jose de Sousa 414977b6c5 Tools: sitl_calibration: add sitl_autonomous_magcal command 2016-10-11 12:58:37 +11:00
Gustavo Jose de Sousa 226290158b Tools: sitl_calibration: fix PWM values for angular velocity 2016-10-11 12:58:37 +11:00
Andrew Tridgell 7041d2587b Travis: added dependency on python future and lxml 2016-10-11 06:42:22 +11:00
shinski0211 8c1b551ad9 Added my name to GIT_Success.txt 2016-10-09 23:53:30 -07:00
Peter Barker 068c310ed5 Tools: remove hard-coded FRAME global, specify same via parameter 2016-10-10 11:09:47 +11:00
Fnoop 2c0b687b9d Tools: Make default udpout ports scale by instance in sim_vehicle.py 2016-10-09 21:49:45 +11:00
Fnoop 02f49398be Added name to GIT_Success.txt 2016-10-09 21:09:31 +11:00
Peter Barker edf6964487 Tools: autotest: emit lockfile name in case of contention
For those of us who want to remove the lockfile and can
never remember where it lives
2016-09-23 16:55:52 +10:00
Peter Barker 084862a999 Tools: build_ci.sh: make target not required in Replay directory 2016-09-19 12:56:42 +10:00
Peter Barker c23ee3d35c Tools: tag run-in-terminal-window output with RiTW: 2016-09-19 12:55:42 +10:00
Peter Barker 909f7779c7 Tools: rearrange sim_vehicle.py to put all functions first 2016-09-19 09:13:53 +10:00
Andrew Tridgell c9435963c8 autotest: use ArduPilot mavlink tree 2016-09-19 08:44:32 +10:00
Matthew Brener 06388b0417 Global: Fix typos 2016-09-17 00:36:36 -03:00
Andrew Tridgell 19d580d60f Disco: adjust default Disco parameters 2016-09-16 19:31:28 +10:00
Andrew Tridgell 2d2ed7b06e autotest: added autobuild of disco 2016-09-15 19:57:32 +10:00
Andrew Tridgell 65bcead1bd autotest: build bebop static in build_binaries.sh 2016-09-15 19:56:27 +10:00
Andrew Tridgell dd3d5152f6 Frame_params: added more Disco info 2016-09-15 18:17:09 +10:00
Andrew Tridgell 94460949e1 Frames: added Parrot Disco parameters 2016-09-15 18:09:35 +10:00
Peter Barker 074e9dc9b0 Tools: special --aircraft mavproxy pass-through for sim-vehicle.py 2016-09-09 17:36:37 +10:00
Lucas De Marchi f5be0823f9 sim_vehicle.py: move exit handler and start message
Move them after the argument parser because otherwise they would display
and the handler be registered when using the 'help' option.
2016-09-09 15:50:52 +10:00
Lucas De Marchi 0a75e2f12a sim_vehicle.py: fix indent on epilog 2016-09-09 15:50:52 +10:00
Andrew Tridgell 26e1c30b19 autotest: avoid a race condition in quadplane test
this shows up on the new (faster) autotest server
2016-09-08 15:28:20 +10:00
Peter Barker 45bc95edeb Tools: LogAnalyzer: handle changed RCOU and parameters in motorbalance 2016-09-08 08:54:50 +10:00
Peter Barker f42df1bc54 Tools: LogAnalyzer: handle MODE lines appearing before vehicle MSGs 2016-09-08 08:41:09 +10:00
Peter Barker 214bca8b30 Tools: LogAnalyzer: correct CTUN test 2016-09-08 08:41:09 +10:00
Peter Barker f1641161d7 Tools: LogAnalyzer: correct Vcc test 2016-09-08 08:41:09 +10:00
Andrew Tridgell 6e2c600fe7 autotest: make px4-clean between px4 builds
avoids an issue where vehicle object files are re-used from other
targets
2016-09-05 18:22:01 +10:00
Andrew Tridgell d529b5e3b8 autotest: build each set of px4 binaries separately 2016-09-05 12:43:52 +10:00
Lucas De Marchi 95d5752011 build: fix configure check for headers
When we are checking if a header is available we can't pass -I argument
to our missing/ directory. Otherwise we would end up telling the build
that a header is available when it actually isn't.

This fixes the build of sitl in MacOS with clang.
2016-09-03 01:19:14 -03:00
José Roberto de Souza 6a9addb2a8 waf: Add Intel Aero to waf build
This will be the first board that only build with waf.
2016-09-03 01:03:17 -03:00
Pierre Kancir 63a6b28065 param_metadata: change Ardupilot site to old Ardupilot site 2016-09-01 13:05:11 +10:00
Pierre Kancir 59ecccd4aa autotest: remove old apm_unit_tests 2016-09-01 13:05:11 +10:00
Pierre Kancir 9e1ffcae5d Tools: update python coding style
Tools: update PrintVersion.py coding style

autotest: update python coding style

pysim: update python coding style

jsb_sim: update Python coding style

param_metadata: update Python coding style
2016-09-01 13:05:11 +10:00
Gustavo Jose de Sousa 5d7ca3fd27 waf: build_summary: don't call size for empty list of nodes
Otherwise, that will cause an error.
2016-08-31 00:19:51 -03:00
Randy Mackay e4efa4c07c Tools: EnRoute EX700 param file gets flow orientation 2016-08-31 10:34:26 +09:00
Peter Barker 198a7d7710 sim_vehicle.py: add arguments to pass args to waf build and configure 2016-08-31 11:04:40 +10:00
Lucas De Marchi 631d4a1152 Replay: add clean target for CI
CI has a generic infra that calls make clean before building and it
fails for Replay since it doesn't have a clean target.
2016-08-29 10:27:36 -03:00
Randy Mackay 4fbc686e68 Tools: EnRoute EX700 params get SF10b 2016-08-29 21:06:50 +09:00
Gustavo Jose de Sousa 87862a08ab waf: ap_library: make headers whitelist portable
Otherwise it won't work for platforms that don't use Unix style paths.
2016-08-26 13:13:56 -03:00
Randy Mackay 28715106d6 Tools: update Bebop2 parameter gains 2016-08-26 09:12:48 +09:00
Randy Mackay 29e18dba5b Tools: add battery failsafe to EnRoute EX700 param file 2016-08-25 13:07:56 +09:00
Gustavo Jose de Sousa a6b55d90a7 waf: cmake: define a dictionary of supported generators
On Windows, using MSYS Makefiles generator doesn't work very well when the
CMakeLists.txt files use custom commands with paths as arguments. Furthermore,
MinGW Makefiles generator can't be used if sh.exe is in the system's path and
some build systems rely on sh for certain tasks (which is the case of PX4
Firmware build). Because of that, the list of generators for Windows has been
narrowed to Ninja and NMake Makefiles.
2016-08-24 12:15:42 -03:00
Gustavo Jose de Sousa 07592d650e waf: px4: copy with shutil module instead of cp program
In order to make it independent of host platform.
2016-08-24 12:15:42 -03:00
Lucas De Marchi e31a06cfdb waf: fix programs searches
Here we do the following:
    1) Move the pkg-config check to boards.py so we only check of it for
       linux boards
    2) Use cfg.find_toolchain_program() if possible, for example, for AR
2016-08-24 12:15:42 -03:00
Gustavo Jose de Sousa f430ef3825 waf: toolchain: override find_g{xx,cc}() instead of wrapping configure()
That's more correct than setting Waf environment variables:

 (1) We don't need to worry about differences between OSes - the previous
 implementation was actually broken for Windows because the program names in
 the environment variables were missing the ".exe" extension.

 (2) That looks better than looping over possible compiler names and running
 the configuration transactionally multiple times.
2016-08-24 12:15:42 -03:00
Gustavo Jose de Sousa 31965689cb waf: persist implicit dependency information across clean
Implicit dependency scanning takes significant time and, since it doesn't
produce files, it's okay to keep the resulting information across clean
commands as long as the scanner is triggered again if there's need to. This
commit accomplishes that.

The advantage of this approach can be observed by the following timings when
building the group "bin":

 Method                                                         Time
 ------------------------------------------------------------------------
 Fully clean build                                              5m18.633s
 Clean build with scanning result persisted                     4m23.346s
 Clean build with ccache but non-persistent scan results        1m40.125s
 Clean build with scanning results persisted and with ccache      14.843s

While at it, move management of information persisted across clean commands to
a separate module.
2016-08-24 10:46:23 -03:00
Gustavo Jose de Sousa 6abcf6150c waf: ap_library: use ap_persistent_task_sigs for header checking tasks
In order to make clean builds faster.
2016-08-24 10:46:23 -03:00
Gustavo Jose de Sousa ef4fd0e2d3 waf: add --clean-all-sigs option
Explanation on the option help string.
2016-08-24 10:46:23 -03:00
Gustavo Jose de Sousa 0b7a98d40c waf: allow persisting tasks signatures across clean commands
That allows some time consuming tasks that don't really produce anything on the
file system to keep their signature after a clean command is issued.
2016-08-24 10:46:23 -03:00
Gustavo Jose de Sousa a98c42fef9 waf: define ap_groups in ardupilotwaf tool
That makes more sense, since that module is supposed to have basic Ardupilot
specific features. The root wscript should be a mere user of those features.
2016-08-24 10:46:23 -03:00
Gustavo Jose de Sousa a6ec802d28 ap_library: always check included headers when necessary
This approach is better then the previous one mainly because the latter
required creating the task generator for the checks in a separate group and
posting that target implied in posting the whole previous build groups.

Some notes:
 - This is implemented so that headers aren't checked more than once, so there
   might be some checking tasks that won't do anything because the headers are
   checked on another task. Even so, those headers are added to the result of
   scan() in order to provide a consistent output to the user.
 - It is safe manipulating the shared variable dispatched_headers because the
   scan() is called before the task is added to the execution queue.
 - Although we force ap_library_check_headers.scan() to always be called,
   that's OK, because we use the scanning result of the compilation task, which
   returns a cached value if there's no need to rescan.
2016-08-24 10:46:23 -03:00
Gustavo Jose de Sousa 51bef96811 waf: px4: accommodate use of ap_library
- Use AP_LIBRARIES_OBJECTS_KW instead of AP_STLIB_FEATURES.
 - Change the feature name to one that makes more sense.
2016-08-24 10:46:23 -03:00
Gustavo Jose de Sousa b8e518a533 waf: use ap_library tool
That way we avoid recompiling source files that don't depend on vehicles.
Change notes:
- UTILITY_SOURCE_EXTS: moved to ap_library
- Task generators indexes: ap_library handles that now and in a better way
- Use of AP_STLIB_FEATURES: it doesn't make sense anymore, since the stlib
  taskgen has empty source list
- Flags and defines: passed down to ap_library through AP_LIBRARIES_OBJECTS_KW
- Set use='mavlink' in AP_LIBRARIES_OBJECTS_KW instead of calls to
  bld.ap_stlib().
2016-08-24 10:46:23 -03:00
Gustavo Jose de Sousa 9a6fcafade waf: ap_library: add tool
That's a tool for creating task generators for libraries object files. One of
the key objectives of this patch is to provide a way to avoid recompiling
sources that are independent of vehicles.
2016-08-24 10:46:23 -03:00
Gustavo Jose de Sousa b191269cc8 waf: px4: run firmware task after link task
This fix a bug introduced by 06a5156 ("waf: px4: reconfigure PX4Firmware for
each program"), with the removal of the call fw_task.set_run_after(cp_lib).
2016-08-24 10:46:23 -03:00
Gustavo Jose de Sousa 8fb6ccc8b7 waf: px4: use copy of "use" in px4_import_objects_from_use()
Utils.to_list() returns the argument if it is a list, which means that
px4_import_objects_from_use() cleared that attribute when processing the queue.
2016-08-24 10:46:23 -03:00
Gustavo Jose de Sousa 424f6490fc waf: px4: add missing import Errors 2016-08-24 10:46:23 -03:00
Craig Elder 68dfe42443 Autotest: Update logo.png 2016-08-22 19:50:03 -06:00
Craig Elder 30e1ee2c8f Autotest: Delete Logo 2016-08-22 19:49:16 -06:00
Peter Barker 569a7a4abd Tools: sim_vehicle.py - correct process termination
Closes #4699
2016-08-22 15:38:50 +10:00
Craig Elder 211175efac Autotest: Update Logo 2016-08-21 23:31:12 -06:00
Craig Elder 121c7f1136 Update Logo 2016-08-21 23:26:14 -06:00
Craig Elder ac8b17c177 Autotest: Updated website names 2016-08-21 19:07:23 -06:00
Eduardo Cáceres de la Calle 0395141450 Tools: Add name to GIT_Success.txt 2016-08-18 20:17:16 +09:00
MitsuhiroKomiya dc9c101594 Tools: Git_Success.txt added my name 2016-08-18 19:34:39 +09:00
ropizo 2d89c631ea Tools: Git test.
This is for the preliminary check of github PR.
2016-08-18 18:47:55 +09:00
SuzukiYasuyuki 9722e921d5 Update GIT_Success.txt
added Yasuyuki Suzuki
2016-08-18 18:42:58 +09:00
yoshinuma 0c2d01b60c add my name 2016-08-18 00:03:22 -07:00
muro008 7f0a4e3874 added name to GIT_Success.txt 2016-08-17 23:58:06 -07:00
Saegusa5 c2f23b88ed Add GIT_Success.txt 2016-08-17 23:56:58 -07:00
YukiMiyama aaebfc9239 added my name to GIT_Success.txt 2016-08-17 23:50:47 -07:00
Peter Barker 25136ea15a Tools: correct tracker build 2016-08-17 08:33:53 +10:00
Peter Barker 08ef3271c1 Tools: bump Vagrant Ubuntu to Wily
This allows the Vagrant VM to build PX4 using waf.

The initvagrant script has been changed to run as much as possible
as the Vagrant user.

jsbsim is now compiled by the vagrant user, and run from the source directory.
2016-08-16 10:23:48 -03:00
Takanobu Minoshima 00eb5ed355 Git: added name to GIT_Success.txt
Testing whether I cann add changes to git success via the Windows Client
2016-08-16 10:55:59 +09:00
ysk73 8f1f9481eb Tools: added name to GIT_Success.txt
by Yuki Yoshioka
2016-08-16 09:58:58 +09:00
Kouichi Nakajima 6e643d64b7 Tools: add Kouichi Nakajim to Git_Success.txt 2016-08-16 09:47:41 +09:00
Lucas De Marchi 46be2cf026 Tools: build_binaries: fix generation of firmware-version.txt
For waf builds we build from root directory.
2016-08-13 17:44:38 -03:00
Lucas De Marchi cd333cb43a Tools: build_binaries: fix check for wrong file
We get the version from version.h not APM_Config.h.
2016-08-13 17:44:38 -03:00
Lucas De Marchi a511f97971 Tools: build_binaries: fix inverted condition 2016-08-11 09:01:43 -03:00
Lucas De Marchi 80b04ecb41 scripts: update command with sim_vehicle.py 2016-08-10 17:00:09 -03:00
Lucas De Marchi 8a3974f08f vagrant: update commands to sim_vehicle.py 2016-08-10 16:59:39 -03:00
Peter Barker 06b0dec15e Tools: remove sim_vehicle.sh in favour of sim_vehicle.py 2016-08-10 16:56:04 -03:00
Lucas De Marchi 53968e5d78 Tools: build_binaries: add bebop to arducopter-quad 2016-08-10 11:12:54 +09:00
Lucas De Marchi 6553e428c0 Tools: build_binaries: add navio/navio2 to antennatracker 2016-08-10 11:12:52 +09:00
Lucas De Marchi 6e9686a16b Tools: build_binaries: use waf for Linux boards 2016-08-10 11:12:50 +09:00
IndustrialWasteWeaponOfUltimate 431f7da5b3 Tools: add Shinya Oda to GIT_Success.txt 2016-08-09 16:21:31 +09:00
Randy Mackay 65ee71075c Tools: set GND_EFFECT_COMP for Bebop2 params 2016-08-09 16:19:53 +09:00
Lucas De Marchi f0590581e4 autotest: standardize name of param files
Try to make the various param files to follow similar namings:

    - Lowercase the few ones using uppercase
    - Use dash to separate name components
    - Start with "copter", "plane", "rover", etc instead of the mix we
      had
    - Remove "params" from the filename since it's redundant with the
      extension
2016-08-08 10:12:14 -03:00
Tom Pittenger 127e86562a AP_Relay: remove FixedWing dependency on airspeed 2016-08-08 00:25:20 -07:00
Tom Pittenger aa65fda01c Revert "Replay: Convert references to AP_Airspeed."
This reverts commit 96b287735f.
2016-08-07 17:54:24 -07:00
KenjiKoseki d8367ecbef Tools:add Kenji Koseki to Git_Success.txt 2016-08-08 09:53:46 +09:00
Tatsuya Yamaguchi be398864b7 Git: add Tatsuya Yamaguchi to Git_Success.txt 2016-08-08 09:51:33 +09:00
yHoriuchi 5b1d22f35d GIT_Test: add Yasuhide Horiuchi to GIT_Success.txt 2016-08-06 09:11:38 +09:00
Kunihiro.Yoshida ab8a6da397 Tools: add name to Git_Success.txt 2016-08-05 21:12:43 +09:00
Randy Mackay 650d6756bf Tools: update EnRoute EX700 parameter defaults 2016-08-05 16:26:36 +09:00
Kazutaka Ozawa 0582cd254e assignment 2016-08-05 10:40:30 +09:00
AndersonRayner 96b287735f Replay: Convert references to AP_Airspeed. 2016-08-04 10:09:04 -07:00
EijiAoki 699d5bf99c Homework at Dronecode seminar 2016-08-04 09:38:50 -07:00
ikgmats 0b492288e7 Git: add Ikegami Atsushi to GIT_Success.txt 2016-08-04 22:07:11 +09:00
Randy Mackay 3b86ef71ca Tools: update EnRoute EX700 parameters 2016-08-04 16:56:46 +09:00
Yu Kuwahara f5b4a482b0 Git: add Yu Kuwahara to Git_Success.txt 2016-08-04 14:42:57 +09:00
okapy 0141fa972f Git: added Hiroshi Kitaoka to GIT_Success.txt 2016-08-04 14:37:20 +09:00
Randy Mackay de24d2ca3b Tools: add EnRoute EX700 frame parameters 2016-08-04 14:37:14 +09:00
Pierre Kancir 19d94737a0 autotest: move all default params to default_params directory 2016-08-03 17:44:37 -03:00
murata ec59a83219 Git: add Murata Katsutoshi to Git_Success.txt 2016-08-03 15:16:23 +09:00
ShingoMatsuura bf5a035024 Git: add Shingo Matsuura to Git_Success.txt 2016-08-03 13:28:24 +09:00
Gustavo Jose de Sousa 2e1ac0de8d waf: make get_legacy_defines() "public"
That function will be used by an upcoming separate tool.
2016-08-01 22:04:16 -03:00
Gustavo Jose de Sousa f2dec971e7 waf: add "ap_" prefix to keywords "libraries" and "vehicle"
As an effort to keep things specific to ardupilot API in the build system
consistent and easy way to identify.
2016-08-01 22:04:16 -03:00
Pierre Kancir 07eb170b39 Autotest: correct mavproxy unloaded map error 2016-08-01 10:37:15 -03:00
Gustavo Jose de Sousa d1c5691501 waf: build_summary: let the user register the post build callback
That allows more control from the user's point of view.
2016-07-28 17:50:19 -03:00
Pierre Kancir ff8c772776 sim_vehicle.py: correct url 2016-07-28 16:44:18 -03:00
Pierre Kancir 40a594e137 sim_vehicle.py : style correction 2016-07-28 16:44:18 -03:00
Staroselskii Georgii 61e066513d FlightGear: remove the application
It seems like nobody uses this app because it can't even get compiled.
That's why I think it should go away.
2016-07-27 21:30:19 +10:00
Staroselskii Georgii bd8c61542d Replay: make use of sigaction instead of signal API
It's a more proper and portable way to set up signal handlers.
2016-07-27 21:30:19 +10:00
Staroselskii Georgii 9576be3a21 Replay: encapsulated signal handling 2016-07-27 21:30:18 +10:00
Andrew Tridgell 70c4038751 Replay: changed Makefile to use waf 2016-07-27 21:28:30 +10:00
Gustavo Jose de Sousa 4bd17ab90c waf: git_submodule: allow warning about skipped submodules updates
Provide a function to register a post build routine to do the warnings. Do that
way so that the user can chose when to add the callback to the build (i.e.
allow the user to assert a desired order for the post build callbacks to be
called).
2016-07-25 16:45:57 -03:00
Gustavo Jose de Sousa 4cd70842d9 waf: git_submodule: don't update submodule if non-fastforward
Don't cause trouble to developers working on submodules.
2016-07-25 16:45:57 -03:00
Andrew Tridgell db8bf48747 build: added AP_ICEngine to build 2016-07-25 10:06:03 +10:00
Andrew Tridgell 3489f7b576 autotest: use builtin plane sim for autotest
and simplify startup using defaults file
2016-07-22 16:42:46 +10:00
Andrew Tridgell 241b6edfcf Build: added AP_Button to build 2016-07-22 15:01:20 +10:00
Andrew Tridgell fd286498af PX4: added otp to the build 2016-07-21 18:05:00 +10:00
Lucas De Marchi 2b1b23cabf build: fix static linking through --static option 2016-07-20 18:03:20 -03:00
Andrew Tridgell 9ea4a9233d autotest: updated OBC2016 mission
added butterfly search
2016-07-20 19:44:14 +10:00
Andrew Tridgell 3769e0fc64 waf: build support for Disco 2016-07-20 13:28:28 +10:00
priseborough 18c4327a2a autotest: reduce copter test run time
Signed-off-by: priseborough <p_riseborough@live.com.au>
2016-07-19 12:16:50 +10:00
priseborough cc0d3b89d3 Replay: use separated EKF horiz/vert position interfaces 2016-07-19 12:16:49 +10:00
priseborough e0d87bf529 autotest: Increase startup wait time to allow EKF and GPS checks to pass 2016-07-19 12:16:48 +10:00
Gustavo Jose de Sousa 9a9b59a97f waf: boards: fix funny CXXFLAGS typo 2016-07-18 15:26:07 -03:00
Julien Beraud fdb43fdc6a Frame_Params: fix param name for bebop
Change-Id: Id1c16e11e68f0004019afc885acf0e0f119b78b7
2016-07-15 12:25:17 -03:00
Gustavo Jose de Sousa 849a83315a waf: git_submodule: fix for Waf 1.9
Tasks cwd must be Node objects in Waf 1.9
2016-07-14 14:00:07 -03:00
Andrew Tridgell d25db426a3 waf: added AP_Module to the build 2016-07-14 13:39:47 +10:00
Andrew Tridgell 59e4e8def6 autotest: make bat files work with multiple versions of flightgear 2016-07-14 12:50:27 +10:00
Lucas De Marchi b375b33189 waf: allow to disable tests
This allows to completely disable the tests. Even the gtest submodule is
not checked out allowing integration on build servers without needing to
download one more submodule.

This is different from the --notests flag. The latter only disables
executing the tests, but always use the submodule.
2016-07-13 15:38:50 -03:00
Lucas De Marchi 8967220652 waf: pass uselib_store in check_package()
This guarantees waf will always add the flags with our known prefix.
2016-07-13 15:24:42 -03:00
Andrew Tridgell 1b12371e25 waf: use define_name in libdl check 2016-07-13 15:24:42 -03:00
Andrew Tridgell a5adae5fb4 waf: make linux check for libdl
needed for libiio
2016-07-13 15:24:42 -03:00
Andrew Tridgell 3322d7c321 waf: don't build bebop static
need dynamic for libiio
2016-07-13 15:24:42 -03:00
Andrew Tridgell 2980d47e23 waf: added check_package() function for pkg-config checks
this converts existing pkg-config checks to use check_package, which
sets up all the needed variables after a check.

This also disables libdl and libiio for static builds, where they make
no sense
2016-07-13 15:24:41 -03:00
Lucas De Marchi ee62b61fc7 waf: use STDC format macros 2016-07-13 14:18:27 +10:00
Lucas De Marchi 8a27680fbb build: check for endian.h and byteswap.h 2016-07-08 19:49:32 -03:00
Andrew Tridgell 1a3b292aa3 autotest: fixed run_in_terminal_window() on Linux
try to retain MacOS functionality too
2016-07-08 08:20:20 +10:00
Lucas De Marchi e2498a1090 autotest: add function to kill tasks on MacOS
Like done on other cases, add an explicit function for that, which turns
the comment redundant.
2016-07-07 11:35:18 -03:00
Siddharth Bharat Purohit 4f0dad19ea autotest: support mac osx terminal launch 2016-07-07 11:35:17 -03:00
Siddharth Bharat Purohit 71c2f69a63 waf: add support for sitl build on mac 2016-07-07 11:35:17 -03:00
snl1101 e15b1a8f2e SITL: add Sterling to locations.txt 2016-07-01 11:21:56 +09:00
Gustavo Jose de Sousa f426e2c681 Replay: build: use separate library
There are checks for APM_BUILD_Replay in the source code, so Replay tools needs
a separate static library.
2016-06-30 12:55:18 -03:00
Andrew Tridgell d477905fbd autotest: fixed XPlane with sim_vehicle.py 2016-06-30 20:26:14 +10:00
Andrew Tridgell b1de768756 autotest: added quadplane-tilttri parameters 2016-06-30 17:00:56 +10:00
Andrew Tridgell 0f7b4a0cd1 autotest: fixed tricopter quadplane for sim_vehicle.py 2016-06-30 14:16:52 +10:00
Gustavo Jose de Sousa a748c52f06 waf: bump to version 1.9.0
Some things worth mentioning:

- That version contains commits we had cherry picked on our submodule.
- There's a patch on top with a fix for the new process spawning used on
  version 1.9.0. That has already been applied to upstream's master, but not
  released yet.
- This patch also does necessary changes on our build system in order to
  accommodate the upgrade. Basically:
  - Use full task class names when calling create_task().
  - Use always_run class attribute instead of the decorator, which is
    deprecated.
2016-06-29 11:18:22 -03:00
Paul Riseborough 094dd9d769 Replay: Fix bug preventing use of IMT data during replay 2016-06-28 14:20:13 +10:00
Peter Barker b23f983459 autotest: add --gdb option to autotest.py 2016-06-27 18:14:55 -03:00
Lucas De Marchi 3a5bc141bb build: use format macros in all linux boards
This doesn't work for px4 since it manually defines __STDC_FORMAT_MACROS
in some px4 modules, which needs to be updated.
2016-06-25 12:51:55 -03:00
Andrew Tridgell a8e5255b90 autotest: look in parent directories for vehicle type in sim_vehicle.py
this allows eeprom.bin per vehicle type without using -v
2016-06-24 11:28:18 +10:00
Lucas De Marchi a9919420c6 waf: allow to disable libiio at configuration
We default to autodetection for libiio so if the libraries are available
we enable it. However this may not always be desired.
2016-06-23 19:08:13 -03:00
Lucas De Marchi 348678888b waf: allow to disable lttng at configuration
We default to autodetection for LTTNG so if the libraries are available
we enable it. However this may not always be desired.
2016-06-23 19:07:26 -03:00
Peter Barker febba9112f sim_vehicle.py: simply ignore any failure to kill tasks 2016-06-23 18:39:09 -03:00
Peter Barker 2266223665 sim_vehicle.py: shell out to pkill if psutil is not available 2016-06-23 18:39:09 -03:00
Peter Barker d9ad962b33 sim_vehicle.py: allow starting mavproxy without --sitl option 2016-06-22 21:25:11 +10:00
Peter Barker 51020387c8 sim_vehicle.py: allow model to be overridden on command line 2016-06-22 21:25:11 +10:00
Randy Mackay a7422153cb SITL: disable avoidance so we can trigger fence failsafe 2016-06-22 11:38:15 +09:00
David B. Bitton f58ce71a77 Update initvagrant.sh
Made jsbsim origin URL more firewall friendly.
2016-06-21 13:03:35 -03:00
Peter Barker 6530c3bd91 autotest.py: exit with error if requested step not found 2016-06-20 11:48:07 +10:00
Andrew Tridgell d9d53c82d0 autotest: added xplane as vehicle type 2016-06-19 13:59:15 +10:00
Randy Mackay 036349cd2f SITL: set copter MOT_THST_HOVER default 2016-06-18 11:55:49 +09:00
Randy Mackay ed90d00fff SITL: throttle to 50 percent now that hover throttle automatically updates 2016-06-18 11:55:49 +09:00
Tom Pittenger ed7af8c717 scripts: Add libc6-i386 to px4 package install.
Fixes https://github.com/ArduPilot/ardupilot/issues/4316
2016-06-16 08:06:06 -07:00
Peter Barker eefdc32f51 Replay: print message when gap perceived in log 2016-06-07 14:00:14 +10:00
Peter Barker f6c7a73170 Replay: command line option to disable FP exceptions 2016-06-07 12:45:38 +10:00
Peter Barker 53df307c2d sim_vehicle.py: older python has no accessors for proc.status 2016-06-06 12:27:41 +10:00
Peter Barker 91e72de302 sim_vehicle.py: remove unused parameter 2016-06-06 12:27:29 +10:00
Peter Barker efef39732e autotest: pass any supplied -j through to waf make 2016-06-05 09:45:58 +10:00
Peter Barker eb0e3c993d Tools: build_examples.sh implemented in terms of build_examples.py 2016-06-04 12:33:15 -03:00
Peter Barker b6289af522 Tools: autotest uses waf directly for building examples 2016-06-04 12:33:14 -03:00
Peter Barker 8cf49d4e3e Tools: create build_examples.py, a replacement for build_examples.sh 2016-06-04 12:33:14 -03:00
Gustavo Jose de Sousa 6fa97c2289 waf: px4: require cmake version at least 3.2
That way we avoid build errors due to things not supported in earlier versions.
2016-06-03 09:55:17 -03:00
Gustavo Jose de Sousa 03728ac2f7 waf: cmake: enable minimum version checking
By using the environment variable CMAKE_MIN_VERSION.
2016-06-03 09:55:17 -03:00
Peter Barker 0924ae0d25 Tools: add cmake as a dep for PX4 in Vagrant 2016-06-02 13:05:25 +10:00
Francisco Ferreira 501284f65a ci: remove clang temporarily from APT packages 2016-05-31 19:25:51 +01:00
Andrew Tridgell 475579e8ff autotest: skip build of boards we don't support
this prevents us trying to build for boards like navio2 for
ArduCopter-stable which didn't support that board
2016-05-30 08:25:10 +10:00
Andrew Tridgell 168f4e52cf autotest: try to fix build of binaries 2016-05-28 07:29:23 +10:00
Andrew Tridgell 084a37d4fa autotest: enable LOG_REPLAY and LOG_DISARMED in autotest
this will give us the ability to analyse any EKF errors
2016-05-27 21:23:39 +10:00
Peter Barker 480e142cfb autotest.py: remove TARGET no longer required 2016-05-27 08:07:07 -03:00
Peter Barker 3548f90d3a autotest: create SIL object to hold valgrind logpath 2016-05-27 08:07:07 -03:00
Peter Barker ced07906ad Tools: correct valgrind run in autotest.py 2016-05-27 08:07:07 -03:00
Peter Barker 7b86a05722 Tools: convert autotest build.X and fly.X to use waf build system 2016-05-27 08:07:07 -03:00
Andrew Tridgell b76a993f7e autotest: support coaxcopter 2016-05-26 17:09:31 +10:00
Andrew Tridgell ba3703303a autotest: added SingleCopter 2016-05-26 16:37:58 +10:00
Francisco Ferreira ec0a80b6f4 ci: increase ccache size
make based builds require more space
insert exception for sitltest
2016-05-25 22:14:47 -03:00
Andrew Tridgell 1e44251d35 Replay: include a minimal set of FMT messages at start of log 2016-05-26 10:10:27 +10:00
Andrew Tridgell 366d95f45e Replay: fixed FMT messages in replay output 2016-05-26 09:40:21 +10:00
Gustavo Jose de Sousa 8e9752c3d3 waf: px4: setup build summary
- Pass the correct nodes as the binaries for the programs task generators.
- Print extra information specific to PX4 build.
2016-05-25 17:47:00 -03:00
Gustavo Jose de Sousa d65a7897e4 waf: px4: keep ELF files around
Including px4io. We need them for the build summary. Also, that makes it easier
to use gdb on them.
2016-05-25 17:47:00 -03:00