Commit Graph

358 Commits

Author SHA1 Message Date
Beat Küng 473192aa81 replay: some API refactoring & extensions
in preparation to the updated ekf2 replay
2017-03-04 22:47:54 +08:00
Beat Küng 037280c17d sitl: add iris_replay startup script, handle $replay_mode in sitl_run.sh
usage:
export replay_mode=ekf2
export replay=<abs_path_to_log.ulg>
make posix none
2017-03-04 22:47:54 +08:00
Daniel Agar 1bbca3bf1d test_dataman add to SITL with minor updates 2017-02-15 22:29:24 -05:00
Daniel Agar b14cb952ae sitl plane update tuning 2017-02-12 11:03:51 +01:00
Larry Wang 1beb2911e2 init shmem early to avoid random crash in fastrpc (#6407)
* init shmem early to avoid possible crash

* fix_code_style

* Keep the initialziation to NULL, remove the duplicate memory allocation
2017-01-21 08:30:46 +01:00
Michael Schaeuble 7aea2ca030 BebopFlow: Add V4L2 interface and image functionality 2017-01-20 23:09:13 +01:00
Michael Schaeuble 85aa710414 BebopRangeFinder: Integration into build and starup 2017-01-20 23:09:13 +01:00
wangxdflight b693e29d64 enable px4 flight for excelsior(legacy) 2017-01-16 08:25:58 -08:00
Dennis Mannhart d124de5045 px4.config: add spektrum_rc to startup
added line at the end
2017-01-03 20:54:06 +01:00
Daniel Agar c5c676cbd5 tests template remove list_builtins 2017-01-03 04:20:19 -05:00
Daniel Agar 573aed0ee8 tests coverage reorder to avoid lcov issues 2017-01-03 04:00:41 -05:00
Daniel Agar 6d4579751a tests add airspeedsim 2017-01-03 04:00:41 -05:00
Daniel Agar b4da337cd4 test coverage cleanup
- dataman clean exit code
 - unit test proper cleanup
 - add some level of simulated sensors for tests
 - delete unused test/standard_vtol
2017-01-03 04:00:41 -05:00
Daniel Agar 1ceb0bebb5 sitl tests don't manually stop mavlink and dataman 2017-01-02 10:14:41 +01:00
Daniel Agar 28971caaf3 partially restore mavlink_tests 2017-01-02 10:14:41 +01:00
Daniel Agar dc9a71b674 WIP startup_shutdown test with ASAN on 2017-01-02 10:14:41 +01:00
Daniel Agar 4f97ef417f sitl tests all config 2017-01-02 10:14:41 +01:00
Daniel Agar 74231e6656 split tests for SITL ctest 2017-01-02 10:14:41 +01:00
Lorenz Meier 9178bb7371 Add new posix_sitl_shell build target which allows to run -make posix_sitl_shell none- in order to get an empty shell 2017-01-01 13:59:41 +01:00
ChristophTobler 037d91c51c update posix-config for inav optical flow 2017-01-01 13:33:27 +01:00
Lorenz Meier 0205492a24 Update Mixer for LPE solo 2016-12-30 12:21:16 +01:00
jg 14ddc3018a fixed solo gazebo target 2016-12-30 12:20:15 +01:00
ChristophTobler 11de4d70a6 add config file for ekf2-optical flow 2016-12-30 10:39:57 +01:00
Lorenz Meier 48f1ae31dd Iris: use correct mixer for frame 2016-12-25 21:31:32 +01:00
Lorenz Meier 171ccd1203 POSIX SITL configs: Update default parameters to improve simulation behaviour
The main changes include:
 * Better attitude tuning for airframes (more realistic models, the models had previously not as much thrust as the real vehicles)
 * Better waypoint and navigation default parameters which match the on-hardware parameters
 * More suitable minimum and trim airspeeds for VTOL and fixed wing which prevents stalls that happened in SITL previously (the new airspeeds match the real vehicles nicely)
2016-12-25 18:15:51 +01:00
Lorenz Meier 42101671f4 Drop rate gains for H480 2016-12-24 16:14:52 +01:00
Lorenz Meier 07fecaa9d5 Re-tune the H480 config as we increased its simulated motor power recently. 2016-12-24 16:14:52 +01:00
James Goppert c28cd76e5f LPE fault relaxation and sitl fix (#6146)
* Set LPE FUSE for standard iris sitl config.

* Relax fault detection handling.

* Always correct lidar.
2016-12-23 15:08:37 -05:00
Beat Küng fca3a11907 RPI config: set SYS_MC_EST_GROUP 2016-12-22 16:54:15 +01:00
Beat Küng eadb55569b eagle configs: set SYS_MC_EST_GROUP 2016-12-22 16:54:15 +01:00
Beat Küng af99ecfe42 bebop config: set SYS_MC_EST_GROUP to 2 2016-12-22 16:54:15 +01:00
Beat Küng d828023e47 SITL startup config: set SYS_MC_EST_GROUP
so that we know which estimator was used in the log file
2016-12-22 16:54:15 +01:00
Beat Küng a3de7f7acc RPI: fix startup scripts: start navigator & load parameters 2016-12-22 15:17:58 +01:00
Roman c38e378f59 bebop config: updated some gains for decent performance
Signed-off-by: Roman <bapstroman@gmail.com>
2016-12-21 21:36:53 +01:00
James Goppert 6ff85fb927 LPE land bug fix and switch to fusion bit mask. 2016-12-21 08:43:18 +01:00
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