Paul Riseborough
7ff23f7859
posix-configs: Update optical flow SITL test parameter defaults
...
Use baro for height in EKF.
Use terrain hold mode in height controller.
2018-07-22 17:42:31 +10:00
Matthias Grob
cc0bc05156
mc_att_control: remove useless parameter MC_YAW_FF
...
It scales the yawspeed setpoint arbitrarily by default with 0.5.
This makes no sense because when you give a setpoint of 1rad/s then
you expect the setpoint to get executed. If you want manual yawspeed
response to be less agressive on the stick use the scaling parameter
for the stick MPC_MAN_Y_MAX.
2018-07-20 09:26:18 +02:00
Daniel Agar
8537863848
delete sdlog2
2018-07-13 09:02:59 +02:00
Roman
1dea998be5
ROMFS: clean up quad x tailsitter mixer files
...
- use mixer for the simulation to the sitl mixer dir
- do not use virtual elevator in the mixer for the real vehicle
Signed-off-by: Roman <bapstroman@gmail.com>
2018-07-02 13:09:35 +02:00
Elia Tarasov
9ccf17dbee
add sitl init file for iris_vision model
2018-06-10 21:26:44 -04:00
Elia Tarasov
384028aa7b
decrease rollrate P gain due to gimbal oscillations
2018-06-05 20:57:08 +02:00
Roman
20b51d6256
sdflight config: weird changes to get things working
...
- just use external mag, if they run together the sensor_mag_0 topic gets
corrupted even though they publish on different instances
- added sleep at two places, they resolve weird boot problems like params
not being read correctly...
Signed-off-by: Roman <bapstroman@gmail.com>
2018-05-23 10:08:28 -04:00
Daniel Agar
8404889098
delete unused ADCSIM
...
- set BOARD_NUMBER_BRICKS to 0 for boards without analog power bricks
2018-04-29 21:48:54 -04:00
Daniel Agar
439ed7d3f5
posix sitl ekf2 plane model add fw defaults
...
- EKF2 airspeed fusion and synthetic sideslip fusion
- commander eph/epv failsafe thresholds appropirate for FW
2018-04-24 00:02:48 -04:00
Daniel Agar
7538ea44e3
Jenkins add VTOL tiltrotor mission test
2018-04-19 07:21:00 +02:00
Roman
7fa91ad3dd
posix-configs: increase tailsitter land speed
...
Signed-off-by: Roman <bapstroman@gmail.com>
2018-04-18 17:23:38 -04:00
Roman
bb4b5e7c1d
posix-configs: set tailsitter SITL SYS_AUTOSTART to quad tailsitter
...
Signed-off-by: Roman <bapstroman@gmail.com>
2018-04-18 17:23:38 -04:00
Roman
694df08b37
posix-configs: better tailsitter front transition parameters
...
- reduce height increase during front transition
Signed-off-by: Roman <bapstroman@gmail.com>
2018-04-18 17:23:38 -04:00
Daniel Agar
2c31671cc2
FW SITL enable FW EKF2 default parameters
2018-03-30 19:29:42 -04:00
Daniel Agar
7830d3503e
posix sitl standard_vtol lower MPC_THR_MIN
2018-03-21 20:49:41 -04:00
Roman
df3a3daa0f
start wind estimator for relevant platforms
...
Signed-off-by: Roman <bapstroman@gmail.com>
2018-03-21 18:46:58 +01:00
Roman
2c0436c37c
sitl tiltrotor config: front transition throttle parameter name change
...
Signed-off-by: Roman <bapstroman@gmail.com>
2018-03-07 14:01:51 +01:00
Roman
8f71633516
sitl configs: updated VT_TRANS_THR parameter name change
...
Signed-off-by: Roman <bapstroman@gmail.com>
2018-03-07 14:01:51 +01:00
Daniel Agar
38f5f60a1e
pwm_out_sim cleanup
...
- move to ModuleBase
- strip down to PWM 8 and 16 modes only
- remove all dead code
- implement missing pwm ioctls (current value, rates, etc)
- default rate 50Hz -> 400Hz
2018-03-04 14:12:15 -05:00
Roman
159834ce1b
posix-configs: set tiltrotor transition parameters
...
Signed-off-by: Roman <bapstroman@gmail.com>
2018-02-22 15:10:22 -05:00
Roman
2886fe8da3
posix-configs: added sitl startup script for gazebo quad tiltrotor model
...
Signed-off-by: Roman <bapstroman@gmail.com>
2018-02-22 15:10:22 -05:00
Roman
8ec1fb9999
ROMFS: added mixer for tailsitter simulation
...
- simulated tailsitter needs a virtual elevator since we cannot simulate
elevons yet (liftDrag plugin does not model longitudinal moment Cm)
Signed-off-by: Roman <bapstroman@gmail.com>
2018-02-13 20:47:40 -05:00
ChristophTobler
305859f356
disable power module ( #8804 )
...
- currently doesn't work on all boards...
2018-02-02 12:00:39 -05:00
ChristophTobler
cf79be1559
sitl ekf2 config: add vision position estimate
2018-01-28 21:07:48 +01:00
Beat Küng
a329fd4c76
SITL configs: set SDLOG_DIRS_MAX to 7
...
Avoids ending up with huge log directories.
plus some param alphabetic reordering
2018-01-17 02:19:01 -05:00
Julien Lecoeur
0e65753568
Iris: set mixer to quad_wide
...
The geometry was previously quad_deadcat in which front motors are closer to CG and thus more loaded in hover.
quad_wide is the same geometry as quad_deadcat except the CG is centered so all motors are loaded equally.
Flight logs on IRIS with deadcat mixer showed that
- all motors are equally loaded during hover (actuator_outputs 0 to 3 have similar values)
- a negative pitch offset is building up soon after takeoff (visible in actuator_controls)
2018-01-16 16:09:15 +01:00
ChristophTobler
18b83f2960
eagle posix-config: add sleep after muorb
...
without this param set doesn't work -> adsp side never receives changes
2018-01-15 14:21:27 +01:00
Beat Küng
1d59d89282
posix-config iris_replay: log until SITL exits
...
If a log with multiple (dis)arming events was replayed, multiple logs were
created. This changes the replay to only create a single log.
2018-01-15 10:27:56 +01:00
Nicolas de Palezieux
f600cfbb9f
Add support for testing precision landing in SITL simulation
2018-01-15 10:27:23 +01:00
ChristophTobler
856a523d29
add snapdragon power module (ltc2946) to eagle flight
2018-01-14 12:56:49 +01:00
davidaroyer
2fab183731
posix-configs: use linux_sbus on ocpoc
2017-10-30 20:53:28 +01:00
Julian Oes
07ae1e4044
posix-configs: attitude quaternion for DroneCore
...
DroneCore uses the attitude quaternion, and not the attitude
Euler angles.
2017-10-13 18:11:33 +02:00
Julian Oes
2837870733
posix-configs: send gimbal attitude to mavros port
...
The gimbal attitude is required by DroneCore.
2017-10-13 18:11:33 +02:00
Julian Oes
1e91b8cd32
posix-configs: send gimbal attitude over mavlink
2017-10-13 18:11:33 +02:00
Dave Royer
d1500dca6f
df_hmc5883_wrapper: set mag device path from input argument ( #8079 )
2017-10-11 10:27:25 -04:00
Daniel Agar
af9690cf08
add simple posix tests to SITL
2017-09-28 16:50:47 +01:00
Beat Küng
ebd2acfc43
posix-configs: enable ftp for all mavlink instances
2017-09-21 07:33:09 +02:00
Daniel Agar
3498fe0c6f
delete sdlog2 EKF2 replay ( #7982 )
2017-09-19 10:20:41 -04:00
NRottmann
5352cffe3f
Changing Names
2017-09-13 06:20:05 -07:00
NRottmann
e1eceda5f2
Change start up script
...
Now the start up script starts a GPS simulator as well as the ekf in order
to estimate position and orientation
2017-09-13 06:20:05 -07:00
NRottmann
af58ccf173
Adding launch file to lpe folder
2017-09-13 06:20:05 -07:00
NRottmann
989b1484cc
HippoCampus AUV: Enable start without ROS wrappers
2017-09-13 06:20:05 -07:00
James Goppert
4ce803b321
Update LPE init script.
2017-09-11 21:40:42 +01:00
Larry Wang
0ae76aff32
updated to use rc driver from PX4, instead of from FC addons ( #7798 )
...
* updated to use rc driver from PX4, instead of from FC addons
* fixed format
* update per comments
* fix format
* fix format
* remove duplicated __PX4_QURT
2017-09-08 07:09:53 +02:00
Daniel Agar
07619cf723
Make NuttX drivers cross platform (VDev -> CDev)
2017-08-31 09:27:36 +02:00
NRottmann
0f8f5d29be
Enable Simulation of the Hippocampus (AUV from TUHH)
...
Adding files which enable a simulation with the autonomous underwater
vehicle (AUV) from the Technical University Hamburg-Harburg
2017-08-20 20:59:15 +02:00
Sander Smeets
c81dd46b02
land detector VTOL inherit MC maybe_landed ( #7738 )
...
* maybe_landed state for VTOL inherited from MC
* set correct land detector for SITL
2017-08-06 10:02:56 -04:00
stmoon
556eb9e45a
fix the bug for posix_sitl_inav
2017-07-29 11:01:21 +02:00
sanderux
7612b94c72
Allow relaying from same system ID or with target component 0
2017-07-27 10:15:53 +02:00
Lorenz Meier
8bc0a8aece
Geotagging config: Default vehicle to MAVLink 2
2017-07-18 23:05:43 +02:00
Lorenz Meier
b1a987f06b
Enable camera triggering and gimbal control via MAVLink
2017-07-18 23:05:43 +02:00
Beat Küng
a63699060d
ekf2: use ModuleBase & add module documentation
2017-07-14 11:57:11 +02:00
Beat Küng
bf11362dae
i2c_posix: fix use of wrong device path
...
previously, get_devname() was used as the I2C device path, but on NuttX,
get_devname() is the device file which the driver creates. This patch
changes it, so the sematics are the same as on NuttX: both now use _bus
to decide to which I2C bus device to talk to.
I did not see any other use-cases than the led on ocpoc.
2017-07-13 16:53:28 +02:00
Beat Küng
fc4affbb5f
ocpoc_mmap_pwm_out: remove this driver, it's in linux_pwm_out now
2017-07-13 16:53:28 +02:00
Beat Küng
8527c8276f
drivers: rename rpi_pwm_out to linux_pwm_out
2017-07-13 16:53:28 +02:00
Beat Küng
d3f76262da
RPI px4_no_shield.config: add documentation for connected HW
2017-07-13 16:53:28 +02:00
Beat Küng
243ae00e4e
rpi_pca9685_pwm_out: remove this driver, it's now in rpi_pwm_out
2017-07-13 16:53:28 +02:00
Beat Küng
723f67b39a
refactor navio_sysfs_pwm_out: rename to rpi_pwm_out
2017-07-13 16:53:28 +02:00
crossa
0340f96ad0
Rename px4_rpi.config to px4_no_shield.config
2017-07-13 16:53:28 +02:00
crossa
6a9aa60ad7
Add rpi_pca9685_pwm_out command
2017-07-13 16:53:28 +02:00
crossa
78b853431d
change gps command
2017-07-13 16:53:28 +02:00
crossa
6ee6165592
PX4 RASPBERRY PI CONFIG
2017-07-13 16:53:28 +02:00
ChristophTobler
add78a4b04
stream distance sensor at 10Hz for SITL-EKF testing
2017-07-11 13:59:12 +02:00
Daniel Agar
7a9e31f440
delete unused MPC_XY_FF and MPC_Z_FF ( #7563 )
2017-07-08 20:57:10 -04:00
Rogelio
9d9da229cc
Add GPS command to all eagle configs
2017-07-08 20:28:30 +02:00
Lorenz Meier
72e452ba32
Add missing Iris config
2017-07-06 07:42:06 +02:00
Lorenz Meier
a6ef6c6e33
SITL Launcher: gzserver must be running when gzclient connects
2017-06-27 11:59:29 +02:00
Daniel Agar
a04d7989b1
eagle and excelsior fix UART_ESC_BAUD param
2017-06-12 12:18:53 -04:00
Daniel Agar
829e88587b
SITL unit tests don't run perf ( #7367 )
2017-06-06 17:28:30 -04:00
Marco Zorzi
aef522553e
unmanned ground vehicle (UGV) controllers and Traxxas Stampede configuration ( #7175 )
2017-06-06 13:26:51 -04:00
davidaroyer
59057184ce
posix-configs: update ocpoc config file
2017-06-04 04:24:50 +08:00
davidaroyer
0e6db671da
posix-configs: add support for Aerotenna OcPoC-Zynq hardware
2017-06-04 04:24:50 +08:00
Daniel Agar
24b26e53b9
cmake organize code coverage handling and base
2017-06-02 19:35:18 -04:00
Nicolae Rosia
5467beed93
posix-configs rpi: add default values for Navio2 Power Module
...
Signed-off-by: Nicolae Rosia <nicolae.rosia@gmail.com>
2017-05-14 17:51:02 +02:00
Nicolae Rosia
32498009a3
navio_adc: add driver for Navio2 ADC
...
Signed-off-by: Nicolae Rosia <nicolae.rosia@gmail.com>
2017-05-14 17:51:02 +02:00
Mohamed Abdelkader Zahana
cd1e04d43c
support of multi uav simulation in SITL
2017-05-14 15:46:18 +02:00
Beat Küng
061bff14c8
rpi startup configs: set logger buffer size to 200
...
Avoid dropouts, we have enough RAM there.
2017-04-24 10:12:23 +02:00
Daniel Agar
ea2a611f0b
posix-configs replace sdlog2 with logger
2017-04-24 10:12:23 +02:00
jwilson
57fa031e2b
Fixes problem preventing params on snapdragon platforms from being saved to flash memory.
2017-04-20 09:06:13 +02:00
James Goppert
955749ed6f
Add iris_rplidar model ( #6558 )
...
* Whitespace cleanup and add config for rplidar.
* Add rplidar target.
* Disable gps for rplidar.
2017-04-10 03:06:21 -04:00
ChristophTobler
7aea4a33c0
use new logger for all eagle configs
2017-04-06 08:45:45 +02:00
ChristophTobler
3d1a10d4f2
Use new logger for Snapdragon Flight
2017-04-05 13:49:02 +02:00
Lorenz Meier
5f135acf33
Land detector: Add mode for rovers
2017-04-02 21:52:18 +02:00
Lorenz Meier
bbd1906dfb
Add Rover SITL config
2017-04-02 21:52:18 +02:00
bharath374
6e64bff494
Updated PID gains in 200qx config file
2017-04-02 12:15:37 +02:00
ChristophTobler
80e7475267
use snapdragon_pwm_out and change connector for RC
2017-03-29 20:11:34 +02:00
Mohammed Kabir
679b59b8d4
lpe : default fusion flags for GPS-only use
2017-03-26 14:05:23 +02:00
Matthias Grob
bfb4de0e66
startup scripts/mc_pos_control: renamed parameters after refactor
2017-03-22 15:21:34 +01:00
ChristophTobler
d5137ed794
set EKF2_AID_MASK and EKF2_HGT_MODE because of iris_opt_flow
2017-03-16 09:18:54 +01:00
Beat Küng
df791cef94
RPi: make sure navio_rgbled works and add it to autostart
2017-03-12 00:08:35 +01:00
Beat Küng
4b1bbaa114
posix: remove rgbledsim driver which does nothing
...
In addition this is almost a copy of the rgbled driver
2017-03-12 00:08:35 +01:00
Beat Küng
644d237ce6
posix-configs scripts: remove unneeded 'sleep 1'
...
There is no need to wait, and it would be the wrong way of doing
startup synchronization.
2017-03-10 11:28:41 +01:00
Beat Küng
828bb983e8
rpi startup scripts: start dataman so that missions can be flown
2017-03-10 09:00:24 +01:00
Beat Küng
2a6eac578d
rpi: add HIL config
2017-03-10 09:00:24 +01:00
Beat Küng
3a737097ee
rpi px4.config: switch to ekf2
2017-03-10 09:00:24 +01:00
Daniel Agar
e63ee9d8bd
fw_att wheel controller enable param (default off)
2017-03-05 11:41:14 +08:00
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