Commit Graph

2168 Commits

Author SHA1 Message Date
Daniel Agar 2bb04f2261 commander: increase COM_ARM_MAG_ANG 35 -> 45 degrees
- in practice this is mostly useful for identifying incorrect rotations
which we mostly have in 45 degree increments
 - handling a vehicle on the ground can easily disturb one mag by more than 30 degrees, so this is often distracting noise
2020-08-21 10:12:13 -04:00
Daniel Agar 27f23ac290 move initial sensor priority to parameters and purge ORB_PRIORITY
- CAL_ACCx_EN -> CAL_ACCx_PRIO
 - CAL_GYROx_EN -> CAL_GYROx_PRIO
 - CAL_MAGx_EN -> CAL_MAGx_PRIO
2020-08-21 10:12:13 -04:00
Daniel Agar e9e9556130 ROMFS: remove leftover MC_TPA parameters 2020-08-17 17:07:21 -04:00
Daniel Agar 26bac78eaf mixers: Multirotor remove text roll, pitch, yaw scaling and idle speed 2020-08-17 16:37:08 -04:00
Katrin Moritz 258e5ca5c9 Rename of the DF Robot Rover Airframe 2020-08-10 09:46:36 -04:00
Daniel Leonard Robinson fa4818e467
vehicles: add new vehicle type: Airship (#14862)
Co-authored-by: Anton Erasmus <anton@flycloudline.com>
Co-authored-by: Beat Küng <beat-kueng@gmx.net>
2020-08-10 08:52:51 +02:00
SungTae Moon 9707ac5316
implement gazebo simulation based on RTPS for multiple UAVs (#15463)
- add t option for target
   - add iris_rtps model (PX4/sitl_gazebo#558)
2020-08-08 13:19:19 +02:00
Beat Küng 0f68121ae0 kopis 2 airframe: enable frsky telemetry 2020-08-06 00:08:23 -04:00
Beat Küng 4282b3dd47 TRIG_PINS: allow triggering on 78 while still using the lower 6 pins for pwm 2020-08-04 13:37:40 +02:00
Daniel Agar 9b12647ac4 px4io: delete broken test and unnecessary limit
- delete broken px4io test and if_test
 - delete px4io limit (a fixed 400 Hz limit was always set at boot)
2020-07-30 10:29:07 -04:00
Katrin a448e82798
Rover Airframe 50004_dfrobot_gpx_asurada: Changing of physical parameter
- the values of the parameters GND_MAX_ANG and GND_WHEEL_BASE are outdated. They belonged to another Rover setup.
 - in the mixer file rover_diff_and_servo.main.mix the steering was controlled by roll, but in PX4 rover steering is controlled by yaw. And this was the reason why the attitude control did not work correctly
 - the DF Robot GPX:Asurada rover has actual a steering angle of 60 degrees. And and wheel base of 0.17m. Parameter values in the airframe file are changed to this values
2020-07-28 21:34:12 -04:00
xdwgood f014d0de8e Correctly set the FW_ARSP_MODE parameter value 2020-07-22 10:43:46 -04:00
Matthias Grob 5c5005fa58 ROMFS: remove remaining RC_FLT_CUTOFF
The parameter was removed in #14896 and I forgot to remove it from
all the configurations.
2020-07-21 11:28:18 -04:00
Daniel Agar 730af406a6 ROMFS: remove unnecessary parameter zero padding 2020-07-21 08:11:22 +02:00
Matthias Grob ced91f135b posix rcS: remove various SITL custom settings
because we need to have SITL simulation as realistic as possible
compared to a real flight with default settings such that we
either fix the problems or adjust the defaults already in SITL testing.
2020-07-14 09:58:46 -04:00
Stone White 400c44b5ef Raname DJI Airframe name to Provent Large PWM_MIN for normal ESCs 2020-07-03 09:08:22 +02:00
Benjamin Perseghetti 3302a6965d Add EOL for 1062 2020-06-25 12:59:10 -04:00
Benjamin Perseghetti eee82635be added EOL to mixer, changed tf-r1 to 1062 and to use properly named sitl mixer 2020-06-25 12:59:10 -04:00
Benjamin Perseghetti 165fdaa6c8 removed 1061 name collision, made rover mixing explicit to sitl 2020-06-25 12:59:10 -04:00
Benjamin Perseghetti e19ca62a0a fixes for R1 mixer https://github.com/PX4/sitl_gazebo/issues/533 2020-06-25 12:59:10 -04:00
Daniel Agar 55808ed2f9
simulator: break out standalone battery simulator module
- this is a small step towards unifying SITL & HITL
2020-06-24 10:39:21 -04:00
Beat Küng 157ef43e28 replay: use lockstep scheduler 2020-06-23 11:53:55 -04:00
Beat Küng 71dcf8d619 sitl: use lockstep components API
- avoids the need for ekf2_timestamp publications by q and lpe
- adds logger to the lockstep cycle and makes it poll on ekf2_timestamps
  or vehicle_attitude. This avoids dropped samples (required for replay).
2020-06-23 11:53:55 -04:00
Daniel Agar b6292a1a2d posix rcS fix shellcheck SC2236 2020-06-20 20:42:09 -04:00
Lum f3e5a42ccd Remove mixer for virtual elevator and add pitch control mixer to elevons 2020-06-20 12:17:54 +01:00
Daniel Agar 6dad4a3359 SITL VTOL tiltrotor disable airspeed 2020-06-18 22:25:35 -04:00
TSC21 28c4446eae init.d-posix: if750a: add GPS blending 2020-06-16 09:57:05 +01:00
TSC21 6add0fff7f add iris_dual_gps config and the possibility of testing GPS blending through simulation 2020-06-16 09:57:05 +01:00
JaeyoungLim 58ca389634
Fix tiltrotor range to use normalized actuator inputs in SITL (#14751)
This adds fixes to use the normalized actuator setpoints for simulating tiltrotor in sitl
2020-06-15 08:51:26 +02:00
Daniel Agar 6f6efd60b7 boards: centralize optional external I2C sensor start
- configured with new parameter SENS_EXT_I2C_PRB
2020-06-10 09:04:13 -04:00
Daniel Agar a83e75ee10
ROMFS: microsd prevent MacOS and Ubuntu trash and indexing files 2020-06-08 16:57:28 -04:00
Daniel Agar 5507c15bdc boards: move rgbled_pwm startup to appropriate boards 2020-06-08 16:49:46 -04:00
Beat Küng 7f73b9a131 kopis2: update tuning and filter parameters 2020-06-04 20:58:40 -04:00
Beat Küng fa567e93d8 4050_generic_250: update default filter parameters
A racer should have have to use a filter of 30Hz.
2020-06-04 20:58:40 -04:00
Beat Küng 5ce006dd8b SYS_HITL: reserve value -1 for external HITL 2020-06-04 20:58:40 -04:00
Beat Küng 867453eada posix rcS: always set IMU_INTEG_RATE
If this is wrong, the startup just hangs.
2020-06-04 20:58:40 -04:00
Daniel Agar e34bdb4be9
move IMU integration out of drivers to sensors hub to handle accel/gyro sync
- IMU integration move from drivers (PX4Accelerometer/PX4Gyroscope) to sensors/vehicle_imu 
 - sensors: voted_sensors_update now consumes vehicle_imu
 - delete sensor_accel_integrated, sensor_gyro_integrated
 - merge sensor_accel_status/sensor_gyro_status into vehicle_imu_status
 - sensors status output minor improvements (ordering, whitespace, show selected sensor device id and instance)
2020-05-30 11:07:54 -04:00
Daniel Agar 05856c1029 ROMFS: holybro s500 decrease filter defaults 2020-05-27 12:25:51 -04:00
Matthias Grob d92e66863a mc_pos_control: migrate MPC_*_VEL_* parameter to acceleration scaling
Before #14212 the velocity control gains used in the multicopter
position controller were defined as a scale between velocity error in
one axis (or it's integral and derivative respectively) and the unit
thrust vector. The problem with this is that the normalization of the
unit thrust vector changes per vehicle or even vehicle configuration
as 0 and 100% thrust get a different physical response. That's why
the gains are now defined as scale between velocity error
(integral/derivative) and the output acceleration in m/s².
2020-05-26 14:44:41 +02:00
JaeyoungLim b5e23f544e Tune down solo attitude rate controller
This removes visible oscillations of the vehicle
2020-05-23 11:46:16 -04:00
斯东Stone c07b687753 Set Power Monitor to a Neutral Position for PX4 Vision
Reference manual in box, and Holybro's website.
2020-05-11 14:27:03 -04:00
Daniel Agar 04113b4d57 commander: changes when USB connected
- skip avionics rail voltage check when USB connected
 - skip forced reboot on USB disconnect if circuit breaker set
 - avionics voltage preflight check don't silently fail if system_power unavailble
     - explicitly set supply check circuit breaker (CBRK_SUPPLY_CHK)
2020-05-06 13:53:54 -04:00
Daniel Agar ca998c1822
IMU: parameterize IMU integration time (IMU_INTEG_RATE)
- default integration rate now 200 Hz (5000 us interval)
 - set update rate for all drivers and simulators using PX4Accelerometer/PX4Gyroscope
2020-05-05 20:34:09 -04:00
JaeyoungLim b10cbd2892 Fix shibang of r1_rover airframe config
The shibang was missing in the previous commit where this file was added
2020-05-05 10:01:26 -04:00
kritz 33dc0fd146
Add vision velocity integration test (#14818) 2020-05-05 11:14:30 +02:00
JaeyoungLim cae28cd59a
Add aion robotics r1 rover sitl target (#14652)
This adds a sitl target and aiframe configs for the r1_rover, which is a differential rover example for SITL rover. The model is based on the aion robotics r1 rover
2020-05-05 11:07:02 +02:00
JaeyoungLim cd59f95565 Add additional flap channel in mixer
Since sitl gazebo is unable to control to joints from a single channel, an additional mixer is defined
2020-05-01 21:01:33 -04:00
baumanta 545b8118a8 change solo mag rotation to new convention 2020-05-01 21:00:55 -04:00
Jakub Kákona dfa5ca1710
FlightGear simulator support (#14539)
- Add flightgear_bridge submodule.
- Add traget px4_sitl_nolockstep with disabled  LOCKSTEP simulation.
- Add flightgear viewer targets and startup scripts
- Add a few possible vehicles plane (rascal), autogyro (tf-g1), and rover (tf-r1))

Co-authored-by: Vit Hanousek <vithanousek@seznam.cz>
2020-04-29 08:46:59 +02:00
Hamish Willee 8236b8da81 Fix up doc links to point to master branch 2020-04-21 08:58:40 +02:00