Commit Graph

373 Commits

Author SHA1 Message Date
Roman d0d9ee373b bebop config: increase logger buffer from 20kB to 200kB
Signed-off-by: Roman <bapstroman@gmail.com>
2016-12-16 00:15:25 +01:00
Roman daa88f69db bebop2 config: updated some positon control params for decent performance
- this is not the final tune!!!

Signed-off-by: Roman <bapstroman@gmail.com>
2016-12-16 00:15:25 +01:00
Roman b0bca24526 bebop2 config: use logger instead of sdlog2
- sdlog2 drops lots of data and logs very, very irregularly

Signed-off-by: Roman <bapstroman@gmail.com>
2016-12-16 00:15:25 +01:00
Roman 5ce24e82f5 bebop2 apps: start other important apps, use ekf2 as estimator
Signed-off-by: Roman <bapstroman@gmail.com>
2016-12-15 00:11:13 +01:00
Andreas Antener be2451cfc7 SITL: use logger for standard_vtol and upload *.ulg files after integrationtests 2016-12-13 10:20:14 +01:00
Roman 88f771fc1e bebop2 startup config: start gps driver
Signed-off-by: Roman <bapstroman@gmail.com>
2016-12-12 23:48:15 +01:00
James Goppert 13df03c78a Fix bug with imu rotation for tyhpoon in sitl gazebo. (#5988) 2016-12-06 12:55:05 -05:00
James Goppert 4b6a11161e Fixes for sitl gazebo ground truth. (#5932)
* Fixes for sitl gazebo ground truth.

* Switch ekf2 to new logging module for sitl.
2016-12-03 11:40:53 -05:00
Beat Küng 707666488e RPi px4_fw.config: use AERT mixer file & fix fw_pos_control_l1 start 2016-11-24 14:57:52 +01:00
Beat Küng fdc489358a RPi startup scripts: start logger 2016-11-24 14:43:45 +01:00
mantelt 6cbd398974 RPi/Navio: add rpi baseline config for fw 2016-11-02 17:45:31 +01:00
Julian Oes 0a043365ec rename gazebo_tailsitter to tailsitter
This is currently broken anyway but the new name makes more sense.
2016-10-28 23:56:46 +02:00
Miguel Arroyo c6f43689e7 Adds Auto Mode Scanning 2016-10-06 09:00:09 +02:00
Hidenori e7b582502a Navio: change the GPS device 2016-10-06 09:00:09 +02:00
Michael Schaeuble 6bb03f3665 Add pitch angle to AK8963 for Bebop 2016-10-05 09:56:54 +02:00
bharathr 2f6abf26a3 Updated mainapp.config for 200qx and 210qc airframes (based off the generic flight version) 2016-10-02 16:06:08 +02:00
Beat Küng 35e93c24e8 fix sitl_multiple_run.sh: adapt to path updates 2016-09-30 13:50:51 +02:00
Beat Küng bb61144efc cmake: add posix_sitl_inav target 2016-09-29 07:28:03 +02:00
Daniel Agar 9fd0513be3 vtol remove unused vehicle_status 2016-09-27 08:49:45 +02:00
Daniel Agar 6d655d2d6e startup remove old EKF PE_ params (#5533) 2016-09-26 22:51:43 +02:00
Lorenz Meier bd922e4eed Standard VTOL: report correctly in SIM 2016-09-25 18:37:33 +02:00
Mark Whitehorn 8f64825297 switch to new logger for posix_sitl_default 2016-09-19 13:05:14 +02:00
Beat Küng 3ae2ca74c5 posix-configs: start vmount for typhoon 2016-09-19 07:55:38 +02:00
Beat Küng 057d71e101 posix-configs: use 'mixer append' command for typhoon mount mixer 2016-09-19 07:54:51 +02:00
Michael Schaeuble 40bf8f75d6 Add Bebop mixer and controller gains 2016-09-07 08:24:08 +02:00
Michael Schaeuble ad8f51f662 Update PX4 config to new functionality 2016-09-07 08:24:08 +02:00
Michael Schaeuble 5d3e9df731 Add DF wrapper for BebopBus driver 2016-09-07 08:24:08 +02:00
Lorenz Meier 3f07b03911 SITL: Tune standard VTOL to have better position control performance & update gazebo 2016-09-06 11:35:52 +02:00
John Hsu 340cb05f70 Add configurations for Zephyr SITL. Add init script for Zephyr SITL. Update hexa_x.main.mix with leg control. 2016-09-06 11:33:18 +02:00
Beat Küng 010c9e937b SITL: switch to HIL_ACTUATOR_CONTROLS mavlink message & add pwm_out_sim support for 16 outputs 2016-09-06 11:33:18 +02:00
Lorenz Meier 1d99f83b34 Add config for LPE and plane 2016-08-31 09:17:01 +02:00
James Goppert dbc5e90993 Change to sitl to allow no board rotation for gazebo. (#5400)
* Change to sitl to allow no board rotation for gazebo.

* Fix typo in typhoon launch file and create config for lpe.

* Exit early on test failures
2016-08-27 20:03:54 -04:00
Mark Whitehorn bad6f0032c change board rotation to zero (#5392) 2016-08-27 22:56:08 +02:00
Lorenz Meier f511d49cc2 Improvements to SITL to make paths more flexible. (#5181) (#5255)
* Path cleanup for SITL.

* Restructured sitl scripts dir.

* Set integration tests to use ekf2 for vtol.

* Fix sitl paths for mac.
2016-08-25 21:47:45 +02:00
James Goppert 818840b576 Path cleanup, low impact changes (#5340)
* Low impact changes from path_cleanup branch.

This is a step towards minimizing the diff with path_cleanup branch.

* Update ecl.

* Revert matrix update.

* Revert ecl and matrix.

* Update sitl gazebo.

* Revert sitl_gazebo and matrix changes.
2016-08-18 15:37:23 -04:00
Daniel Agar 8b9bef3872 osx fix and enable tests 2016-08-07 14:05:03 +02:00
Lorenz Meier 102f5b54d7 Revert "Improvements to SITL to make paths more flexible. (#5181)"
This reverts commit 699b6a2cb3.
2016-08-05 21:29:49 +02:00
James Goppert 699b6a2cb3 Improvements to SITL to make paths more flexible. (#5181) 2016-08-05 06:23:59 -04:00
Michael Schaeuble a3a855203c Update Bebop mainapp.config with new functionality 2016-08-05 10:15:11 +02:00
Michael Schaeuble e600e29ea4 Add DF wrapper for AK8963 2016-08-05 10:15:11 +02:00
Lorenz Meier db174cf8b1 Disable EKF2 3D fusion temporarily in SITL, fix missing fast-init params for some configs 2016-08-05 10:12:44 +02:00
sander 5710a0c040 Remove default geofence from gazebo_standard_vtol 2016-07-31 22:09:44 +02:00
Lorenz Meier 6ab9dc0acf Testing cleanup from Daniel Agar 2016-07-29 13:49:14 +02:00
James Goppert b6a9ff756c Rename mainapp to px4. 2016-07-29 11:05:01 +02:00
James Goppert 05315abc89 Optical flow simulator and install cleanup. (#5132)
sitl CI is having some issue cloning, but I have verified it locally for various configs
2016-07-24 13:07:14 -04:00
Julian Oes 317fd270d1 RPi: add mainapp.config again
This file got deleted accidentally because all .config files were in
gitignore.
2016-07-22 09:33:43 +02:00
Michael Schaeuble 7d11b32981 Add correct rotation for MPU6050 on Bebop 2016-07-22 09:21:55 +02:00
Michael Schaeuble 28de6d2cbd Update mainapp.config and add MPU6050 2016-07-22 09:21:55 +02:00
Julian Oes fa614a3cc1 RPi: just use RPI instead of RPI2.
The reason for this change is that RPi2 and RPi3 are compatible, and
hopefully all differences coming up can be resolved without ifdefs but
at runtime.
2016-07-16 15:51:00 +01:00
Julian Oes 2bf40efe8b RPi2: fuse mainapp/common and navio2
We currently only support Navio2, so let's fuse the two configurations.
2016-07-16 15:51:00 +01:00
Miguel Arroyo 17be06cf1a Fixes Navio2 Config Typo 2016-07-16 15:51:00 +01:00
Beat Küng 49614cfe38 SITL init scripts: add replay tryapplyparams & replay trystart
These will only start replay if there's an environment variable 'replay',
otherwise they do nothing.

We apply the parameters even before loading the modules, so that the
modules 'see' the same state as the recorded system had. We will have to
see how well this works in practice.
2016-07-11 09:26:35 +02:00
Lorenz Meier 7afe2e8dd8 Iris SITL: Default gains 2016-07-08 00:02:48 +02:00
Lorenz Meier eb6af9afb9 VTOL updates 2016-07-07 23:30:57 +02:00
Lorenz Meier 38652ec940 SITL: Re-tune multicopter gains 2016-07-07 23:28:21 +02:00
Julian Oes 1631cfdc83 Eagle: SDLOG_PRIO_BOOST to raise sdlog2 priority
This should lead to less drops on Snapdragon although it's hard to
verify this.
2016-07-07 16:48:27 +02:00
bharathr d96810f250 Removed px4 config file for 200qx P1 board, updated P2 board version to support Qualcomm ESCs 2016-07-03 12:43:54 +02:00
bharathr 29be7c3003 Updated motor-esc mappings in 200qx config file 2016-07-03 12:43:54 +02:00
bharathr 9131647566 Fixed UART_ESC_MODEL parameter in 200qx config file 2016-07-03 12:43:54 +02:00
bharathr 00243a9842 Updated 200qx config files (removed calib files, cleaned up and renamed all files) 2016-07-03 12:43:54 +02:00
Lorenz Meier 2a729028bd SITL: Set battery cells 2016-07-02 11:41:23 +02:00
Hidenori ee58188162 Split Navio2 specific parts from general RPI2 files
For Navio2, make posix_navio2_release and use navio2.config.
2016-07-01 23:08:17 +02:00
Hidenori 76ee17e532 RC input and PWM output for Navio2 2016-07-01 23:08:17 +02:00
Lorenz Meier e43625cfc1 ROMFS: Clear out SITL mixers from deployed image, delete unused mixers, move test mixers to test config 2016-07-01 18:08:32 +02:00
Daniel Agar 377726a9a7 sitl gazebo plane fix land detector startup order (#4932) 2016-06-30 13:56:06 +02:00
Andreas Antener c9f278e46f fix rcS for standard vtol 2016-06-28 22:44:49 +02:00
Andreas Antener 00d56b9ef8 added VTOL mission test, updated mission test to check mission depending on vehicle state 2016-06-28 22:44:49 +02:00
Lorenz Meier 33e259e827 Update controller gains to match better vehicle models 2016-06-26 22:25:55 +02:00
Julian Oes 6618cac10a RPi2: don't forget to start the baro 2016-06-25 12:00:49 +02:00
Julian Oes e56be33e50 RPi2: switch from ekf2 to q/inav 2016-06-25 12:00:49 +02:00
Julian Oes 8b8766e840 RPi2: put drivers back in 2016-06-25 12:00:49 +02:00
Andreas Antener d1b27ab056 moved params NAV_OBL to COM_OBL 2016-06-20 19:23:11 +02:00
Andreas Antener d3d9f013f4 set OBL parameters for iris 2016-06-20 19:03:10 +02:00
Andreas Antener ced8376268 added offboard lost actions with additional timeout 2016-06-20 19:03:09 +02:00
Michael Schaeuble 83ec092b46 Update bebop configuration and use parameters 2016-06-20 12:55:01 +02:00
Michael Schaeuble 696a378120 Add modules and commands to bebop build 2016-06-20 12:55:01 +02:00
Lorenz Meier b2cfe05881 Adjust Typhoon H480 gains 2016-06-20 12:54:22 +02:00
Lorenz Meier c647b6db4d Update gains 2016-06-18 17:36:48 +02:00
Lorenz Meier d860bdcdc0 Update VTOL gains 2016-06-18 17:03:49 +02:00
Lorenz Meier 3ef6ee056f Sync rate control gains 2016-06-18 16:58:04 +02:00
Lorenz Meier afdc8cdf55 VTOL: Use standard attitude gains 2016-06-18 16:29:28 +02:00
Lorenz Meier 0126e49841 Solo: Use the right mixer 2016-06-17 22:44:42 +02:00
Lorenz Meier dff50072e9 Add new airframe meta files 2016-06-17 22:44:42 +02:00
Lorenz Meier c248adb18d Fix tuning gains for Solo and tailsitter 2016-06-17 22:44:42 +02:00
Julian Oes da0813b842 Snapdragon: make RC calibration easier
20 Hz of RC_CHANNELS makes the RC calibration in QGC a more pleasant
thing.
2016-06-10 11:20:22 +01:00
Julian Oes 51defb9de2 px4.config: remove unneeded commands 2016-06-07 22:10:56 +02:00
Lorenz Meier 7a6ff4742d Add Solo sim model (#4761) 2016-06-07 21:25:35 +02:00
Lorenz Meier c02214f745 Update RPI2 config 2016-06-05 12:55:14 +02:00
Lorenz Meier 93ef7ea4f6 posix-configs/eagle/hil 2016-06-05 12:54:41 +02:00
Lorenz Meier 44c222f6b7 Update Eagle flight config 2016-06-05 12:54:27 +02:00
Lorenz Meier 8a7fd9c889 Update 210qc config 2016-06-05 12:54:12 +02:00
Lorenz Meier 131a1613af Update 200qx config 2016-06-05 12:53:58 +02:00
Lorenz Meier 6b97a9ece8 Update Bebop config 2016-06-05 12:53:44 +02:00
Lorenz Meier b0d05c19bc Update SITL config posix-configs/SITL/init/rcS_multiple_gazebo_iris 2016-06-05 12:53:32 +02:00
Lorenz Meier 6608c98192 Update SITL config posix-configs/SITL/init/rcS_lpe_jmavsim_iris 2016-06-05 12:43:04 +02:00
Lorenz Meier 53b1bbd49f UPpdate SITL config posix-configs/SITL/init/rcS_lpe_gazebo_iris_opt_flow 2016-06-05 12:42:52 +02:00
Lorenz Meier 50f4a603e8 Update SITL config posix-configs/SITL/init/rcS_lpe_gazebo_iris 2016-06-05 12:42:37 +02:00
Lorenz Meier 17e28ceeb1 Update SITL config posix-configs/SITL/init/rcS_jmavsim_iris 2016-06-05 12:42:22 +02:00
Lorenz Meier e5ba214f34 Update SITL config posix-configs/SITL/init/rcS_gazebo_tailsitter 2016-06-05 12:42:08 +02:00
Lorenz Meier da943b0007 Update SITL config posix-configs/SITL/init/rcS_gazebo_standard_vtol 2016-06-05 12:41:55 +02:00
Lorenz Meier a651f3dae5 Update SITL config posix-configs/SITL/init/rcS_gazebo_plane 2016-06-05 12:41:43 +02:00
Lorenz Meier b198638a6c Update SITL config posix-configs/SITL/init/rcS_gazebo_iris_opt_flow 2016-06-05 12:40:41 +02:00
Lorenz Meier e19b373347 Updatee SITL config rcS_gazebo_iris 2016-06-05 12:40:25 +02:00
Julian Oes 1880d1f6fd Snapdragon: start sdlog first to log everything (#4734)
In order to capture everything for replay logs, start sdlog2 at the very
beginning. Also, wait with starting the sensors for a second, to make
sure sdlog2 has started by then.
2016-06-05 12:01:38 +02:00
bharathr 6f9665d718 Restored 210qc snapdragon config files 2016-06-04 15:12:01 +02:00
Julian Oes d030444733 posix-configs: start HMC5883 before MPU9250 in DF
We need to start the external mag before we start the internal mag on
the MPU9250 because the ekf2 does not support voting for the sensor with
the highest priority (or failures) yet, so it will just subscribe to
whatever is at 0.
2016-05-31 16:43:13 +02:00
jwilson c6250657eb Added mag support to the DriverFramework mpu9250 driver. Shortened parameter names for legacy drivers. Added temporary ifdef's in the calibration code for Snapdragon Flight builds.
Signed-off-by: jwilson <jwilson@qti.qualcomm.com>
2016-05-31 16:43:12 +02:00
Michael Schäuble d9422e0296 Add Parrot Bebop as build target (#4698)
* Add parrot bebop build structure

* Add upload functionality to bebop build

* Add modules and commands to bebop build
2016-05-31 13:04:22 +02:00
Lorenz Meier 55c7ffbe62 Fix more Qualcomm param length issues 2016-05-28 14:36:51 +02:00
Lorenz Meier afa3429bdb 210qc: Fix sample rate 2016-05-28 14:24:55 +02:00
Lorenz Meier aa355d86d0 200qx: Fix sample rate 2016-05-28 14:24:38 +02:00
Julian Oes 9d489b9b0f Snapdragon: rename uart_esc to pwm_out_rc_in
The name uart_esc was initially taken by Qualcomm's UART ESC driver but
then got changed into the current mavlink ESC/RC helper. Since the
uart_esc is still around, we should prevent the names clashing.
2016-05-28 11:42:12 +02:00
Lorenz Meier ff5a481c34 Remove unneeded EKF2 configs 2016-05-28 11:34:08 +02:00
Lorenz Meier c3974446bd Update Gazebo tuning gains 2016-05-28 11:31:39 +02:00
jwilson 64c3b330ee Partial fix for Snapdragon HITL mode 2016-05-23 17:58:59 +02:00
Kabir Mohammed 529460d573 Fix RPi2 build system 2016-05-19 15:41:50 +02:00
Julian Oes 6ddffb71ea SITL init: set EKF2 params for SITL
The sensors in the SITL environment are near ideal, so the
initialization in ekf2 can happen quicker.
2016-05-18 12:44:04 +10:00
Julian Oes 1e155776fd Revert "Switch from EKF2 to LPE since SITL s is not any more a bearable workflow with EKF2 init lag"
This reverts commit 503966165b.
2016-05-18 12:44:04 +10:00
Julian Oes 920d2ef1e8 posix sdflight: add navigator to Linux side 2016-05-14 11:21:44 +02:00
Lorenz Meier 503966165b Switch from EKF2 to LPE since SITL s is not any more a bearable workflow with EKF2 init lag 2016-05-13 22:05:07 +02:00
korotkoves a8bbbcbff5 scripts for runnung multiple SITL 2016-05-13 13:23:54 +02:00
Daniel Agar d804f5727e run tests in posix sitl with gazebo 2016-05-13 13:01:42 +02:00
Daniel Agar 008354f935 testing cleanup 2016-05-13 13:01:41 +02:00
Daniel Agar 39d388051a WIP posix_sitl_test 2016-05-13 13:01:41 +02:00
Julian Oes 5ee865a6eb eagle: use a bigger buffer for sdlog2 2016-05-11 21:30:03 +02:00
Julian Oes c7c786d567 Revert "posix-configs: conflicting args for sdlog2"
This reverts commit aac9a584aa5fa26ea93d7583305c44d50608ecfa.
2016-05-11 21:30:03 +02:00
Julian Oes 91cc52f60e posix-configs: conflicting args for sdlog2 2016-05-11 21:30:03 +02:00
Julian Oes 0c0d251003 Intersil wrapper continued
* Qflight: add intersil sensor driver

* df_isl_wrapper: change driver lib name to isl

* posix-config: add df_isl_wrapper start command to eagle startup

* isl_wrapper: cleanup isl wrapper

* isl: remove unused option -R

* isl: change the driver name to isl29501

* DriverFramework: updated submodule again

This is to get the latest `make fix-style` changes.

* df_isl29501_wrapper: rename wrapper all the way
2016-04-28 15:31:40 +02:00
jwilson eb89cddea3 Adds pressure sensor driver to the build and modifies the configuration file to get the associated driver loaded. 2016-04-28 08:53:06 +02:00
Lorenz Meier 2fc6cdd994 Gazebo SITL: Ensure a tightly closed altitude control loop 2016-04-27 15:30:44 +02:00
Lorenz Meier f533e00d5c SITL configs: Fix param names 2016-04-25 08:44:51 +02:00
Lorenz Meier 7d57713dd5 Start simulator after params have been loaded and set 2016-04-23 14:33:10 +02:00
Andreas Antener bee2c98785 reorganized posix sitl launch scripts, reorganized mavros python test scripts (integration tests) and updated them for posix sitl, removed old and not working integration tests 2016-04-20 16:51:58 +02:00
Andreas Antener a8a57ca20c make iris move a bit faster in gazebo and removed broken assertion from posctl test 2016-04-20 11:07:02 +02:00
Simone Guscetti 211e667639 Configure mavlink to connect to localhost 2016-04-17 21:55:43 +02:00
Lorenz Meier 43473b10a8 Better defaults for posix SITL 2016-04-08 22:36:07 -07:00
Lorenz Meier a8ccc2b087 jMAVSIM / IRIS: Disarm on land 2016-04-08 22:15:37 -07:00
Lorenz Meier 678c7dfdf4 IRIS / SITL: Disarm on land 2016-04-08 22:15:06 -07:00
Lorenz Meier 075a6e3d4e Update IRIS configs to match new simulator dynamics and fixes 2016-04-08 21:51:00 -07:00
Lorenz Meier 504e42561f Gazebo IRIS: Fly with default gains 2016-04-08 18:21:26 -07:00
Lorenz Meier 0231b512b4 Plane: Use appropriate idle speed 2016-04-08 17:24:14 -07:00
Lorenz Meier 7c4479fa7a Start attitude estimator Q stream 2016-04-06 11:17:50 -07:00
Lorenz Meier 97be79496f LPE: Add attitude quaternion stream 2016-04-06 11:17:50 -07:00
Lorenz Meier bd99b9de64 Gazebo configs: Enable attitude quaternion stream 2016-04-06 11:17:50 -07:00
Lorenz Meier 0a606462d2 Add attitude quaternion stream for iris config 2016-04-06 11:17:50 -07:00
Lorenz Meier d990a43c62 Add attitude quaternion stream for EKF2 config 2016-04-06 11:17:50 -07:00
Lorenz Meier a0a0e5edd6 Add attitude quaternion stream for FW config 2016-04-06 11:17:50 -07:00
Nicolas de Palezieux 00352565ee added I2C driver for TeraRanger One 2016-04-06 10:35:38 +02:00
Roman f3e147f57b make replay faster 2016-04-05 21:24:11 +02:00
tumbili ff338d8920 set mavlink data rate for snapdragon 2016-03-30 18:05:48 +02:00